Extend autotools build to create shared library libopenocd with libtool:
[fw/openocd] / src / flash / Makefile.am
1 AM_CPPFLAGS = \
2         -I$(top_srcdir)/src/helper \
3         -I$(top_srcdir)/src/jtag \
4         -I$(top_srcdir)/src/target
5
6 METASOURCES = AUTO
7 noinst_LTLIBRARIES = libflash.la
8 libflash_la_SOURCES = \
9         flash.c lpc2000.c cfi.c non_cfi.c at91sam7.c \
10         str7x.c str9x.c aduc702x.c nand.c nand_ecc.c \
11         lpc3180_nand_controller.c stellaris.c str9xpec.c stm32x.c tms470.c \
12         ecos.c orion_nand.c s3c24xx_nand.c s3c2410_nand.c s3c2412_nand.c \
13         s3c2440_nand.c s3c2443_nand.c lpc288x.c ocl.c mflash.c pic32mx.c avrf.c
14 noinst_HEADERS = \
15         flash.h lpc2000.h cfi.h non_cfi.h at91sam7.h str7x.h \
16         str9x.h nand.h lpc3180_nand_controller.h stellaris.h str9xpec.h \
17         stm32x.h tms470.h s3c24xx_nand.h s3c24xx_regs_nand.h lpc288x.h \
18         mflash.h ocl.h pic32mx.h avrf.h
19 MAINTAINERCLEANFILES = Makefile.in