]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - test/Makefile
Remove all of the Subversion keywords from various source files.
[thirdparty/cups.git] / test / Makefile
index 66b5353782a28e925498b248750e239333b1915c..4922d6ae9adecc13fbba77d940c14a6f61aba8a7 100644 (file)
@@ -1,16 +1,14 @@
 #
-# "$Id: Makefile 7871 2008-08-27 21:12:43Z mike $"
+# IPP test makefile for CUPS.
 #
-#   IPP test makefile for CUPS.
+# Copyright 2007-2014 by Apple Inc.
+# Copyright 1997-2006 by Easy Software Products, all rights reserved.
 #
-#   Copyright 2007-2012 by Apple Inc.
-#   Copyright 1997-2006 by Easy Software Products, all rights reserved.
-#
-#   These coded instructions, statements, and computer programs are the
-#   property of Apple Inc. and are protected by Federal copyright
-#   law.  Distribution and use rights are outlined in the file "LICENSE.txt"
-#   which should have been included with this file.  If this file is
-#   file is missing or damaged, see the license at "http://www.cups.org/".
+# These coded instructions, statements, and computer programs are the
+# property of Apple Inc. and are protected by Federal copyright
+# law.  Distribution and use rights are outlined in the file "LICENSE.txt"
+# which should have been included with this file.  If this file is
+# file is missing or damaged, see the license at "http://www.cups.org/".
 #
 
 include ../Makedefs
@@ -42,6 +40,7 @@ TESTFILES     =       \
                        get-jobs.test \
                        get-notifications.test \
                        get-printer-attributes.test \
+                       get-subscriptions.test \
                        ipp-1.1.test \
                        ipp-2.0.test \
                        ipp-2.1.test \
@@ -52,10 +51,14 @@ TESTFILES   =       \
                        print-job-gzip.test \
                        validate-job.test
 OBJS           =       \
+                       ippfind.o \
+                       ippinfra.o \
+                       ippproxy.o \
                        ippserver.o \
                        ipptool.o \
                        xmltotest.o
 TARGETS                =       \
+                       $(IPPFIND_BIN) \
                        ippserver \
                        ipptool \
                        ipptool-static
@@ -87,7 +90,7 @@ unittests:
 #
 
 clean:
-       $(RM) $(TARGETS) $(OBJS)
+       $(RM) $(TARGETS) $(OBJS) ippfind-static ippinfra ippinfra-shared ippproxy ippproxy-shared ippserver-shared
 
 
 #
@@ -128,8 +131,13 @@ install-exec:
        echo Installing ipptool in $(BINDIR)...
        $(INSTALL_DIR) -m 755 $(BINDIR)
        $(INSTALL_BIN) ipptool $(BINDIR)
+       if test -x ippfind; then \
+               $(INSTALL_BIN) ippfind $(BINDIR); \
+       fi
        if test "x$(SYMROOT)" != "x"; then \
                $(INSTALL_DIR) $(SYMROOT); \
+               cp ippfind $(SYMROOT); \
+               dsymutil $(SYMROOT)/ippfind; \
                cp ipptool $(SYMROOT); \
                dsymutil $(SYMROOT)/ipptool; \
        fi
@@ -164,6 +172,56 @@ uninstall:
        -$(RMDIR) $(DATADIR)/ipptool
 
 
+#
+# ippfind
+#
+
+ippfind:       ippfind.o ../cups/$(LIBCUPS) ../cups/$(LIBCUPSSTATIC)
+       echo Linking $@...
+       $(CC) $(LDFLAGS) -o $@ ippfind.o $(LIBS)
+       echo Linking $@-static...
+       $(CC) $(LDFLAGS) -o $@-static ippfind.o  ../cups/$(LIBCUPSSTATIC) \
+               $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
+
+
+#
+# ippinfra
+#
+
+ippinfra:      ippinfra.o ../cups/$(LIBCUPSSTATIC)
+       echo Linking $@...
+       $(CC) $(LDFLAGS) -o $@ ippinfra.o  ../cups/$(LIBCUPSSTATIC) \
+               $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
+
+
+#
+# ippinfra-shared
+#
+
+ippinfra-shared:       ippinfra.o ../cups/$(LIBCUPS)
+       echo Linking $@...
+       $(CC) $(LDFLAGS) -o $@ ippinfra.o $(LIBS)
+
+
+#
+# ippproxy
+#
+
+ippproxy:      ippproxy.o ../cups/$(LIBCUPSSTATIC)
+       echo Linking $@...
+       $(CC) $(LDFLAGS) -o $@ ippproxy.o  ../cups/$(LIBCUPSSTATIC) \
+               $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
+
+
+#
+# ippproxy-shared
+#
+
+ippproxy-shared:       ippproxy.o ../cups/$(LIBCUPS)
+       echo Linking $@...
+       $(CC) $(LDFLAGS) -o $@ ippproxy.o $(LIBS)
+
+
 #
 # ippserver
 #
@@ -218,8 +276,3 @@ xmltotest: xmltotest.o ../cups/$(LIBUPSSTATIC)
 #
 
 include Dependencies
-
-
-#
-# End of "$Id: Makefile 7871 2008-08-27 21:12:43Z mike $".
-#