]> git.ipfire.org Git - thirdparty/cups.git/blame - monitor/Makefile
Remove svn:keywords since they cause svn_load_dirs.pl to complain about every file.
[thirdparty/cups.git] / monitor / Makefile
CommitLineData
bd7854cb 1#
c07d5b2d 2# "$Id: Makefile 177 2006-06-21 00:20:03Z jlovell $"
bd7854cb 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
27include ../Makedefs
28
29TARGETS = bcp tbcp
30
31OBJS = bcp.o tbcp.o
32
33
34#
35# Make all targets...
36#
37
38all: $(TARGETS)
39
40
41#
42# Clean all object files...
43#
44
45clean:
46 $(RM) $(OBJS) $(TARGETS)
47
48
49#
50# Update dependencies (without system header dependencies...)
51#
52
53depend:
54 makedepend -Y -I.. -fDependencies $(OBJS:.o=.c) >/dev/null 2>&1
55
56
57#
58# Install all targets...
59#
60
61install: all
62 $(INSTALL_DIR) -m 755 $(SERVERBIN)/monitor
63 for file in $(TARGETS); do \
64 $(INSTALL_BIN) $$file $(SERVERBIN)/monitor; \
65 done
66
67
757d2cad 68#
69# Uninstall all targets...
70#
71
72uninstall:
73 for file in $(TARGETS); do \
74 $(RM) $(SERVERBIN)/monitor/$$file; \
75 done
76 -$(RMDIR) $(SERVERBIN)/monitor
77 -$(RMDIR) $(SERVERBIN)
78
79
bd7854cb 80#
81# bcp
82#
83
84bcp: bcp.o ../cups/$(LIBCUPS)
85 echo Linking $@...
86 $(CC) $(LDFLAGS) -o $@ bcp.o $(LIBS)
87
88
89#
90# tbcp
91#
92
93tbcp: tbcp.o ../cups/$(LIBCUPS)
94 echo Linking $@...
95 $(CC) $(LDFLAGS) -o $@ tbcp.o $(LIBS)
96
97
98#
99# Dependencies...
100#
101
102include Dependencies
103
104
105#
c07d5b2d 106# End of "$Id: Makefile 177 2006-06-21 00:20:03Z jlovell $".
bd7854cb 107#