]> git.ipfire.org Git - thirdparty/cups.git/blame - cups/Makefile
More changes for awk/nawk/mawk/gawk use.
[thirdparty/cups.git] / cups / Makefile
CommitLineData
04c3c0a1 1#
590a0a40 2# "$Id: Makefile,v 1.7 1999/04/22 13:53:04 mike Exp $"
04c3c0a1 3#
4# Support library Makefile for the Common UNIX Printing System (CUPS).
5#
6# Copyright 1997-1999 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# 44145 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
25include ../Makedefs
26
27#
28# libcups.a object files...
29#
30
46b7e58a 31OBJS = emit.o filter.o http.o ipp.o language.o mark.o mime.o \
03d3e5ef 32 options.o page.o ppd.o raster.o type.o util.o
04c3c0a1 33
34#
35# Header files to install...
36#
37
03d3e5ef 38HEADERS = cups.h http.h ipp.h language.h mime.h ppd.h raster.h
04c3c0a1 39
40#
41# Targets in this directory...
42#
43
44TARGETS = libcups.a testmime testppd testhttp
45
46#
47# Make all targets...
48#
49
50all: $(TARGETS)
51
52#
53# Remove object and target files...
54#
55
56clean:
57 rm -f $(OBJS) $(TARGETS)
58
59#
60# Install object and target files...
61#
62
63install: all
64 -$(MKDIR) $(LIBDIR)
65 $(CP) libcups.a $(LIBDIR)
66 -$(MKDIR) $(INCDIR)/cups
67 $(CP) $(HEADERS) $(INCDIR)/cups
68
69#
70# libcups.a
71#
72
73libcups.a: $(OBJS)
74 $(RM) $@
75 $(AR) $(ARFLAGS) $@ $(OBJS)
76 $(RANLIB) $@
77
78emit.o: ppd.h ../config.h ../Makedefs
79filter.o: mime.h ../config.h ../Makedefs
3b960317 80http.o: http.h string.h ../config.h ../Makedefs
04c3c0a1 81ipp.o: http.h ipp.h ../config.h ../Makedefs
46b7e58a 82language.o: language.h string.h ../config.h ../Makedefs
04c3c0a1 83mark.o: ppd.h ../config.h ../Makedefs
84mime.o: mime.h ../config.h ../Makedefs
3b960317 85options.o: cups.h ../config.h ../Makedefs
04c3c0a1 86page.o: ppd.h ../config.h ../Makedefs
87ppd.o: ppd.h ../config.h ../Makedefs
03d3e5ef 88raster.o: raster.h ../config.h ../Makedefs
04c3c0a1 89type.o: mime.h ../config.h ../Makedefs
3b960317 90util.o: cups.h http.h ipp.h ../config.h ../Makedefs
04c3c0a1 91
92#
93# testhttp
94#
95
96testhttp: testhttp.o libcups.a
590a0a40 97 $(CC) $(LDFLAGS) -o $@ testhttp.o $(LIBS)
04c3c0a1 98
99testhttp.o: http.h ../Makedefs
100
101#
102# testmime
103#
104
105testmime: testmime.o libcups.a
590a0a40 106 $(CC) $(LDFLAGS) -o $@ testmime.o $(LIBS)
04c3c0a1 107
108testmime.o: mime.h ../Makedefs
109
110#
111# testppd
112#
113
50146867 114testppd: testppd.o libcups.a
590a0a40 115 $(CC) $(LDFLAGS) -o $@ testppd.o $(LIBS)
04c3c0a1 116
117testppd.o: ppd.h ../Makedefs
118
119#
590a0a40 120# End of "$Id: Makefile,v 1.7 1999/04/22 13:53:04 mike Exp $".
04c3c0a1 121#