Changeset 78 for trunk/thirds
- Timestamp:
- Jan 16, 2011, 12:30:42 AM (14 years ago)
- Location:
- trunk/thirds/cgic206
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/thirds/cgic206/Makefile
r7 r78 1 CFLAGS=-g -Wall 1 OS:=$(shell uname -s) 2 ifeq ($(OS),Darwin) 3 MACOS_CFLAGS=-arch i386 -arch ppc -arch x86_64 4 LIBS= -L./ -lcgic /usr/lib/libfcgi.dylib 5 else 6 LIBS= -L./ -lcgic /usr/lib/libfcgi.a 7 endif 8 CFLAGS=-g -Wall ${MACOS_CFLAGS} 2 9 CC=gcc 3 10 AR=ar 4 11 RANLIB=ranlib 5 LIBS=-L./ -lcgic /usr/lib/libfcgi.a6 12 7 13 all: libcgic.a cgictest.cgi capture -
trunk/thirds/cgic206/cgic.c
r6 r78 199 199 cgiContentLength=strlen(argv[1]); 200 200 } 201 fprintf(stderr,"%d\n",cgiContentLength);202 201 cgiGetenv(&cgiAccept, "HTTP_ACCEPT"); 203 202 cgiGetenv(&cgiUserAgent, "HTTP_USER_AGENT");
Note: See TracChangeset
for help on using the changeset viewer.