X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fflash%2FMakefile.am;h=a1b46f853bbdc5733756c7f050a8bf53d08f723f;hb=4440bf1fcddce3501781496e2d6a9d0f12cba08d;hp=9d983a8d9e10dd1f1afa6f57c8c94d10e8f9ebdd;hpb=eb1bc657ae10f9e21304e068ca17dc0231a9b9c0;p=openocd.git diff --git a/src/flash/Makefile.am b/src/flash/Makefile.am index 9d983a8d9e..a1b46f853b 100644 --- a/src/flash/Makefile.am +++ b/src/flash/Makefile.am @@ -1,25 +1,13 @@ -SUBDIRS = \ - nor \ - nand +noinst_LTLIBRARIES += %D%/libflash.la +%C%_libflash_la_SOURCES = \ + %D%/common.c %D%/common.h \ + %D%/mflash.c %D%/mflash.h -AM_CPPFLAGS = \ - -I$(top_srcdir)/src \ - -I$(top_builddir)/src +%C%_libflash_la_LIBADD = \ + %D%/nor/libocdflashnor.la \ + %D%/nand/libocdflashnand.la -METASOURCES = AUTO -noinst_LTLIBRARIES = libflash.la -libflash_la_SOURCES = \ - common.c \ - mflash.c +STARTUP_TCL_SRCS += %D%/startup.tcl -libflash_la_LIBADD = \ - $(top_builddir)/src/flash/nor/libocdflashnor.la \ - $(top_builddir)/src/flash/nand/libocdflashnand.la - -noinst_HEADERS = \ - common.h \ - mflash.h - -EXTRA_DIST = startup.tcl - -MAINTAINERCLEANFILES = $(srcdir)/Makefile.in +include %D%/nor/Makefile.am +include %D%/nand/Makefile.am