allow #include directives to use module name
[openocd.git] / src / flash / Makefile.am
1 SUBDIRS = \
2         nor \
3         nand
4
5 AM_CPPFLAGS = \
6         -I$(top_srcdir)/src \
7         -I$(top_srcdir)/src/helper \
8         -I$(top_srcdir)/src/jtag \
9         -I$(top_srcdir)/src/target
10
11 METASOURCES = AUTO
12 noinst_LTLIBRARIES = libflash.la
13 libflash_la_SOURCES = \
14         common.c \
15         flash.c \
16         arm_nandio.c \
17         nand_ecc.c \
18         nand_ecc_kw.c \
19         nand.c \
20         mflash.c
21
22 libflash_la_LIBADD = \
23         $(top_builddir)/src/flash/nor/libocdflashnor.la \
24         $(top_builddir)/src/flash/nand/libocdflashnand.la
25
26 noinst_HEADERS = \
27         arm_nandio.h \
28         common.h \
29         flash.h \
30         mflash.h \
31         nand.h
32
33 EXTRA_DIST = startup.tcl
34
35 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in