]>
git.ipfire.org Git - thirdparty/cups.git/blob - berkeley/Makefile
762605e56ad6d6599b7817a3e5c616a5c49d81b3
2 # "$Id: Makefile 6563 2007-06-18 22:18:46Z mike $"
4 # Berkeley commands makefile for the Common UNIX Printing System (CUPS).
6 # Copyright 1997-2006 by Easy Software Products, all rights reserved.
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
15 # Attn: CUPS Licensing Information
16 # Easy Software Products
17 # 44141 Airport View Drive, Suite 204
18 # Hollywood, Maryland 20636 USA
20 # Voice: (301) 373-9600
21 # EMail: cups-info@cups.org
22 # WWW: http://www.cups.org
27 TARGETS
= lpc lpq lpr lprm
28 OBJS
= lpc.o lpq.o lpr.o lprm.o
39 # Clean all object files...
43 $(RM
) $(OBJS
) $(TARGETS
)
47 # Update dependencies (without system header dependencies...)
51 makedepend
-Y
-I..
-fDependencies
$(OBJS
:.o
=.c
) >/dev
/null
2>&1
55 # Install all targets...
59 $(INSTALL_DIR
) -m
755 $(BINDIR
)
60 $(INSTALL_BIN
) lpq
$(BINDIR
)
61 $(INSTALL_BIN
) lpr
$(BINDIR
)
62 $(INSTALL_BIN
) lprm
$(BINDIR
)
63 $(INSTALL_DIR
) -m
755 $(SBINDIR
)
64 $(INSTALL_BIN
) lpc
$(SBINDIR
)
65 if
test "x$(SYMROOT)" != "x"; then \
66 $(INSTALL_DIR
) $(SYMROOT
); \
67 for file in
$(TARGETS
); do \
68 cp
$$file $(SYMROOT
); \
74 # Uninstall all targets...
90 lpc
: lpc.o ..
/cups
/$(LIBCUPS
)
92 $(CC
) $(LDFLAGS
) -o lpc lpc.o
$(LIBS
)
99 lpq
: lpq.o ..
/cups
/$(LIBCUPS
)
101 $(CC
) $(LDFLAGS
) -o lpq lpq.o
$(LIBS
)
108 lpr
: lpr.o ..
/cups
/$(LIBCUPS
)
110 $(CC
) $(LDFLAGS
) -o lpr lpr.o
$(LIBS
)
117 lprm
: lprm.o ..
/cups
/$(LIBCUPS
)
119 $(CC
) $(LDFLAGS
) -o lprm lprm.o
$(LIBS
)
130 # End of "$Id: Makefile 6563 2007-06-18 22:18:46Z mike $".