move nand drivers to src/flash/nand/
[openocd.git] / src / flash / Makefile.am
1 SUBDIRS = \
2         nand
3
4 AM_CPPFLAGS = \
5         -I$(top_srcdir)/src/helper \
6         -I$(top_srcdir)/src/jtag \
7         -I$(top_srcdir)/src/target
8
9 METASOURCES = AUTO
10 noinst_LTLIBRARIES = libflash.la
11 libflash_la_SOURCES = \
12         $(FLASH_SRCS) \
13         $(NAND_SRCS) \
14         mflash.c
15
16 libflash_la_LIBADD = \
17         $(top_builddir)/src/flash/nand/libocdflashnand.la
18
19 FLASH_SRCS = \
20         common.c \
21         cfi.c \
22         non_cfi.c \
23         faux.c \
24         $(FLASH_DEVICES_SRCS) \
25         flash.c
26
27 FLASH_DEVICES_SRCS = \
28         aduc702x.c \
29         at91sam3.c \
30         at91sam7.c \
31         avrf.c \
32         ecos.c \
33         lpc2000.c \
34         lpc288x.c \
35         lpc2900.c \
36         ocl.c \
37         pic32mx.c \
38         stellaris.c \
39         stm32x.c \
40         str7x.c \
41         str9x.c \
42         str9xpec.c \
43         tms470.c
44
45 NAND_SRCS = \
46         arm_nandio.c \
47         nand_ecc.c \
48         nand_ecc_kw.c \
49         nand.c
50
51 noinst_HEADERS = \
52         arm_nandio.h \
53         at91sam7.h \
54         at91sam3.h \
55         avrf.h \
56         cfi.h \
57         common.h \
58         flash.h \
59         lpc2000.h \
60         lpc288x.h \
61         mflash.h \
62         non_cfi.h \
63         nand.h \
64         ocl.h \
65         pic32mx.h \
66         stellaris.h \
67         stm32x.h \
68         str7x.h \
69         str9x.h \
70         str9xpec.h \
71         tms470.h
72
73 EXTRA_DIST = startup.tcl
74
75 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in