]> git.ipfire.org Git - thirdparty/cups.git/blame - berkeley/Makefile
Load cups into easysw/current.
[thirdparty/cups.git] / berkeley / Makefile
CommitLineData
ef416fc2 1#
bd7854cb 2# "$Id: Makefile 5065 2006-02-03 16:55:30Z mike $"
ef416fc2 3#
4# Berkeley commands makefile for the Common UNIX Printing System (CUPS).
5#
bd7854cb 6# Copyright 1997-2006 by Easy Software Products, all rights reserved.
ef416fc2 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
25include ../Makedefs
26
27TARGETS = lpc lpq lpr lprm
28OBJS = lpc.o lpq.o lpr.o lprm.o
29
30
31#
32# Make all targets...
33#
34
35all: $(TARGETS)
36
37
38#
39# Clean all object files...
40#
41
42clean:
43 $(RM) $(OBJS) $(TARGETS)
44
45
46#
47# Update dependencies (without system header dependencies...)
48#
49
50depend:
51 makedepend -Y -I.. -fDependencies $(OBJS:.o=.c) >/dev/null 2>&1
52
53
54#
55# Install all targets...
56#
57
58install: all
bd7854cb 59 $(INSTALL_DIR) -m 755 $(BINDIR)
ef416fc2 60 $(INSTALL_BIN) lpq $(BINDIR)
61 $(INSTALL_BIN) lpr $(BINDIR)
62 $(INSTALL_BIN) lprm $(BINDIR)
bd7854cb 63 $(INSTALL_DIR) -m 755 $(SBINDIR)
ef416fc2 64 $(INSTALL_BIN) lpc $(SBINDIR)
65
66
67#
68# lpc
69#
70
71lpc: lpc.o ../cups/$(LIBCUPS)
72 echo Linking $@...
73 $(CC) $(LDFLAGS) -o lpc lpc.o $(LIBS)
74
75
76#
77# lpq
78#
79
80lpq: lpq.o ../cups/$(LIBCUPS)
81 echo Linking $@...
82 $(CC) $(LDFLAGS) -o lpq lpq.o $(LIBS)
83
84
85#
86# lpr
87#
88
89lpr: lpr.o ../cups/$(LIBCUPS)
90 echo Linking $@...
91 $(CC) $(LDFLAGS) -o lpr lpr.o $(LIBS)
92
93
94#
95# lprm
96#
97
98lprm: lprm.o ../cups/$(LIBCUPS)
99 echo Linking $@...
100 $(CC) $(LDFLAGS) -o lprm lprm.o $(LIBS)
101
102
103#
104# Dependencies...
105#
106
107include Dependencies
108
109
110#
bd7854cb 111# End of "$Id: Makefile 5065 2006-02-03 16:55:30Z mike $".
ef416fc2 112#