split nand.c into nand/{core,fileio,tcl}.c
[openocd.git] / src / flash / Makefile.am
1 SUBDIRS = \
2         nor \
3         nand
4
5 AM_CPPFLAGS = \
6         -I$(top_srcdir)/src
7
8 METASOURCES = AUTO
9 noinst_LTLIBRARIES = libflash.la
10 libflash_la_SOURCES = \
11         common.c \
12         arm_nandio.c \
13         nand_ecc.c \
14         nand_ecc_kw.c \
15         mflash.c
16
17 libflash_la_LIBADD = \
18         $(top_builddir)/src/flash/nor/libocdflashnor.la \
19         $(top_builddir)/src/flash/nand/libocdflashnand.la
20
21 noinst_HEADERS = \
22         arm_nandio.h \
23         common.h \
24         mflash.h \
25         nand.h
26
27 EXTRA_DIST = startup.tcl
28
29 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in