#
# Makefile for FastCGI development kit
#
-# Open Market, Inc.
+# $Id: Makefile.in,v 1.4 2001/08/30 22:19:23 robs Exp $
#
-# $Id: Makefile.in,v 1.3 2001/08/30 02:18:38 robs Exp $
-#
-SHELL = @SHELL@
-O = @O@
-L = @L@
-
-#
-exec_prefix = @exec_prefix@
-prefix = @prefix@
-common_prefix = @common_prefix@
-CVS_TAG = @CVS_TAG@
-EXPORT_DIR = $(prefix)/build
-PROTO_DIR = ../proto
-BIN_DIR = $(exec_prefix)/bin
-LIB_DIR = $(prefix)/lib
-LINC_DIR = $(prefix)/include
-COMMON_DIR = $(common_prefix)
-INC_DIR = $(common_prefix)/include
-DOC_DIR = $(common_prefix)/doc
-MAN_DIR = $(common_prefix)/man
-MAN1_DIR = $(MAN_DIR)/man1
-MAN3_DIR = $(MAN_DIR)/man3
-RANLIB = @RANLIB@
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-TARGET_DIRS = $(BIN_DIR) $(LIB_DIR) $(COMMON_DIR) $(INC_DIR) $(MAN_DIR) \
- $(MAN1_DIR) $(MAN3_DIR) $(LINC_DIR) $(EXPORT_DIR)
+SHELL = @SHELL@
all:
- (cd libfcgi; make all)
+ (cd libfcgi; make all)
(cd cgi-fcgi; make all)
(cd examples; make all)
-export:
- @ for i in $(TARGET_DIRS); \
- do \
- if test ! -d $$i; then \
- echo "Creating $$i";\
- mkdir -p $$i;\
- fi;\
- done;
-
- $(INSTALL_DATA) include/fastcgi.h $(INC_DIR)
- $(INSTALL_DATA) include/fcgi_stdio.h $(INC_DIR)
- $(INSTALL_DATA) include/fcgiapp.h $(INC_DIR)
- $(INSTALL_DATA) include/fcgimisc.h $(INC_DIR)
- $(INSTALL_DATA) include/fcgi_config.h $(LINC_DIR)
- $(INSTALL_DATA) libfcgi/libfcgi.${L} $(LIB_DIR)
- $(RANLIB) $(LIB_DIR)/libfcgi.${L}
- $(INSTALL_PROGRAM) cgi-fcgi/cgi-fcgi $(BIN_DIR)
- $(INSTALL_DATA) doc/cgi-fcgi.1 $(MAN1_DIR)
- $(INSTALL_DATA) doc/FCGI_Accept.3 $(MAN3_DIR)
- $(INSTALL_DATA) doc/FCGI_Finish.3 $(MAN3_DIR)
- $(INSTALL_DATA) doc/FCGI_SetExitStatus.3 $(MAN3_DIR)
- $(INSTALL_DATA) doc/FCGI_StartFilterData.3 $(MAN3_DIR)
- rm -rf $(PROTO_DIR)
- cp -R . $(PROTO_DIR)
- (cd $(PROTO_DIR); make clean)
- find $(PROTO_DIR) -name CVS -exec rm -rf {} \;
- rm -rf $(EXPORT_DIR)
- cp -R $(PROTO_DIR) $(EXPORT_DIR)
- rm -rf $(PROTO_DIR)
-
-reconfig: clean
- uname -rs >config.uname
- ./configure
+install:
+ echo "Sorry, the install target hasn't been written yet"
clean:
- rm -f *.${L} *.${O} core.* errs *~ \#* TAGS *.E a.out
- rm -f *.${L} *.${O} core.* errs *~ \#* TAGS *.E a.out
- rm -f config.cache config.log config.status config.uname
- (cd libfcgi; make clean)
+ rm -f config.cache config.log config.status
+ (cd libfcgi; make clean)
(cd cgi-fcgi; make clean)
(cd examples; make clean)
-
-# ----------------------------------------------------------------------------
#
# Makefile for CGI -> FCGI application
#
-# Open Market, Inc.
-#
-# $Id: Makefile.in,v 1.2 2001/06/22 15:27:28 robs Exp $
+# $Id: Makefile.in,v 1.3 2001/08/30 22:19:24 robs Exp $
#
SHELL = @SHELL@
-O = @O@
-L = @L@
-CC = @CC@
+O = @OBJEXT@
+L = @L@
+CC = @CC@
INCLUDEDIR = ../include
-CFLAGS = @CCDEFS@ @PROFILE@ -I$(INCLUDEDIR)
-LIBS = @LIBS@
-RANLIB = @RANLIB@
+CFLAGS = @CCDEFS@ -I$(INCLUDEDIR)
+LIBS = @LIBS@
+RANLIB = @RANLIB@
-OBJS = fcgiapp.${O}
+OBJS = fcgiapp.${O}
INCLUDES = $(INCLUDEDIR)/fastcgi.h \
$(INCLUDEDIR)/fcgiapp.h \
- $(INCLUDEDIR)/fcgimisc.h
+ $(INCLUDEDIR)/fcgimisc.h
LIBDIR = ../libfcgi
-LIBFCGI = $(LIBDIR)/libfcgi.${L}
-TARGETS = cgi-fcgi
+LIBFCGI = $(LIBDIR)/libfcgi.${L}
+TARGETS = cgi-fcgi
all: $(TARGETS)
#
# Makefile for FastCGI application library
#
-# Open Market, Inc.
-#
-# $Id: Makefile.in,v 1.2 2001/06/22 15:28:10 robs Exp $
+# $Id: Makefile.in,v 1.3 2001/08/30 22:19:25 robs Exp $
#
SHELL = @SHELL@
-O = @O@
-L = @L@
-CC = @CC@
+O = @OBJEXT@
+L = @L@
+CC = @CC@
+
INCLUDEDIR = ../include
-CFLAGS = @CCDEFS@ @PROFILE@ -I$(INCLUDEDIR)
-RANLIB = @RANLIB@
-LIBOBJS = @LIBOBJS@
+CFLAGS = @CCDEFS@ -I$(INCLUDEDIR)
+RANLIB = @RANLIB@
+LIBOBJS = @LIBOBJS@
-OBJS = fcgiapp.${O} fcgi_stdio.${O} os_@SYSTEM@.${O} $(LIBOBJS)
+OBJS = fcgiapp.${O} fcgi_stdio.${O} os_@SYSTEM@.${O} $(LIBOBJS)
INCLUDES = $(INCLUDEDIR)/fastcgi.h \
$(INCLUDEDIR)/fcgiapp.h \
- $(INCLUDEDIR)/fcgimisc.h \
- $(INCLUDEDIR)/fcgi_stdio.h \
+ $(INCLUDEDIR)/fcgimisc.h \
+ $(INCLUDEDIR)/fcgi_stdio.h \
$(INCLUDEDIR)/fcgios.h