]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cgi-bin/Makefile
Remove svn:keywords since they cause svn_load_dirs.pl to complain about every file.
[thirdparty/cups.git] / cgi-bin / Makefile
index 4962215bc74bc012bd02e8a113357e17569ffff3..1971fe164409a7020b735d81ba5133b8999eae44 100644 (file)
@@ -1,5 +1,5 @@
 #
-# "$Id: Makefile 5111 2006-02-16 02:08:09Z mike $"
+# "$Id: Makefile 177 2006-06-21 00:20:03Z jlovell $"
 #
 #   CGI makefile for the Common UNIX Printing System (CUPS).
 #
@@ -65,6 +65,17 @@ install:     all
        done
 
 
+#
+# Uninstall all targets...
+#
+
+uninstall:
+       for file in $(CGIS); do \
+               $(RM) $(SERVERBIN)/cgi-bin/$$file; \
+       done
+       -$(RMDIR) $(SERVERBIN)/cgi-bin
+
+
 #
 # libcgi.a
 #
@@ -125,27 +136,30 @@ printers.cgi:     printers.o ../Makedefs ../cups/$(LIBCUPS) libcgi.a
 # testcgi
 #
 
-testcgi:       testcgi.o ../Makedefs libcgi.a
+testcgi:       testcgi.o ../Makedefs libcgi.a ../cups/libcups.a
        echo Linking $@...
-       $(CC) $(LDFLAGS) -o $@ testcgi.o libcgi.a $(LIBS)
+       $(CC) $(LDFLAGS) -o $@ testcgi.o libcgi.a ../cups/libcups.a \
+               $(COMMONLIBS) $(SSLLIBS) $(LIBZ)
 
 
 #
 # testhi
 #
 
-testhi:        testhi.o ../Makedefs libcgi.a
+testhi:        testhi.o ../Makedefs libcgi.a ../cups/libcups.a
        echo Linking $@...
-       $(CC) $(LDFLAGS) -o $@ testhi.o libcgi.a $(LIBS)
+       $(CC) $(LDFLAGS) -o $@ testhi.o libcgi.a ../cups/libcups.a \
+               $(COMMONLIBS) $(SSLLIBS) $(LIBZ)
 
 
 #
 # testtemplate
 #
 
-testtemplate:  testtemplate.o ../Makedefs libcgi.a
+testtemplate:  testtemplate.o ../Makedefs libcgi.a ../cups/libcups.a
        echo Linking $@...
-       $(CC) $(LDFLAGS) -o $@ testtemplate.o libcgi.a $(LIBS)
+       $(CC) $(LDFLAGS) -o $@ testtemplate.o libcgi.a ../cups/libcups.a \
+               $(COMMONLIBS) $(SSLLIBS) $(LIBZ)
 
 
 #
@@ -156,5 +170,5 @@ include Dependencies
 
 
 #
-# End of "$Id: Makefile 5111 2006-02-16 02:08:09Z mike $".
+# End of "$Id: Makefile 177 2006-06-21 00:20:03Z jlovell $".
 #