options.o \
page.o \
ppd.o \
- pwgmedia.o \
+ pwg-file.o \
+ pwg-media.o \
+ pwg-ppd.o \
request.o \
sidechannel.o \
snmp.o \
testoptions.o \
testlang.o \
testppd.o \
+ testpwg.o \
testsnmp.o \
php_cups_wrap.o
testlang \
testoptions \
testppd \
+ testpwg \
testsnmp
TARGETS = \
./testppd
+#
+# testpwg (dependency on static CUPS library is intentional)
+#
+
+testpwg: testpwg.o $(LIBCUPSSTATIC) test.ppd
+ echo Linking $@...
+ $(CC) $(ARCHFLAGS) $(LDFLAGS) -o $@ testpwg.o $(LIBCUPSSTATIC) \
+ $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
+ echo Running PWG API tests...
+ ./testpwg test.ppd
+
+
#
# testsnmp (dependency on static CUPS library is intentional)
#