]>
Commit | Line | Data |
---|---|---|
bd7854cb | 1 | # |
2 | # "$Id: Makefile 5087 2006-02-07 03:43:29Z mike $" | |
3 | # | |
4 | # Port monitor makefile for the Common UNIX Printing System (CUPS). | |
5 | # | |
6 | # Copyright 2006 by Easy Software Products. | |
7 | # | |
8 | # These coded instructions, statements, and computer programs are the | |
9 | # property of Easy Software Products and are protected by Federal | |
10 | # copyright law. Distribution and use rights are outlined in the file | |
11 | # "LICENSE.txt" which should have been included with this file. If this | |
12 | # file is missing or damaged please contact Easy Software Products | |
13 | # at: | |
14 | # | |
15 | # Attn: CUPS Licensing Information | |
16 | # Easy Software Products | |
17 | # 44141 Airport View Drive, Suite 204 | |
18 | # Hollywood, Maryland 20636 USA | |
19 | # | |
20 | # Voice: (301) 373-9600 | |
21 | # EMail: cups-info@cups.org | |
22 | # WWW: http://www.cups.org | |
23 | # | |
24 | # This file is subject to the Apple OS-Developed Software exception. | |
25 | # | |
26 | ||
27 | include ../Makedefs | |
28 | ||
29 | TARGETS = bcp tbcp | |
30 | ||
31 | OBJS = bcp.o tbcp.o | |
32 | ||
33 | ||
34 | # | |
35 | # Make all targets... | |
36 | # | |
37 | ||
38 | all: $(TARGETS) | |
39 | ||
40 | ||
41 | # | |
42 | # Clean all object files... | |
43 | # | |
44 | ||
45 | clean: | |
46 | $(RM) $(OBJS) $(TARGETS) | |
47 | ||
48 | ||
49 | # | |
50 | # Update dependencies (without system header dependencies...) | |
51 | # | |
52 | ||
53 | depend: | |
54 | makedepend -Y -I.. -fDependencies $(OBJS:.o=.c) >/dev/null 2>&1 | |
55 | ||
56 | ||
57 | # | |
58 | # Install all targets... | |
59 | # | |
60 | ||
61 | install: all | |
62 | $(INSTALL_DIR) -m 755 $(SERVERBIN)/monitor | |
63 | for file in $(TARGETS); do \ | |
64 | $(INSTALL_BIN) $$file $(SERVERBIN)/monitor; \ | |
65 | done | |
66 | ||
67 | ||
68 | # | |
69 | # bcp | |
70 | # | |
71 | ||
72 | bcp: bcp.o ../cups/$(LIBCUPS) | |
73 | echo Linking $@... | |
74 | $(CC) $(LDFLAGS) -o $@ bcp.o $(LIBS) | |
75 | ||
76 | ||
77 | # | |
78 | # tbcp | |
79 | # | |
80 | ||
81 | tbcp: tbcp.o ../cups/$(LIBCUPS) | |
82 | echo Linking $@... | |
83 | $(CC) $(LDFLAGS) -o $@ tbcp.o $(LIBS) | |
84 | ||
85 | ||
86 | # | |
87 | # Dependencies... | |
88 | # | |
89 | ||
90 | include Dependencies | |
91 | ||
92 | ||
93 | # | |
94 | # End of "$Id: Makefile 5087 2006-02-07 03:43:29Z mike $". | |
95 | # |