]>
git.ipfire.org Git - thirdparty/cups.git/blob - berkeley/Makefile
2 # "$Id: Makefile 6649 2007-07-11 21:46:42Z mike $"
4 # Berkeley commands makefile for the Common UNIX Printing System (CUPS).
6 # Copyright 2007 by Apple Inc.
7 # Copyright 1997-2006 by Easy Software Products, all rights reserved.
9 # These coded instructions, statements, and computer programs are the
10 # property of Apple Inc. and are protected by Federal copyright
11 # law. Distribution and use rights are outlined in the file "LICENSE.txt"
12 # which should have been included with this file. If this file is
13 # file is missing or damaged, see the license at "http://www.cups.org/".
18 TARGETS
= lpc lpq lpr lprm
19 OBJS
= lpc.o lpq.o lpr.o lprm.o
30 # Clean all object files...
34 $(RM
) $(OBJS
) $(TARGETS
)
38 # Update dependencies (without system header dependencies...)
42 makedepend
-Y
-I..
-fDependencies
$(OBJS
:.o
=.c
) >/dev
/null
2>&1
46 # Install all targets...
50 $(INSTALL_DIR
) -m
755 $(BINDIR
)
51 $(INSTALL_BIN
) lpq
$(BINDIR
)
52 $(INSTALL_BIN
) lpr
$(BINDIR
)
53 $(INSTALL_BIN
) lprm
$(BINDIR
)
54 $(INSTALL_DIR
) -m
755 $(SBINDIR
)
55 $(INSTALL_BIN
) lpc
$(SBINDIR
)
56 if
test "x$(SYMROOT)" != "x"; then \
57 $(INSTALL_DIR
) $(SYMROOT
); \
58 for file in
$(TARGETS
); do \
59 cp
$$file $(SYMROOT
); \
65 # Uninstall all targets...
81 lpc
: lpc.o ..
/cups
/$(LIBCUPS
)
83 $(CC
) $(LDFLAGS
) -o lpc lpc.o
$(LIBS
)
90 lpq
: lpq.o ..
/cups
/$(LIBCUPS
)
92 $(CC
) $(LDFLAGS
) -o lpq lpq.o
$(LIBS
)
99 lpr
: lpr.o ..
/cups
/$(LIBCUPS
)
101 $(CC
) $(LDFLAGS
) -o lpr lpr.o
$(LIBS
)
108 lprm
: lprm.o ..
/cups
/$(LIBCUPS
)
110 $(CC
) $(LDFLAGS
) -o lprm lprm.o
$(LIBS
)
121 # End of "$Id: Makefile 6649 2007-07-11 21:46:42Z mike $".