added skel for examples, inserting it to autotools;
parent
cdee55108b
commit
b355a4ca42
@ -0,0 +1,27 @@
|
|||||||
|
## AUTOMAKE_OPTIONS = foreign
|
||||||
|
|
||||||
|
AM_CPPFLAGS = \
|
||||||
|
-DPACKAGE_LOCALE_DIR=\""$(localedir)"\" \
|
||||||
|
-DPACKAGE_SRC_DIR=\""$(srcdir)"\" \
|
||||||
|
-DPACKAGE_DATA_DIR=\""$(pkgdatadir)"\" \
|
||||||
|
-DCNFPATH=\""$(prefix)/etc"\" \
|
||||||
|
-I../include
|
||||||
|
|
||||||
|
AM_CFLAGS = -Wall -g
|
||||||
|
|
||||||
|
#LIBS += $(ZOFFICE_LIBS)
|
||||||
|
|
||||||
|
libsntl = ../lib/.libs/libsntl.la
|
||||||
|
|
||||||
|
bin_PROGRAMS = sntld sntlc
|
||||||
|
|
||||||
|
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)
|
||||||
|
|
||||||
|
#zsyncd_LDFLAGS = \
|
||||||
|
# -Wl,--export-dynamic
|
||||||
|
#zsyncd_LDADD = $(GMODULE_LIBS) $(GLIB_LIBS) $(GIO_LIBS) ../libs/libdata/.libs/libtdata.a ../libs/libsexpr/.libs/libsexpr.a
|
@ -0,0 +1,6 @@
|
|||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
int main(int argc, char **argv)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
@ -0,0 +1,6 @@
|
|||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
int main(int argc, char **argv)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Reference in New Issue