head	1.2;
access;
symbols
	RELEASE_4_2_0:1.1
	RELEASE_4_1_1:1.1
	RELEASE_4_1_0:1.1
	RELEASE_3_5_0:1.1
	RELEASE_4_0_0:1.1;
locks; strict;
comment	@# @;


1.2
date	2001.03.31.16.23.38;	author kevlo;	state dead;
branches;
next	1.1;

1.1
date	99.12.29.09.25.47;	author steve;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Update to version 1.07

PR: 26235
Submitted by: Ports Fury
@
text
@--- Makefile	Fri Feb 16 00:20:09 1996
+++ /home/andy/tmp/wrk/Makefile	Tue Jul 27 15:40:18 1999
@@@@ -3,16 +3,15 @@@@
 #or the system() function, respectively. Non-unix systems
 #will also definitely have different linker syntax.
 
-CFLAGS=
-CC=gcc
+#CFLAGS=
+#CC=gcc
 AR=ar
 LIBS=-L./ -lcgic
 
 all: libcgic.a cgictest capture
 
-libcgic.a: cgic.o cgic.h
-	rm -f libcgic.a
-	$(AR) rc libcgic.a cgic.o
+libcgic.so.1: cgic.o
+	$(CC) $(CFLAGS) -shared -Wl,-soname,libcgic.so.1 -o libcgic.so.1 cgic.o
 
 cgictest: cgictest.o libcgic.a
 	gcc cgictest.o -o cgictest ${LIBS}
@@@@ -20,3 +19,5 @@@@
 capture: capture.o libcgic.a
 	gcc capture.o -o capture ${LIBS}
 
+cgic.o: cgic.c cgic.h
+	$(CC) $(CFLAGS) -fPIC -o cgic.o -c -s cgic.c
@


1.1
log
@Add cgic version 1.06.
An ANSI C library for CGI programming.

PR:		12835
Submitted by:	Andrey Zakhvatov <andy@@icc.surw.chel.su>
@
text
@@

