- applied Time Zone parsing patches from Brian Edginton
[barry.git] / src / Makefile.am
blob3761cdc0890287c2760583656ad6b440816cce43
2 # The following version numbers are:  current:revision:age
4 # See also: http://sources.redhat.com/autobook/autobook/autobook_91.html
6 # Current - number of the current interface of the library
7 # Revision - implementation number of most recent interface
8 # Age - number of previous additional interfaces supported by this library
10 # Libtool uses the following calculation for Linux:
12 #    major = current - age
13 #    suffix = major.age.revision
15 # Therefore a libtool version of 1.4.0 will translate to a filename of:
16 #    libbarry.so.1.0.4
18 # Other operating systems just use current.revision, most of the time,
19 # and age is only used to subtract from current.
21 # Therefore, if you are careful never to increment the major version
22 # unless there is an incompatible break, you can get away with a
23 # two digit version number, and leave age as 0, always.
25 # Only ever increment the first 2 numbers in this version:
26 LIB_BARRY_VERSION = 0:12:0
28 # Disable the default -I. -I$(srcdir) -I$(topdir), etc, but $(top_builddir) is
29 # needed for config.h
30 DEFAULT_INCLUDES = -I$(top_builddir)
31 #INCLUDES = @PACKAGE_CXXFLAGS@ -I@LIBUSB_INC_PATH@
32 INCLUDES = $(LIBUSB_CFLAGS) $(OPENSSL_CFLAGS)
33 #AM_CXXFLAGS = -ansi -Wall -fno-strict-aliasing -g -D__DEBUG_MODE__
34 AM_CXXFLAGS = -ansi -Wall -fno-strict-aliasing -g
35 include_barrydir = ${includedir}/barry
38 ## Boost library usage - required for serialization support, but optional
40 #BOOSTFLAG = -D__BARRY_BOOST_MODE__ -I../../../../boost/rootdir/include/boost-1_33_1
41 #LDBOOST = ../../../../boost/rootdir/lib/libboost_serialization-gcc-mt-1_33_1.a
42 ##BOOSTFLAG =
43 ##LDBOOST =
45 # Heavy duty C++ warnings
46 #WARNFLAGS = -ansi -pedantic -Wall -W -Wold-style-cast -Wfloat-equal -Wwrite-strings -Wno-long-long
47 #WARNFLAGS = -ansi -pedantic -Wall -W -Weffc++ -Woverloaded-virtual -Wold-style-cast -Wfloat-equal -Wwrite-strings -Wno-long-long -Werror
49 #LDFLAGS = ../../external/rootdir/libusb/lib/libusb.a $(LDBOOST) -lpthread $(LDDEBUG)
51 lib_LTLIBRARIES = libbarry.la
53 include_barry_HEADERS = barry.h \
54         builder.h \
55         common.h \
56         controller.h \
57         controllertmpl.h \
58         data.h \
59         error.h \
60         ldif.h \
61         parser.h \
62         probe.h \
63         protocol.h \
64         record.h \
65         r_calendar.h \
66         r_contact.h \
67         r_folder.h \
68         r_memo.h \
69         r_message.h \
70         r_pin_message.h \
71         r_saved_message.h \
72         r_servicebook.h \
73         r_task.h \
74         r_timezone.h \
75         socket.h \
76         time.h \
77         usbwrap.h \
78         version.h \
79         s11n-boost.h
82 libbarry_la_SOURCES = time.cc \
83         base64.cc base64.h \
84         parser.cc \
85         data.cc \
86         usbwrap.cc \
87         probe.cc \
88         common.cc \
89         error.cc \
90         ldif.cc \
91         socket.cc \
92         protocol.cc \
93         record.cc \
94         r_calendar.cc \
95         r_contact.cc \
96         r_folder.cc \
97         r_memo.cc \
98         r_message.cc \
99         r_pin_message.cc \
100         r_saved_message.cc \
101         r_servicebook.cc \
102         r_task.cc \
103         r_timezone.cc \
104         packet.cc packet.h \
105         controller.cc \
106         version.cc \
107         protostructs.h \
108         debug.h \
109         endian.h
110 libbarry_la_LIBADD = $(LTLIBOBJS) $(LIBUSB_LIBS) $(OPENSSL_LIBS)
111 libbarry_la_LDFLAGS = -version-info ${LIB_BARRY_VERSION}
113 noinst_HEADERS = cbarry.h \
114         record-internal.h \
115         strnlen.h
117 EXTRA_DIST = convo.awk \
118         Doxyfile \
119         legal.txt \
120         Makefile.orig
122 ##if DO_TEST
123 ##      bin_PROGRAMS += test-base64 test-data test-time
125 ##      test_base64_SOURCES = base64.h base64.cc
126 ##      test_data_SOURCES = data.h data.cc
127 ##      test_time_SOURCES = time.h time.cc
128 ##endif