convert to automake
skimo [Sun, 23 Sep 2001 16:45:41 +0000 (16:45 +0000)]
cgi-fcgi/Makefile.am [new file with mode: 0644]
cgi-fcgi/Makefile.in [deleted file]

diff --git a/cgi-fcgi/Makefile.am b/cgi-fcgi/Makefile.am
new file mode 100644 (file)
index 0000000..e0ea730
--- /dev/null
@@ -0,0 +1,14 @@
+bin_PROGRAMS     = cgi-fcgi
+
+INCLUDEDIR  = $(srcdir)/../include
+CFLAGS      = @CCDEFS@ -I$(INCLUDEDIR)
+
+INCLUDE_FILES   = $(INCLUDEDIR)/fastcgi.h  \
+                 $(INCLUDEDIR)/fcgiapp.h  \
+                 $(INCLUDEDIR)/fcgimisc.h
+
+LIBDIR      = $(srcdir)/../libfcgi
+LIBFCGI     = $(LIBDIR)/libfcgi.la
+
+LDADD = $(LIBFCGI)
+cgi_fcgi_SOURCES = $(INCLUDE_FILES) cgi-fcgi.c
diff --git a/cgi-fcgi/Makefile.in b/cgi-fcgi/Makefile.in
deleted file mode 100644 (file)
index 0026958..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-#
-#  Makefile for CGI -> FCGI application
-#
-#  $Id: Makefile.in,v 1.4 2001/09/01 01:06:12 robs Exp $
-#
-
-SHELL = @SHELL@
-O     = @OBJEXT@
-L     = @L@
-CC    = @CC@
-EXEEXT  = @EXEEXT@
-
-INCLUDEDIR  = ../include
-CFLAGS  = @CCDEFS@ -I$(INCLUDEDIR)
-LIBS    = @LIBS@
-RANLIB  = @RANLIB@
-
-OBJS    = fcgiapp.${O}
-
-INCLUDES    = $(INCLUDEDIR)/fastcgi.h  \
-              $(INCLUDEDIR)/fcgiapp.h  \
-              $(INCLUDEDIR)/fcgimisc.h
-
-LIBDIR      = ../libfcgi
-LIBFCGI     = $(LIBDIR)/libfcgi.${L}
-TARGETS     = cgi-fcgi
-
-all: $(TARGETS)
-
-cgi-fcgi: cgi-fcgi.${O} $(LIBFCGI)
-       $(CC) $(CFLAGS) cgi-fcgi.${O} -o cgi-fcgi $(LIBFCGI) $(LIBS)
-
-clean:
-       rm -f *.${L} *.${O} core.* errs *~ \#* TAGS *.E a.out ${TARGETS:=$(EXEEXT)}
-
-# ----------------------------------------------------------------------------
-
-cgi-fcgi.${O}: cgi-fcgi.c $(INCLUDES)