2 # "$Id: Makefile 6649 2007-07-11 21:46:42Z mike $"
4 # Port monitor makefile for the Common UNIX Printing System (CUPS).
6 # Copyright 2007-2008 by Apple Inc.
7 # Copyright 2006 by Easy Software Products.
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/".
15 # This file is subject to the Apple OS-Developed Software exception.
33 # Make library targets...
40 # Clean all object files...
44 $(RM
) $(OBJS
) $(TARGETS
)
48 # Update dependencies (without system header dependencies...)
52 makedepend
-Y
-I..
-fDependencies
$(OBJS
:.o
=.c
) >/dev
/null
2>&1
56 # Install all targets...
59 install: all install-data install-headers install-libs install-exec
63 # Install data files...
74 $(INSTALL_DIR
) -m
755 $(SERVERBIN
)/monitor
75 for file in
$(TARGETS
); do \
76 $(INSTALL_BIN
) $$file $(SERVERBIN
)/monitor
; \
78 if
test "x$(SYMROOT)" != "x"; then \
79 $(INSTALL_DIR
) $(SYMROOT
); \
80 for file in
$(TARGETS
); do \
81 cp
$$file $(SYMROOT
); \
94 # Install libraries...
101 # Uninstall all targets...
105 for file in
$(TARGETS
); do \
106 $(RM
) $(SERVERBIN
)/monitor
/$$file; \
108 -$(RMDIR
) $(SERVERBIN
)/monitor
109 -$(RMDIR
) $(SERVERBIN
)
116 bcp
: bcp.o ..
/cups
/$(LIBCUPS
)
118 $(CC
) $(LDFLAGS
) -o
$@ bcp.o
$(LIBS
)
125 tbcp
: tbcp.o ..
/cups
/$(LIBCUPS
)
127 $(CC
) $(LDFLAGS
) -o
$@ tbcp.o
$(LIBS
)
138 # End of "$Id: Makefile 6649 2007-07-11 21:46:42Z mike $".