2 # "$Id: Makefile 7871 2008-08-27 21:12:43Z mike $"
4 # IPP test makefile for CUPS.
6 # Copyright 2007-2010 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 \
62 # Make library targets...
76 # Clean all object files...
80 $(RM
) $(TARGETS
) $(OBJS
)
84 # Update dependencies (without system header dependencies...)
88 makedepend
-Y
-I..
-fDependencies
$(OBJS
:.o
=.c
) >/dev
/null
2>&1
92 # Install all targets...
95 install: all install-data install-headers install-libs install-exec
99 # Install data files...
103 echo Installing sample ipptool files in
$(DATADIR
)/ipptool...
104 $(INSTALL_DIR
) -m
755 $(DATADIR
)/ipptool
105 for file in
$(TESTFILES
); do \
106 $(INSTALL_DATA
) $$file $(DATADIR
)/ipptool
; \
111 # Install programs...
115 echo Installing ipptool in
$(BINDIR
)...
116 $(INSTALL_DIR
) -m
755 $(BINDIR
)
117 $(INSTALL_BIN
) ipptool
$(BINDIR
)
118 if
test "x$(SYMROOT)" != "x"; then \
119 $(INSTALL_DIR
) $(SYMROOT
); \
120 cp ipptool
$(SYMROOT
); \
132 # Install libraries...
139 # Unnstall all targets...
149 ippserver
: ippserver.o ..
/cups
/$(LIBCUPSSTATIC
)
151 $(CC
) $(LDFLAGS
) -o
$@ ippserver.o ..
/cups
/$(LIBCUPSSTATIC
) \
152 $(LIBGSSAPI
) $(SSLLIBS
) $(DNSSDLIBS
) $(COMMONLIBS
) $(LIBZ
)
159 ippserver-shared
: ippserver.o ..
/cups
/$(LIBCUPS
)
161 $(CC
) $(LDFLAGS
) -o
$@ ippserver.o
$(LIBS
)
168 ipptool
: ipptool.o ..
/cups
/$(LIBCUPS
)
170 $(CC
) $(LDFLAGS
) -o
$@ ipptool.o
$(LIBS
)
177 ipptool-static
: ipptool.o ..
/cups
/$(LIBCUPSSTATIC
)
179 $(CC
) $(LDFLAGS
) -o
$@ ipptool.o ..
/cups
/$(LIBCUPSSTATIC
) \
180 $(LIBGSSAPI
) $(SSLLIBS
) $(DNSSDLIBS
) $(COMMONLIBS
) $(LIBZ
)
191 # End of "$Id: Makefile 7871 2008-08-27 21:12:43Z mike $".