2008-07-18 11:38:23 +00:00
|
|
|
INCLUDES = -I$(top_srcdir)/src $(all_includes) -I$(top_srcdir)/src/target
|
2008-02-28 10:07:54 +00:00
|
|
|
METASOURCES = AUTO
|
|
|
|
AM_CPPFLAGS = -DPKGDATADIR=\"$(pkgdatadir)\" -DPKGLIBDIR=\"$(pkglibdir)\" @CPPFLAGS@
|
|
|
|
noinst_LIBRARIES = libhelper.a
|
2008-03-11 21:32:03 +00:00
|
|
|
|
|
|
|
if ECOSBOARD
|
|
|
|
CONFIGFILES =
|
|
|
|
else
|
2008-07-17 17:34:53 +00:00
|
|
|
CONFIGFILES = options.c jim.c
|
2008-03-11 21:32:03 +00:00
|
|
|
endif
|
|
|
|
|
2008-07-11 12:17:56 +00:00
|
|
|
libhelper_a_SOURCES = binarybuffer.c $(CONFIGFILES) configuration.c log.c command.c time_support.c \
|
2008-07-18 11:38:23 +00:00
|
|
|
replacements.c fileio.c startup_tcl.c
|
2008-07-17 17:34:53 +00:00
|
|
|
|
2008-07-18 11:38:23 +00:00
|
|
|
noinst_HEADERS = binarybuffer.h configuration.h types.h log.h command.h \
|
|
|
|
time_support.h replacements.h fileio.h jim.h
|
2008-07-17 17:34:53 +00:00
|
|
|
|
|
|
|
|
|
|
|
# Convert .tcl to cfile
|
2008-07-21 13:23:59 +00:00
|
|
|
#
|
|
|
|
# Fix!!! how do we make this more automake friendly?
|
|
|
|
#
|
|
|
|
startup_tcl.c: startup.tcl
|
|
|
|
gcc -o bin2char $(srcdir)/bin2char.c
|
|
|
|
./bin2char startup_tcl < $(srcdir)/startup.tcl > $@
|
2008-07-17 17:34:53 +00:00
|
|
|
|
|
|
|
# add startup_tcl.c to make clean list
|
|
|
|
CLEANFILES = startup_tcl.c
|