4 # IPP test makefile for CUPS.
6 # Copyright 2007-2011 by Apple Inc.
7 # Copyright 1997-2006 by Easy Software Products, all rights reserved.
9 # These coded instructions, statements, and computer programs are the
10 # property of Apple Inc. and are protected by Federal copyright
11 # law. Distribution and use rights are outlined in the file "LICENSE.txt"
12 # which should have been included with this file. If this file is
13 # file is missing or damaged, see the license at "http://www.cups.org/".
25 create-printer-subscription.
test \
30 get-completed-jobs.
test \
63 # Make library targets...
77 # Clean all object files...
81 $(RM
) $(TARGETS
) $(OBJS
)
85 # Update dependencies (without system header dependencies...)
89 makedepend
-Y
-I..
-fDependencies
$(OBJS
:.o
=.c
) >/dev
/null
2>&1
93 # Install all targets...
96 install: all install-data install-headers install-libs install-exec
100 # Install data files...
104 echo Installing sample ipptool files in
$(DATADIR
)/ipptool...
105 $(INSTALL_DIR
) -m
755 $(DATADIR
)/ipptool
106 for file in
$(TESTFILES
); do \
107 $(INSTALL_DATA
) $$file $(DATADIR
)/ipptool
; \
112 # Install programs...
116 echo Installing ipptool in
$(BINDIR
)...
117 $(INSTALL_DIR
) -m
755 $(BINDIR
)
118 $(INSTALL_BIN
) ipptool
$(BINDIR
)
119 if
test "x$(SYMROOT)" != "x"; then \
120 $(INSTALL_DIR
) $(SYMROOT
); \
121 cp ipptool
$(SYMROOT
); \
133 # Install libraries...
140 # Unnstall all targets...
150 ippserver
: ippserver.o ..
/cups
/$(LIBCUPSSTATIC
)
152 $(CC
) $(LDFLAGS
) -o
$@ ippserver.o ..
/cups
/$(LIBCUPSSTATIC
) \
153 $(LIBGSSAPI
) $(SSLLIBS
) $(DNSSDLIBS
) $(COMMONLIBS
) $(LIBZ
)
160 ippserver-shared
: ippserver.o ..
/cups
/$(LIBCUPS
)
162 $(CC
) $(LDFLAGS
) -o
$@ ippserver.o
$(LIBS
)
169 ipptool
: ipptool.o ..
/cups
/$(LIBCUPS
)
171 $(CC
) $(LDFLAGS
) -o
$@ ipptool.o
$(LIBS
)
178 ipptool-static
: ipptool.o ..
/cups
/$(LIBCUPSSTATIC
)
180 $(CC
) $(LDFLAGS
) -o
$@ ipptool.o ..
/cups
/$(LIBCUPSSTATIC
) \
181 $(LIBGSSAPI
) $(SSLLIBS
) $(DNSSDLIBS
) $(COMMONLIBS
) $(LIBZ
)
188 xmltotest
: xmltotest.o ..
/cups
/$(LIBUPSSTATIC
)
190 $(CC
) $(LDFLAGS
) -o
$@ xmltotest.o ..
/cups
/$(LIBCUPSSTATIC
) \
191 $(LIBGSSAPI
) $(SSLLIBS
) $(DNSSDLIBS
) $(COMMONLIBS
) $(LIBZ
) \