]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - scheduler/Makefile
Load cups into easysw/current.
[thirdparty/cups.git] / scheduler / Makefile
index f269c3849b62af8ecf5d908c20665baee57bf22a..c76690e0616800f94bc9207fb677e0f1885fb700 100644 (file)
@@ -1,9 +1,9 @@
 #
-# "$Id: Makefile 5736 2006-07-13 19:59:36Z mike $"
+# "$Id: Makefile 6291 2007-02-19 21:54:27Z mike $"
 #
 #   Scheduler Makefile for the Common UNIX Printing System (CUPS).
 #
-#   Copyright 1997-2006 by Easy Software Products, all rights reserved.
+#   Copyright 1997-2007 by Easy Software Products, all rights reserved.
 #
 #   These coded instructions, statements, and computer programs are the
 #   property of Easy Software Products and are protected by Federal
@@ -43,6 +43,7 @@ CUPSDOBJS =   \
                printers.o \
                process.o \
                quotas.o \
+               select.o \
                server.o \
                statbuf.o \
                subscriptions.o \
@@ -59,8 +60,10 @@ OBJS =       \
                cups-lpd.o \
                cups-polld.o \
                testdirsvc.o \
+               testlpd.o \
                testmime.o \
                testspeed.o \
+               testsub.o \
                util.o
 TARGETS        =       \
                cupsd \
@@ -70,8 +73,10 @@ TARGETS      =       \
                cups-polld \
                libmime.a \
                testdirsvc \
+               testlpd \
                testmime \
-               testspeed
+               testspeed \
+               testsub
 
 
 #
@@ -184,14 +189,15 @@ cupsd:    $(CUPSDOBJS) libmime.a ../cups/$(LIBCUPS)
        echo Linking $@...
        $(CC) $(LDFLAGS) -o cupsd $(CUPSDOBJS) libmime.a \
                $(LIBZ) $(SSLLIBS) $(LIBSLP) $(LIBLDAP) $(PAMLIBS) \
-               $(LIBPAPER) $(LIBMALLOC) $(CUPSDLIBS) $(LIBS)
+               $(LIBPAPER) $(LIBMALLOC) $(CUPSDLIBS) $(DNSSDLIBS) $(LIBS) \
+               $(LIBGSSAPI)
 
 cupsd-static:  $(CUPSDOBJS) libmime.a ../cups/libcups.a
        echo Linking $@...
        $(CC) $(LDFLAGS) -o cupsd-static $(CUPSDOBJS) libmime.a \
                $(LIBZ) $(SSLLIBS) $(LIBSLP) $(LIBLDAP) $(PAMLIBS) \
                ../cups/libcups.a $(COMMONLIBS) $(LIBZ) $(LIBPAPER) \
-               $(LIBMALLOC) $(CUPSDLIBS)
+               $(LIBMALLOC) $(CUPSDLIBS) $(DNSSDLIBS) $(LIBGSSAPI)
 
 
 #
@@ -250,6 +256,16 @@ testdirsvc:        testdirsvc.o
        $(CC) $(LDFLAGS) -o testdirsvc testdirsvc.o $(COMMONLIBS) $(NETLIBS)
 
 
+#
+# Make the test program, "testlpd".
+#
+
+testlpd:       testlpd.o ../cups/libcups.a cups-lpd
+       echo Linking $@...
+       $(CC) $(LDFLAGS) -o testlpd testlpd.o ../cups/libcups.a \
+               $(COMMONLIBS) $(LIBZ) $(SSLLIBS) $(LIBGSSAPI)
+
+
 #
 # testmime
 #
@@ -257,16 +273,27 @@ testdirsvc:       testdirsvc.o
 testmime:      testmime.o libmime.a ../cups/libcups.a
        echo Linking $@...
        $(CC) $(LDFLAGS) -o $@ testmime.o libmime.a ../cups/libcups.a \
-               $(COMMONLIBS) $(LIBZ) $(SSLLIBS)
+               $(COMMONLIBS) $(LIBZ) $(SSLLIBS) $(LIBGSSAPI)
 
 
 #
 # Make the test program, "testspeed".
 #
 
-testspeed:     testspeed.o ../cups/$(LIBCUPS)
+testspeed:     testspeed.o ../cups/libcups.a
+       echo Linking $@...
+       $(CC) $(LDFLAGS) -o testspeed testspeed.o ../cups/libcups.a \
+               $(SSLLIBS) $(COMMONLIBS) $(LIBZ) $(LIBGSSAPI)
+
+
+#
+# Make the test program, "testsub".
+#
+
+testsub:       testsub.o ../cups/libcups.a
        echo Linking $@...
-       $(CC) $(LDFLAGS) -o testspeed testspeed.o $(LIBS)
+       $(CC) $(LDFLAGS) -o testsub testsub.o ../cups/libcups.a \
+               $(SSLLIBS) $(COMMONLIBS) $(LIBZ) $(LIBGSSAPI)
 
 
 #
@@ -277,5 +304,5 @@ include Dependencies
 
 
 #
-# End of "$Id: Makefile 5736 2006-07-13 19:59:36Z mike $".
+# End of "$Id: Makefile 6291 2007-02-19 21:54:27Z mike $".
 #