summaryrefslogtreecommitdiff
blob: f2c7e34770c430b25f51bc433fe42662784c8107 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
diff -ruN autogen.sh autogen.sh
--- autogen.sh	1970-01-01 01:00:00.000000000 +0100
+++ autogen.sh	2006-07-18 08:37:34.973644464 +0200
@@ -0,0 +1,16 @@
+#!/bin/sh
+#
+echo "Building configure & friends..."
+aclocal -I .
+libtoolize --copy --force --automake
+autoheader
+autoconf
+automake -a -c
+
+if test ! -f configure || test ! -f ltmain.sh || test ! -f Makefile.in; then
+  cat<<EOT
+** Unable to generate all required files!
+** you'll need autoconf, automake, libtool, autoheader and aclocal installed
+EOT
+  exit 1
+fi
diff -ruN configure.in configure.in
--- configure.in	1970-01-01 01:00:00.000000000 +0100
+++ configure.in	2006-07-18 08:21:30.110325984 +0200
@@ -0,0 +1,10 @@
+AC_INIT(configure.in)
+
+AM_CONFIG_HEADER(config.h)
+AM_INIT_AUTOMAKE(ibpp, 2.5.2.2)
+
+AC_LANG_CPLUSPLUS
+AC_PROG_CXX
+AM_PROG_LIBTOOL
+
+AC_OUTPUT(Makefile core/Makefile)
diff -ruN core/Makefile.am core/Makefile.am
--- core/Makefile.am	1970-01-01 01:00:00.000000000 +0100
+++ core/Makefile.am	2006-07-18 08:21:30.111325832 +0200
@@ -0,0 +1,12 @@
+libibpp_la_LIBADD = -lfbclient
+
+INCLUDES = $(all_includes) -I./fbheaders
+METASOURCES = AUTO
+lib_LTLIBRARIES = libibpp.la
+libibpp_la_SOURCES = array.cpp blob.cpp database.cpp date.cpp dbkey.cpp _dpb.cpp \
+    events.cpp exception.cpp ibase.h iberror.h _ibpp.cpp ibpp.h _ibpp.h _ibs.cpp \
+    _rb.cpp row.cpp service.cpp _spb.cpp statement.cpp time.cpp _tpb.cpp transaction.cpp \
+    user.cpp
+include_HEADERS = ibpp.h
+libibpp_la_LDFLAGS = -version-info 2:0:0 -no-undefined
+AM_CXXFLAGS = -DIBPP_GCC -DIBPP_LINUX
diff -ruN Makefile.am Makefile.am
--- Makefile.am	1970-01-01 01:00:00.000000000 +0100
+++ Makefile.am	2006-07-18 08:21:30.145320664 +0200
@@ -0,0 +1,6 @@
+# not a GNU package. You can remove this line, if
+# have all needed files, that a GNU package needs
+AUTOMAKE_OPTIONS = foreign 1.4
+
+SUBDIRS = core
+AM_CXXFLAGS = -DIBPP_GCC -DIBPP_LINUX -fPIC