cvs commit
| From: | danny | Date: | Thu, 08 Jul 1999 08:57:46 +0000 |
| Subject: | cvs commit | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-8191@lists.php.net to get a copy of this message | ||
From: danny
Date: Thu Jul 8 08:57:46 1999
Modified files:
php3/dl/Makefile.tmpl
Log message:
Enable build of ifx.so as a loadable module.
Index: php3/dl/Makefile.tmpl
diff -u php3/dl/Makefile.tmpl:1.14 php3/dl/Makefile.tmpl:1.15
--- php3/dl/Makefile.tmpl:1.14 Sun Jun 20 13:14:05 1999
+++ php3/dl/Makefile.tmpl Thu Jul 8 08:57:45 1999
@@ -32,11 +32,33 @@
calendar/gregor.o calendar/jewish.o calendar/julian.o \
calendar/easter.o
+IFX_OBJ = informix/ifx.o
+
+IFX_LIBS = -L$(INFORMIXDIR)/lib -L$(INFORMIXDIR)/lib/esql \
+ -lifsql \
+ -lifasf \
+ -lifgen \
+ -lifos \
+ -lifgls \
+ -lm \
+ -ldl \
+ -lcrypt \
+ $(INFORMIXDIR)/lib/esql/checkapi.o \
+ -lifglx
+
calendar.so: $(CAL_OBJS)
$(LD) -o $@ $(CAL_OBJS)
calendar/%.o: calendar/%.c
$(CC) $(CFLAGS) -DCOMPILE_DL=1 -c -o $@ $<
+
+informix/ifx.o: ../functions/ifx.ec
+ esql -c -EDHAVE_IFX_US=1 -DCOMPILE_DL=1 -I.. -I../functions \
+ ../functions/ifx.ec -o informix/ifx.o
+
+ifx.so: $(IFX_OBJ)
+ $(LD) -o $@ $(IFX_OBJ) $(IFX_LIBS)
+
snmp.so: snmp/snmp.o
$(LD) -o $@ snmp/snmp.o -lsnmp