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
#
#
-# 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
#