-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 \
at91sam7.h \
at91sam3.h \
avrf.h \
+ core.h \
cfi.h \
+ driver.h \
+ imp.h \
lpc2000.h \
lpc288x.h \
non_cfi.h \