Make NetBSD a recognized system
[fw/openocd] / src / flash / nand / Makefile.am
index e95717e2b80f274b964c7459170ddbeee4feee60..2ddd096ae98722fee9d846df3cc4b920558f9d9e 100644 (file)
@@ -1,27 +1,46 @@
-AM_CPPFLAGS = \
-       -I$(top_srcdir)/src/flash \
-       -I$(top_srcdir)/src/helper \
-       -I$(top_srcdir)/src/jtag \
-       -I$(top_srcdir)/src/target
+include $(top_srcdir)/common.mk
 
 noinst_LTLIBRARIES = libocdflashnand.la
 
 libocdflashnand_la_SOURCES = \
+       ecc.c \
+       ecc_kw.c \
+       core.c \
+       fileio.c \
+       tcl.c \
+       arm_io.c \
+       $(NAND_DRIVERS) \
+       driver.c
+
+NAND_DRIVERS = \
        nonce.c \
        davinci.c \
        lpc3180.c \
+       lpc32xx.c \
+       mxc.c \
        mx3.c \
        orion.c \
        s3c24xx.c \
        s3c2410.c \
        s3c2412.c \
        s3c2440.c \
-       s3c2443.c
+       s3c2443.c \
+       s3c6400.c \
+       at91sam9.c \
+       nuc910.c
 
 noinst_HEADERS = \
+       arm_io.h \
+       core.h \
+       driver.h \
+       fileio.h \
+       imp.h \
        lpc3180.h \
+       lpc32xx.h \
+       mxc.h \
        mx3.h \
        s3c24xx.h \
-       s3c24xx_regs.h
+       s3c24xx_regs.h \
+       nuc910.h
 
 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in