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/".
24 create-printer-subscription.
test \
25 get-completed-jobs.
test \
51 # Make library targets...
65 # Clean all object files...
69 $(RM
) $(TARGETS
) $(OBJS
)
73 # Update dependencies (without system header dependencies...)
77 makedepend
-Y
-I..
-fDependencies
$(OBJS
:.o
=.c
) >/dev
/null
2>&1
81 # Install all targets...
84 install: all install-data install-headers install-libs install-exec
88 # Install data files...
92 echo Installing sample ipptool files in
$(DATADIR
)/ipptool...
93 $(INSTALL_DIR
) -m
755 $(DATADIR
)/ipptool
94 for file in
$(TESTFILES
); do \
95 $(INSTALL_DATA
) $$file $(DATADIR
)/ipptool
; \
100 # Install programs...
104 echo Installing ipptool in
$(BINDIR
)...
105 $(INSTALL_DIR
) -m
755 $(BINDIR
)
106 $(INSTALL_BIN
) ipptool
$(BINDIR
)
107 if
test "x$(SYMROOT)" != "x"; then \
108 $(INSTALL_DIR
) $(SYMROOT
); \
109 cp ipptool
$(SYMROOT
); \
121 # Install libraries...
128 # Unnstall all targets...
138 ippserver
: ippserver.o ..
/cups
/$(LIBCUPSSTATIC
)
140 $(CC
) $(LDFLAGS
) -o
$@ ippserver.o ..
/cups
/$(LIBCUPSSTATIC
) \
141 $(LIBGSSAPI
) $(SSLLIBS
) $(DNSSDLIBS
) $(COMMONLIBS
) $(LIBZ
)
148 ipptool
: ipptool.o ..
/cups
/$(LIBCUPS
)
150 $(CC
) $(LDFLAGS
) -o
$@ ipptool.o
$(LIBS
)
157 ipptool-static
: ipptool.o ..
/cups
/$(LIBCUPSSTATIC
)
159 $(CC
) $(LDFLAGS
) -o
$@ ipptool.o ..
/cups
/$(LIBCUPSSTATIC
) \
160 $(LIBGSSAPI
) $(SSLLIBS
) $(DNSSDLIBS
) $(COMMONLIBS
) $(LIBZ
)
171 # End of "$Id: Makefile 7871 2008-08-27 21:12:43Z mike $".