You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.1 KiB
Makefile
50 lines
1.1 KiB
Makefile
## AUTOMAKE_OPTIONS = foreign
|
|
|
|
AM_CPPFLAGS = \
|
|
-DPACKAGE_LOCALE_DIR=\""$(localedir)"\" \
|
|
-DPACKAGE_SRC_DIR=\""$(srcdir)"\" \
|
|
-DPACKAGE_DATA_DIR=\""$(pkgdatadir)"\" \
|
|
-DCNFPATH=\""$(prefix)/etc"\" \
|
|
-I../include \
|
|
-I../lib
|
|
|
|
AM_CFLAGS = -Wall -g
|
|
|
|
if !BUILD_WIN32
|
|
LIBS += $(ZOFFICE_LIBS)
|
|
endif !BUILD_WIN32
|
|
|
|
libsntl = ../lib/.libs/libsntl.la
|
|
|
|
|
|
|
|
if !BUILD_WIN32
|
|
|
|
bin_PROGRAMS = sntlc sntld gentest
|
|
|
|
sntld_SOURCES = sntld.c
|
|
sntld_LDADD = $(LIBTDATA_LIBS) $(LIBSEXPR_LIBS) $(OPENSSL_LIBS) \
|
|
$(LIBUUID_LIBS) $(libsntl)
|
|
|
|
sntlc_SOURCES = sntlc.c
|
|
sntlc_LDADD = $(LIBTDATA_LIBS) $(LIBSEXPR_LIBS) $(OPENSSL_LIBS) \
|
|
$(LIBUUID_LIBS) $(libsntl)
|
|
|
|
gentest_SOURCES = gentest.c
|
|
gentest_LDADD = $(LIBTDATA_LIBS) $(LIBSEXPR_LIBS) $(OPENSSL_LIBS) \
|
|
$(LIBUUID_LIBS) $(libsntl)
|
|
|
|
else BUILD_WIN32
|
|
|
|
bin_PROGRAMS = sntlc
|
|
|
|
sntlc_SOURCES = sntlc.c
|
|
sntlc_LDADD = $(LIBTDATA_LIBS) $(LIBSEXPR_LIBS) $(OPENSSL_LIBS) \
|
|
$(LIBUUID_LIBS) $(libsntl) -lws2_32
|
|
|
|
endif BUILD_WIN32
|
|
|
|
#zsyncd_LDFLAGS = \
|
|
# -Wl,--export-dynamic
|
|
#zsyncd_LDADD = $(GMODULE_LIBS) $(GLIB_LIBS) $(GIO_LIBS) ../libs/libdata/.libs/libtdata.a ../libs/libsexpr/.libs/libsexpr.a
|