2010-11-12 11:41:55 +00:00
|
|
|
include $(top_srcdir)/common.mk
|
2009-05-02 22:35:02 +00:00
|
|
|
|
2008-02-28 10:07:54 +00:00
|
|
|
METASOURCES = AUTO
|
2009-05-10 22:03:57 +00:00
|
|
|
noinst_LTLIBRARIES = libhelper.la
|
2008-03-11 21:32:03 +00:00
|
|
|
|
|
|
|
if ECOSBOARD
|
2009-12-15 13:57:38 +00:00
|
|
|
CONFIGFILES = time_support_ecos.c
|
2008-03-11 21:32:03 +00:00
|
|
|
else
|
2010-10-10 17:17:03 +00:00
|
|
|
CONFIGFILES = options.c time_support_common.c
|
2008-03-11 21:32:03 +00:00
|
|
|
endif
|
|
|
|
|
2008-12-15 11:32:22 +00:00
|
|
|
|
|
|
|
|
2009-05-10 22:03:57 +00:00
|
|
|
libhelper_la_SOURCES = \
|
2009-05-31 12:10:57 +00:00
|
|
|
binarybuffer.c \
|
|
|
|
$(CONFIGFILES) \
|
|
|
|
configuration.c \
|
|
|
|
log.c \
|
|
|
|
command.c \
|
|
|
|
time_support.c \
|
|
|
|
replacements.c \
|
2010-08-01 07:35:58 +00:00
|
|
|
fileio.c \
|
2011-09-29 06:12:41 +00:00
|
|
|
util.c \
|
|
|
|
jim-nvp.c
|
2008-07-17 17:34:53 +00:00
|
|
|
|
2008-12-15 11:32:22 +00:00
|
|
|
if IOUTIL
|
2009-05-10 22:03:57 +00:00
|
|
|
libhelper_la_SOURCES += ioutil.c
|
2009-12-02 03:52:00 +00:00
|
|
|
else
|
|
|
|
libhelper_la_SOURCES += ioutil_stubs.c
|
2008-12-15 11:32:22 +00:00
|
|
|
endif
|
|
|
|
|
2009-05-10 22:03:57 +00:00
|
|
|
libhelper_la_CFLAGS =
|
2009-04-21 09:02:42 +00:00
|
|
|
if IS_MINGW
|
|
|
|
# FD_* macros are sloppy with their signs on MinGW32 platform
|
2009-05-10 22:03:57 +00:00
|
|
|
libhelper_la_CFLAGS += -Wno-sign-compare
|
2009-04-21 09:02:42 +00:00
|
|
|
endif
|
2008-12-15 11:32:22 +00:00
|
|
|
|
2009-05-31 12:10:57 +00:00
|
|
|
noinst_HEADERS = \
|
|
|
|
binarybuffer.h \
|
|
|
|
configuration.h \
|
2009-12-02 03:52:00 +00:00
|
|
|
ioutil.h \
|
2010-08-01 07:35:58 +00:00
|
|
|
util.h \
|
2009-05-31 12:10:57 +00:00
|
|
|
types.h \
|
|
|
|
log.h \
|
|
|
|
command.h \
|
|
|
|
time_support.h \
|
|
|
|
replacements.h \
|
|
|
|
fileio.h \
|
|
|
|
system.h \
|
2011-09-29 06:12:41 +00:00
|
|
|
bin2char.c \
|
|
|
|
jim-nvp.h
|
2008-07-17 17:34:53 +00:00
|
|
|
|
2009-11-17 16:29:20 +00:00
|
|
|
EXTRA_DIST = startup.tcl
|
|
|
|
|
2009-10-16 20:52:40 +00:00
|
|
|
BIN2C = bin2char$(EXEEXT_FOR_BUILD)
|
|
|
|
|
|
|
|
BUILT_SOURCES = $(BIN2C)
|
|
|
|
|
|
|
|
$(BIN2C): bin2char.c
|
2008-07-22 11:06:09 +00:00
|
|
|
${CC_FOR_BUILD} ${CFLAGS_FOR_BUILD} $(srcdir)/bin2char.c -o $@
|
2008-07-17 17:34:53 +00:00
|
|
|
|
2009-11-17 16:30:51 +00:00
|
|
|
CLEANFILES = bin2char$(EXEEXT_FOR_BUILD)
|
2009-01-20 03:55:38 +00:00
|
|
|
|
2009-06-09 10:28:16 +00:00
|
|
|
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|