]> git.sur5r.net Git - openocd/blobdiff - src/flash/nor/Makefile.am
build: add build/src to include path
[openocd] / src / flash / nor / Makefile.am
index 211366b812d3a44f744701a457af9ad4cd2b8473..5d0a4dfcb1a25789e274657244ae9a07b054f420 100644 (file)
@@ -1,7 +1,15 @@
-AM_CPPFLAGS = -I$(top_srcdir)/src
+AM_CPPFLAGS = \
+       -I$(top_srcdir)/src \
+       -I$(top_builddir)/src
 
 noinst_LTLIBRARIES = libocdflashnor.la
 libocdflashnor_la_SOURCES = \
+       core.c \
+       tcl.c \
+       $(NOR_DRIVERS) \
+       drivers.c
+
+NOR_DRIVERS = \
        aduc702x.c \
        at91sam3.c \
        at91sam7.c \
@@ -26,7 +34,10 @@ noinst_HEADERS = \
        at91sam7.h \
        at91sam3.h \
        avrf.h \
+       core.h \
        cfi.h \
+       driver.h \
+       imp.h \
        lpc2000.h \
        lpc288x.h \
        non_cfi.h \