]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cups/Makefile
Save work on destination API unit test program.
[thirdparty/cups.git] / cups / Makefile
index 8af9d9d3fb4f020f3f35c89055e82730a5ab3b5d..94bec6836aff981895eecd5ee8df3907876aa3a2 100644 (file)
@@ -85,6 +85,7 @@ TESTOBJS      = \
                testarray.o \
                testconflicts.o \
                testcups.o \
+               testdest.o \
                testfile.o \
                testhttp.o \
                testi18n.o \
@@ -151,6 +152,7 @@ UNITTARGETS =       \
                testcache \
                testconflicts \
                testcups \
+               testdest \
                testfile \
                testhttp \
                testi18n \
@@ -404,6 +406,16 @@ testcups:  testcups.o $(LIBCUPSSTATIC)
                $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
 
 
+#
+# testdest (dependency on static CUPS library is intentional)
+#
+
+testdest:      testdest.o $(LIBCUPSSTATIC)
+       echo Linking $@...
+       $(CC) $(LDFLAGS) -o $@ testdest.o $(LIBCUPSSTATIC) \
+               $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
+
+
 #
 # testfile (dependency on static CUPS library is intentional)
 #