Reduced minimum password retry level from 6 to 3
[barry/pauldeden.git] / src / Makefile.am
blob477cf7412fbf1aeee8cb30e6925766d3f863a21a
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:13: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 INCLUDES = $(LIBUSB_CFLAGS)
34 #AM_CXXFLAGS = -ansi -Wall -fno-strict-aliasing -g -D__DEBUG_MODE__
35 AM_CFLAGS = -Wall -fno-strict-aliasing -g
36 AM_CXXFLAGS = -ansi -Wall -fno-strict-aliasing -g
37 AM_LDFLAGS =
38 if WITH_GCCVISIBILITY
39 AM_CFLAGS += -D__BARRY_HAVE_GCCVISIBILITY__ -fvisibility=hidden
40 #AM_CXXFLAGS += -D__BARRY_HAVE_GCCVISIBILITY__ -fvisibility=hidden -fvisibility-inlines-hidden
41 AM_CXXFLAGS += -D__BARRY_HAVE_GCCVISIBILITY__ -fvisibility=hidden
42 #AM_LDFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden
43 AM_LDFLAGS += -fvisibility=hidden
44 endif
45 include_barrydir = ${includedir}/barry
48 ## Boost library usage - required for serialization support, but optional
50 #BOOSTFLAG = -D__BARRY_BOOST_MODE__ -I../../../../boost/rootdir/include/boost-1_33_1
51 #LDBOOST = ../../../../boost/rootdir/lib/libboost_serialization-gcc-mt-1_33_1.a
52 ##BOOSTFLAG =
53 ##LDBOOST =
55 # Heavy duty C++ warnings
56 #WARNFLAGS = -ansi -pedantic -Wall -W -Wold-style-cast -Wfloat-equal -Wwrite-strings -Wno-long-long
57 #WARNFLAGS = -ansi -pedantic -Wall -W -Weffc++ -Woverloaded-virtual -Wold-style-cast -Wfloat-equal -Wwrite-strings -Wno-long-long -Werror
59 #LDFLAGS = ../../external/rootdir/libusb/lib/libusb.a $(LDBOOST) -lpthread $(LDDEBUG)
61 lib_LTLIBRARIES = libbarry.la
63 include_barry_HEADERS = barry.h \
64         dll.h \
65         builder.h \
66         common.h \
67         controller.h \
68         m_desktop.h \
69         m_desktoptmpl.h \
70         m_ipmodem.h \
71         m_serial.h \
72         data.h \
73         error.h \
74         ldif.h \
75         log.h \
76         parser.h \
77         probe.h \
78         protocol.h \
79         record.h \
80         modem.h \
81         r_calendar.h \
82         r_contact.h \
83         r_folder.h \
84         r_memo.h \
85         r_message.h \
86         r_pin_message.h \
87         r_saved_message.h \
88         r_servicebook.h \
89         r_task.h \
90         r_timezone.h \
91         dataqueue.h \
92         router.h \
93         socket.h \
94         time.h \
95         usbwrap.h \
96         version.h \
97         pppfilter.h \
98         sha1.h \
99         s11n-boost.h
102 libbarry_la_SOURCES = time.cc \
103         base64.cc base64.h \
104         parser.cc \
105         data.cc \
106         usbwrap.cc \
107         probe.cc \
108         common.cc \
109         error.cc \
110         ldif.cc \
111         log.cc \
112         socket.cc \
113         router.cc \
114         dataqueue.cc \
115         protocol.cc \
116         record.cc \
117         r_calendar.cc \
118         r_contact.cc \
119         r_folder.cc \
120         r_memo.cc \
121         r_message.cc \
122         r_pin_message.cc \
123         r_saved_message.cc \
124         r_servicebook.cc \
125         r_task.cc \
126         r_timezone.cc \
127         packet.cc packet.h \
128         controller.cc \
129         m_desktop.cc \
130         m_ipmodem.cc \
131         m_serial.cc \
132         version.cc \
133         pppfilter.cc \
134         sha1.cc \
135         scoped_lock.h \
136         protostructs.h \
137         debug.h \
138         endian.h
139 #libbarry_la_LIBADD = $(LTLIBOBJS) $(LIBUSB_LIBS) $(OPENSSL_LIBS)
140 libbarry_la_LIBADD = $(LTLIBOBJS) $(LIBUSB_LIBS)
141 libbarry_la_LDFLAGS = -version-info ${LIB_BARRY_VERSION}
143 noinst_HEADERS = cbarry.h \
144         record-internal.h \
145         strnlen.h
147 EXTRA_DIST = convo.awk \
148         Doxyfile \
149         legal.txt
151 ##if DO_TEST
152 ##      bin_PROGRAMS += test-base64 test-data test-time
154 ##      test_base64_SOURCES = base64.h base64.cc
155 ##      test_data_SOURCES = data.h data.cc
156 ##      test_time_SOURCES = time.h time.cc
157 ##endif