2009-05-02 22:35:02 +00:00
|
|
|
AM_CPPFLAGS = \
|
|
|
|
-I$(top_srcdir)/src/server \
|
|
|
|
-I$(top_srcdir)/src/target \
|
2009-05-27 07:49:58 +00:00
|
|
|
-DPKGDATADIR=\"$(pkgdatadir)\"
|
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-09-21 18:40:55 +00:00
|
|
|
CONFIGFILES =
|
2008-03-11 21:32:03 +00:00
|
|
|
else
|
2009-09-21 18:40:55 +00:00
|
|
|
CONFIGFILES = options.c jim.c jim-eventloop.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 \
|
|
|
|
fileio.c \
|
2009-11-17 16:30:51 +00:00
|
|
|
membuf.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
|
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 \
|
|
|
|
types.h \
|
|
|
|
log.h \
|
|
|
|
command.h \
|
2009-06-24 01:54:25 +00:00
|
|
|
membuf.h \
|
2009-05-31 12:10:57 +00:00
|
|
|
time_support.h \
|
|
|
|
replacements.h \
|
|
|
|
fileio.h \
|
|
|
|
jim.h \
|
|
|
|
jim-eventloop.h \
|
|
|
|
system.h \
|
|
|
|
bin2char.c
|
2008-07-17 17:34:53 +00:00
|
|
|
|
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
|