]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - scheduler/Makefile
Load cups into easysw/current.
[thirdparty/cups.git] / scheduler / Makefile
index adbebbf54aba0600edba8c4a1994f4db67d2e07a..403997bb98c4455e00b905fe1bbe765cfbcfd743 100644 (file)
@@ -1,5 +1,5 @@
 #
-# "$Id: Makefile 5116 2006-02-16 12:52:32Z mike $"
+# "$Id: Makefile 5229 2006-03-05 16:48:12Z mike $"
 #
 #   Scheduler Makefile for the Common UNIX Printing System (CUPS).
 #
@@ -148,6 +148,31 @@ install:   all
 #      -chgrp $(CUPS_GROUP) $(CACHEDIR)/ppd
 
 
+#
+# Uninstall the scheduler...
+#
+
+uninstall:     all
+       $(RM) $(SBINDIR)/cupsd
+       $(RM) $(SERVERBIN)/daemon/cups-deviced
+       $(RM) $(SERVERBIN)/daemon/cups-driverd
+       $(RM) $(SERVERBIN)/daemon/cups-lpd
+       $(RM) $(SERVERBIN)/daemon/cups-polld
+       -$(RMDIR) $(STATEDIR)/certs
+       -$(RMDIR) $(STATEDIR)
+       -$(RMDIR) $(SERVERROOT)/ppd
+       -$(RMDIR) $(SERVERROOT)/interfaces
+       -$(RMDIR) $(SERVERROOT)
+       -$(RMDIR) $(SERVERBIN)/driver
+       -$(RMDIR) $(SERVERBIN)/daemon
+       -$(RMDIR) $(SERVERBIN)
+       -$(RMDIR) $(SBINDIR)
+       -$(RMDIR) $(REQUESTS)/tmp
+       -$(RMDIR) $(REQUESTS)
+       -$(RMDIR) $(LOGDIR)
+       -$(RMDIR) $(CACHEDIR)
+
+
 #
 # Make the scheduler executable, "cupsd".
 #
@@ -155,14 +180,15 @@ install:  all
 cupsd: $(CUPSDOBJS) libmime.a ../cups/$(LIBCUPS)
        echo Linking $@...
        $(CC) $(LDFLAGS) -o cupsd $(CUPSDOBJS) libmime.a \
-               $(LIBZ) $(SSLLIBS) $(LIBSLP) $(PAMLIBS) \
+               $(LIBZ) $(SSLLIBS) $(LIBSLP) $(LIBLDAP) $(PAMLIBS) \
                $(LIBPAPER) $(LIBMALLOC) $(CUPSDLIBS) $(LIBS)
 
 cupsd-static:  $(CUPSDOBJS) libmime.a ../cups/libcups.a
        echo Linking $@...
        $(CC) $(LDFLAGS) -o cupsd-static $(CUPSDOBJS) libmime.a \
-               $(LIBZ) $(SSLLIBS) $(LIBSLP) $(PAMLIBS) ../cups/libcups.a \
-               $(COMMONLIBS) $(LIBZ) $(LIBPAPER) $(LIBMALLOC) $(CUPSDLIBS)
+               $(LIBZ) $(SSLLIBS) $(LIBSLP) $(LIBLDAP) $(PAMLIBS) \
+               ../cups/libcups.a $(COMMONLIBS) $(LIBZ) $(LIBPAPER) \
+               $(LIBMALLOC) $(CUPSDLIBS)
 
 
 #
@@ -248,5 +274,5 @@ include Dependencies
 
 
 #
-# End of "$Id: Makefile 5116 2006-02-16 12:52:32Z mike $".
+# End of "$Id: Makefile 5229 2006-03-05 16:48:12Z mike $".
 #