X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fflash%2FMakefile.am;h=a1b46f853bbdc5733756c7f050a8bf53d08f723f;hb=eb8912ec38c0fd6867d2b5a88b40549f791ce7bb;hp=f8d7088386353ab63001a382a3e242804e2d75bf;hpb=da3bcb392e852214b0dda878f6161c8f1e8d15f3;p=openocd.git diff --git a/src/flash/Makefile.am b/src/flash/Makefile.am index f8d7088386..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 +%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 \ - nand.h - -EXTRA_DIST = startup.tcl - -MAINTAINERCLEANFILES = $(srcdir)/Makefile.in +include %D%/nor/Makefile.am +include %D%/nand/Makefile.am