]> git.ipfire.org Git - thirdparty/cups.git/blob - berkeley/Makefile
Merge changes from 1.1.x into 1.2 devel.
[thirdparty/cups.git] / berkeley / Makefile
1 #
2 # "$Id: Makefile,v 1.13.2.1 2001/12/26 16:52:07 mike Exp $"
3 #
4 # Berkeley commands makefile for the Common UNIX Printing System (CUPS).
5 #
6 # Copyright 1997-2001 by Easy Software Products, all rights reserved.
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-3111 USA
19 #
20 # Voice: (301) 373-9603
21 # EMail: cups-info@cups.org
22 # WWW: http://www.cups.org
23 #
24
25 include ../Makedefs
26
27 TARGETS = lpc lpq lpr lprm
28 OBJS = lpc.o lpq.o lpr.o lprm.o
29
30
31 #
32 # Make all targets...
33 #
34
35 all: $(TARGETS)
36
37
38 #
39 # Clean all object files...
40 #
41
42 clean:
43 $(RM) $(OBJS) $(TARGETS)
44
45
46 #
47 # Install all targets...
48 #
49
50 install:
51 $(INSTALL_DIR) $(BINDIR)
52 $(INSTALL_BIN) lpq $(BINDIR)
53 $(INSTALL_BIN) lpr $(BINDIR)
54 $(INSTALL_BIN) lprm $(BINDIR)
55 $(INSTALL_DIR) $(SBINDIR)
56 $(INSTALL_BIN) lpc $(SBINDIR)
57
58
59 #
60 # lpc
61 #
62
63 lpc: lpc.o ../cups/$(LIBCUPS)
64 echo Linking $@...
65 $(CC) $(LDFLAGS) -o lpc lpc.o $(LIBS)
66
67 lpc.o: ../cups/cups.h ../Makedefs
68
69
70 #
71 # lpq
72 #
73
74 lpq: lpq.o ../cups/$(LIBCUPS)
75 echo Linking $@...
76 $(CC) $(LDFLAGS) -o lpq lpq.o $(LIBS)
77
78 lpq.o: ../cups/cups.h ../Makedefs
79
80
81 #
82 # lpr
83 #
84
85 lpr: lpr.o ../cups/$(LIBCUPS)
86 echo Linking $@...
87 $(CC) $(LDFLAGS) -o lpr lpr.o $(LIBS)
88
89 lpr.o: ../cups/cups.h ../Makedefs
90
91
92 #
93 # lprm
94 #
95
96 lprm: lprm.o ../cups/$(LIBCUPS)
97 echo Linking $@...
98 $(CC) $(LDFLAGS) -o lprm lprm.o $(LIBS)
99
100 lprm.o: ../cups/cups.h ../Makedefs
101
102
103 #
104 # End of "$Id: Makefile,v 1.13.2.1 2001/12/26 16:52:07 mike Exp $".
105 #