2 # "$Id: Makefile,v 1.29 2002/01/02 17:58:33 mike Exp $"
4 # Backend makefile for the Common UNIX Printing System (CUPS).
6 # Copyright 1997-2002 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-3111 USA
20 # Voice: (301) 373-9603
21 # EMail: cups-info@cups.org
22 # WWW: http://www.cups.org
27 BACKENDS
= ipp lpd parallel serial socket usb
28 TARGETS
= betest
$(BACKENDS
)
29 OBJS
= betest.o ipp.o lpd.o parallel.o serial.o socket.o usb.o
40 # Clean all object files...
44 $(RM
) $(OBJS
) $(TARGETS
) http
48 # Install all targets...
52 $(INSTALL_DIR
) $(SERVERBIN
)/backend
53 for file in
$(BACKENDS
); do \
54 $(INSTALL_BIN
) $$file $(SERVERBIN
)/backend
; \
56 $(RM
) $(SERVERBIN
)/backend
/http
57 $(LN
) ipp
$(SERVERBIN
)/backend
/http
64 betest
: betest.o ..
/cups
/$(LIBCUPS
)
66 $(CC
) $(LDFLAGS
) -o betest betest.o
$(LIBS
)
68 betest.o
: ..
/cups
/string.h ..
/Makedefs
75 ipp
: ipp.o ..
/cups
/$(LIBCUPS
)
77 $(CC
) $(LDFLAGS
) -o ipp ipp.o
$(LIBS
)
81 ipp.o
: ..
/cups
/cups.h ..
/Makedefs
88 lpd
: lpd.o ..
/cups
/$(LIBCUPS
)
90 $(CC
) $(LDFLAGS
) -o lpd lpd.o
$(LIBS
)
92 lpd.o
: ..
/cups
/cups.h ..
/Makedefs
99 parallel
: parallel.o ..
/cups
/$(LIBCUPS
)
101 $(CC
) $(LDFLAGS
) -o parallel parallel.o
$(LIBS
)
103 parallel.o
: ..
/cups
/cups.h ..
/Makedefs
110 serial
: serial.o ..
/cups
/$(LIBCUPS
)
112 $(CC
) $(LDFLAGS
) -o serial serial.o
$(LIBS
)
114 serial.o
: ..
/cups
/cups.h ..
/Makedefs
121 socket
: socket.o ..
/cups
/$(LIBCUPS
)
123 $(CC
) $(LDFLAGS
) -o socket socket.o
$(LIBS
)
125 socket.o
: ..
/cups
/cups.h ..
/Makedefs
132 usb
: usb.o ..
/cups
/$(LIBCUPS
)
134 $(CC
) $(LDFLAGS
) -o usb usb.o
$(LIBS
)
136 usb.o
: ..
/cups
/cups.h ..
/Makedefs
140 # End of "$Id: Makefile,v 1.29 2002/01/02 17:58:33 mike Exp $".