2 -I$(top_srcdir)/src/server \
3 -I$(top_srcdir)/src/target \
4 -DPKGDATADIR=\"$(pkgdatadir)\" \
5 -DPKGLIBDIR=\"$(pkglibdir)\"
8 noinst_LIBRARIES = libhelper.a
13 CONFIGFILES = options.c jim.c jim-eventloop.c
18 libhelper_a_SOURCES = binarybuffer.c $(CONFIGFILES) configuration.c log.c command.c time_support.c \
19 replacements.c fileio.c startup_tcl.c
22 libhelper_a_SOURCES += ioutil.c
27 # FD_* macros are sloppy with their signs on MinGW32 platform
28 libhelper_a_CFLAGS += -Wno-sign-compare
31 noinst_HEADERS = binarybuffer.h configuration.h types.h log.h command.h \
32 time_support.h replacements.h fileio.h jim.h jim-eventloop.h \
33 startup.tcl bin2char.c
35 bin2char$(EXEEXT_FOR_BUILD): bin2char.c
36 ${CC_FOR_BUILD} ${CFLAGS_FOR_BUILD} $(srcdir)/bin2char.c -o $@
38 # Convert .tcl to cfile
39 startup_tcl.c: startup.tcl bin2char$(EXEEXT_FOR_BUILD)
40 ./bin2char$(EXEEXT_FOR_BUILD) startup_tcl < $(srcdir)/startup.tcl > $@
42 # add startup_tcl.c to make clean list
43 CLEANFILES = startup_tcl.c bin2char$(EXEEXT_FOR_BUILD)
45 MAINTAINERCLEANFILES = Makefile.in