1 AUTOMAKE_OPTIONS = foreign
4 pkgconfigdir = $(libdir)/pkgconfig
5 pkgconfig_DATA = libgcal.pc
6 libmandir = $(mandir)/man3
7 #libman_DATA = libfrob.3
8 lib_LTLIBRARIES = libgcal.la
9 include_HEADERS = $(headerdir)/internal_gcal.h \
10 $(headerdir)/gcal.h $(headerdir)/atom_parser.h \
11 $(headerdir)/xml_aux.h $(headerdir)/gcal_parser.h \
12 $(headerdir)/gcont.h $(headerdir)/gcal_status.h \
13 $(headerdir)/gcalendar.h $(headerdir)/gcontact.h
15 include_HEADERS += $(headerdir)/curl_debug_gcal.h
17 libgcal_la_SOURCES = $(csourcedir)/msvc_hacks.h \
18 $(csourcedir)/gcal.c $(csourcedir)/atom_parser.c \
19 $(csourcedir)/xml_aux.c $(csourcedir)/gcal_parser.c \
20 $(csourcedir)/gcont.c $(csourcedir)/gcal_status.c \
21 $(csourcedir)/gcalendar.c $(csourcedir)/gcontact.c
23 libgcal_la_SOURCES += $(csourcedir)/curl_debug_gcal.c
25 libgcal_la_CPPFLAGS = -I$(headerdir)
26 libgcal_la_CFLAGS = $(AM_CFLAGS) $(LIBCURL_CFLAGS) $(LIBXML_CFLAGS)
27 libgcal_la_LIBADD = $(LIBCURL_LIBS) $(LIBXML_LIBS)
34 noinst_PROGRAMS = utest
35 utest_SOURCES = $(utestdir)/utils.h $(utestdir)/utils.c \
36 $(utestdir)/utest_gcal.h $(utestdir)/utest_gcal.c \
37 $(utestdir)/utest_xpath.h $(utestdir)/utest_xpath.c \
38 $(utestdir)/utest_edit.h $(utestdir)/utest_edit.c \
39 $(utestdir)/utest_contact.h $(utestdir)/utest_contact.c \
40 $(utestdir)/utest_debug.h $(utestdir)/utest_debug.c \
41 $(utestdir)/utest_query.h $(utestdir)/utest_query.c \
42 $(utestdir)/utest_userapi.h $(utestdir)/utest_userapi.c \
43 $(utestdir)/utest_xmlmode.h $(utestdir)/utest_xmlmode.c \
44 $(utestdir)/utest_screw.h $(utestdir)/utest_screw.c \
47 utest_CPPFLAGS = $(CHECK_FLAGS) $(AM_CPPFLAGS) -I$(csourcedir) -I$(headerdir) \
49 utest_LDADD = $(CHECK_LIBS) $(LDADD) $(lib_LTLIBRARIES)
53 EXTRA_DIST = $(srcdir)/m4/auxdevel.m4 \
54 $(srcdir)/m4/check.m4 \
55 $(srcdir)/m4/define_dirs.m4 \
56 $(srcdir)/mk/auxdevel.am \
57 $(srcdir)/mk/libtool-fix.am \
63 DISTCHECK_CONFIGURE_FLAGS = --enable-efence --enable-debug \
64 --enable-warnings --disable-check
66 # this variable is scanned by autoreconf and needs to be static (no expansion)
67 ACLOCAL_AMFLAGS = -I m4
69 include $(srcdir)/mk/auxdevel.am