Update of /cvsroot/serverfilters/script
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17784
Modified Files:
Makefile
Log Message:
Made changes to makefile to create a statically linked binary.
Index: Makefile
===================================================================
RCS file: /cvsroot/serverfilters/script/Makefile,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** Makefile 29 Feb 2004 22:56:11 -0000 1.5
--- Makefile 2 Mar 2004 03:20:30 -0000 1.6
***************
*** 14,17 ****
--- 14,22 ----
#CFLAGS=-DDEBUG
+ #LFLAGS=
+ LFLAGS=-static
+ #STATICLIBS=
+ STATICLIBS=-lkrb5 -lresolv -lcom_err -ldl -lz -lcrypto -lk5crypto
+
# Edit the location of the squirrelmail config file here.
SQUIRRELMAILCONFIGFILE=/etc/squirrelmail/config.php
***************
*** 36,40 ****
# You may need to adjust the following line.
! LIBS=/usr/lib/c-client.a -lssl -lpam -L/usr/kerberos/lib/ -lgssapi_krb5 -lcrypt
# This directory should contain a file named mail.h
--- 41,45 ----
# You may need to adjust the following line.
! LIBS=/usr/lib/c-client.a -lssl -lpam -L/usr/kerberos/lib/ -lgssapi_krb5 -lcrypt $(STATICLIBS)
# This directory should contain a file named mail.h
***************
*** 64,68 ****
filtercmd: filtercmd.o Makefile $(CHECKCREDS)
! gcc -o filtercmd filtercmd.o $(CHECKCREDS) $(LIBS)
chmod 4750 filtercmd
chown root:$(HTTPD_GROUP) filtercmd
--- 69,73 ----
filtercmd: filtercmd.o Makefile $(CHECKCREDS)
! gcc -o filtercmd filtercmd.o $(CHECKCREDS) $(LIBS) $(LFLAGS)
chmod 4750 filtercmd
chown root:$(HTTPD_GROUP) filtercmd
|