]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - backend/Makefile
Import CUPS 1.4svn-r7356.
[thirdparty/cups.git] / backend / Makefile
index 3dccd1a53762642f02b4f26d785aa3730286bdd8..a2bb1621f5d8cedc0520f214f4064b7d5de576fc 100644 (file)
@@ -19,10 +19,11 @@ include ../Makedefs
 
 RBACKENDS =    ipp lpd
 UBACKENDS =    $(PAP) $(LEGACY_BACKENDS) serial snmp socket usb
-TARGETS        =       betest test1284 libbackend.a $(RBACKENDS) $(UBACKENDS)
-LIBOBJS        =       ieee1284.o runloop.o
-OBJS   =       betest.o ipp.o lpd.o pap.o parallel.o scsi.o \
-               serial.o snmp.o socket.o test1284.o usb.o
+TARGETS        =       test1284 testbackend testsupplies \
+               libbackend.a $(RBACKENDS) $(UBACKENDS)
+LIBOBJS        =       ieee1284.o runloop.o snmp-supplies.o
+OBJS   =       ipp.o lpd.o pap.o parallel.o scsi.o serial.o snmp.o socket.o \
+               test1284.o testbackend.o testsupplies.o usb.o
 
 
 #
@@ -84,24 +85,35 @@ uninstall:
 
 
 #
-# betest
+# test1284
 #
 
-betest:        betest.o ../cups/$(LIBCUPS)
+test1284:      test1284.o ../cups/libcups.a
        echo Linking $@...
-       $(CC) $(LDFLAGS) -o betest betest.o $(LIBS)
+       $(CC) $(LDFLAGS) -o test1284 test1284.o ../cups/libcups.a \
+               $(SSLLIBS) $(COMMONLIBS) $(LIBZ)
 
 
 #
-# test1284
+# testbackend
 #
 
-test1284:      test1284.o ../cups/libcups.a
+testbackend:   testbackend.o ../cups/libcups.a
        echo Linking $@...
-       $(CC) $(LDFLAGS) -o test1284 test1284.o ../cups/libcups.a \
+       $(CC) $(LDFLAGS) -o testbackend testbackend.o ../cups/libcups.a \
                $(SSLLIBS) $(COMMONLIBS) $(LIBZ)
 
 
+#
+# testsupplies
+#
+
+testsupplies:  testsupplies.o libbackend.a ../cups/libcups.a
+       echo Linking $@...
+       $(CC) $(LDFLAGS) -o testsupplies testsupplies.o libbackend.a \
+               ../cups/libcups.a $(LIBGSSAPI) $(SSLLIBS) $(COMMONLIBS) $(LIBZ)
+
+
 #
 # libbackend.a
 #