1999-08-01 02:41:02 +00:00
|
|
|
--- Makefile.orig Mon Jul 26 19:30:44 1999
|
|
|
|
+++ Makefile Mon Jul 26 19:41:39 1999
|
|
|
|
@@ -4,14 +4,14 @@
|
|
|
|
|
|
|
|
# Comment out the variables for the databases that you do not want
|
|
|
|
# Here, what you need for PostgreSQL
|
1999-03-20 05:28:38 +00:00
|
|
|
-PGSQLIBS = -L/usr/local/pgsql/lib -lpq
|
1999-08-01 02:41:02 +00:00
|
|
|
-PGSQLCFLAGS = -I/usr/local/pgsql/include -DUSE_POSTGRESQL
|
|
|
|
-PGSQLOBJS = postgres.o
|
|
|
|
+#PGSQLIBS = -L/usr/local/pgsql/lib -lpq
|
|
|
|
+#PGSQLCFLAGS = -I/usr/local/pgsql/include -DUSE_POSTGRESQL
|
|
|
|
+#PGSQLOBJS = postgres.o
|
1999-03-20 05:28:38 +00:00
|
|
|
|
1999-08-01 02:41:02 +00:00
|
|
|
# Here, what you need for MySQL
|
|
|
|
-MYSQLIBS = -L/usr/lib/mysql -lmysqlclient
|
|
|
|
-MYSQLCFLAGS = -I/usr/include/mysql -DUSE_MYSQL
|
|
|
|
-MYSQLOBJS = mysql.o
|
|
|
|
+#MYSQLIBS = -L/usr/local/lib/mysql -lmysqlclient
|
|
|
|
+#MYSQLCFLAGS = -I/usr/local/include/mysql -DUSE_MYSQL
|
|
|
|
+#MYSQLOBJS = mysql.o
|
1999-03-20 05:28:38 +00:00
|
|
|
|
1999-08-01 02:41:02 +00:00
|
|
|
# Nothing to change below this point...
|
|
|
|
DBSQLIBS = $(PGSQLIBS) $(MYSQLIBS)
|
|
|
|
@@ -24,8 +24,8 @@
|
|
|
|
OBJS = $(MOBJS) $(DBSQLOBJS)
|
|
|
|
CFLAGS = $(MCFLAGS) $(DBSQLFLAGS)
|
1999-03-20 05:28:38 +00:00
|
|
|
|
|
|
|
-GTKLIBS = `gtk-config --libs`
|
|
|
|
-GTKCFLAGS = `gtk-config --cflags`
|
1999-08-01 02:41:02 +00:00
|
|
|
+GTKLIBS = `gtk12-config --libs`
|
|
|
|
+GTKCFLAGS = `gtk12-config --cflags`
|
1999-03-20 05:28:38 +00:00
|
|
|
|
|
|
|
all: $(OBJS)
|
1999-08-01 02:41:02 +00:00
|
|
|
gcc -o gtksql $(OBJS) $(DBSQLIBS) $(GTKLIBS) $(CFLAGS) $(LDFLAGS)
|