2 # "$Id: Makefile 9771 2011-05-12 05:21:56Z mike $"
4 # Port monitor makefile for CUPS.
6 # Copyright 2007-2011 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...
47 # Clean all object files...
51 $(RM) $(OBJS) $(TARGETS)
55 # Update dependencies (without system header dependencies...)
59 makedepend -Y -I.. -fDependencies $(OBJS:.o=.c) >/dev/null 2>&1
63 # Install all targets...
66 install: all install-data install-headers install-libs install-exec
70 # Install data files...
81 $(INSTALL_DIR) -m 755 $(SERVERBIN)/monitor
82 for file in $(TARGETS); do \
83 $(INSTALL_BIN) $$file $(SERVERBIN)/monitor; \
85 if test "x$(SYMROOT)" != "x"; then \
86 $(INSTALL_DIR) $(SYMROOT); \
87 for file in $(TARGETS); do \
88 cp $$file $(SYMROOT); \
101 # Install libraries...
108 # Uninstall all targets...
112 for file in $(TARGETS); do \
113 $(RM) $(SERVERBIN)/monitor/$$file; \
115 -$(RMDIR) $(SERVERBIN)/monitor
116 -$(RMDIR) $(SERVERBIN)
123 bcp: bcp.o ../cups/$(LIBCUPS)
125 $(CC) $(LDFLAGS) -o $@ bcp.o $(LIBS)
132 tbcp: tbcp.o ../cups/$(LIBCUPS)
134 $(CC) $(LDFLAGS) -o $@ tbcp.o $(LIBS)
145 # End of "$Id: Makefile 9771 2011-05-12 05:21:56Z mike $".