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.
48 lines
1.4 KiB
Makefile
48 lines
1.4 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
|
|
|
|
# where to find libsxmp libraries
|
|
libsxmp = ../sexpr/.libs/libsexpr.la ../tdata/.libs/libtdata.la ../sxmp/.libs/libsxmp.la
|
|
|
|
if BUILD_SMPF_EXAMPLE
|
|
smpf_programs = smpfd smpfc
|
|
else
|
|
smpf_programs =
|
|
endif
|
|
|
|
bin_PROGRAMS = filelistd filelistc streamfld streamflc $(smpf_programs)
|
|
|
|
filelistd_SOURCES = helpers.c filelistd.c
|
|
filelistd_LDADD = $(LIBTDATA_LIBS) $(LIBSEXPR_LIBS) $(OPENSSL_LIBS) \
|
|
$(LIBUUID_LIBS) $(libsxmp) -lpthread
|
|
|
|
filelistc_SOURCES = filelistc.c
|
|
filelistc_LDADD = $(LIBTDATA_LIBS) $(LIBSEXPR_LIBS) $(OPENSSL_LIBS) \
|
|
$(LIBUUID_LIBS) $(libsxmp) -lpthread
|
|
|
|
streamfld_SOURCES = helpers.c streamfld.c
|
|
streamfld_LDADD = $(LIBTDATA_LIBS) $(LIBSEXPR_LIBS) $(OPENSSL_LIBS) \
|
|
$(LIBUUID_LIBS) $(libsxmp) -lpthread
|
|
|
|
streamflc_SOURCES = streamflc.c
|
|
streamflc_LDADD = $(LIBTDATA_LIBS) $(LIBSEXPR_LIBS) $(OPENSSL_LIBS) \
|
|
$(LIBUUID_LIBS) $(libsxmp) -lpthread
|
|
|
|
smpfd_SOURCES = helpers.c smpfd.c
|
|
smpfd_LDADD = $(LIBTDATA_LIBS) $(LIBSEXPR_LIBS) $(OPENSSL_LIBS) \
|
|
$(LIBUUID_LIBS) $(libsxmp) -lpthread
|
|
|
|
smpfc_SOURCES = misc.c smpfc.c
|
|
smpfc_LDADD = $(LIBTDATA_LIBS) $(LIBSEXPR_LIBS) $(OPENSSL_LIBS) \
|
|
$(LIBUUID_LIBS) $(libsxmp) -lpthread -lreadline
|
|
|