eliminate src/flash/flash.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         nand.c \
16         mflash.c
17
18 libflash_la_LIBADD = \
19         $(top_builddir)/src/flash/nor/libocdflashnor.la \
20         $(top_builddir)/src/flash/nand/libocdflashnand.la
21
22 noinst_HEADERS = \
23         arm_nandio.h \
24         common.h \
25         flash.h \
26         mflash.h \
27         nand.h
28
29 EXTRA_DIST = startup.tcl
30
31 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in