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 = \
19 binarybuffer.c $(CONFIGFILES) configuration.c \
20 log.c command.c time_support.c tclapi.c \
21 replacements.c fileio.c startup_tcl.c
24 libhelper_a_SOURCES += ioutil.c
29 # FD_* macros are sloppy with their signs on MinGW32 platform
30 libhelper_a_CFLAGS += -Wno-sign-compare
33 noinst_HEADERS = binarybuffer.h configuration.h types.h log.h command.h \
34 time_support.h replacements.h fileio.h jim.h jim-eventloop.h \
35 startup.tcl bin2char.c
37 bin2char$(EXEEXT_FOR_BUILD): bin2char.c
38 ${CC_FOR_BUILD} ${CFLAGS_FOR_BUILD} $(srcdir)/bin2char.c -o $@
40 # Convert .tcl to cfile
41 startup_tcl.c: startup.tcl bin2char$(EXEEXT_FOR_BUILD)
42 ./bin2char$(EXEEXT_FOR_BUILD) startup_tcl < $(srcdir)/startup.tcl > $@
44 # add startup_tcl.c to make clean list
45 CLEANFILES = startup_tcl.c bin2char$(EXEEXT_FOR_BUILD)
47 MAINTAINERCLEANFILES = Makefile.in