]>
Commit | Line | Data |
---|---|---|
3a57cba8 | 1 | # |
17281382 | 2 | # "$Id: Makedefs.in,v 1.24 2000/06/22 20:33:31 mike Exp $" |
3a57cba8 | 3 | # |
4 | # Common makefile definitions for the Common UNIX Printing System (CUPS). | |
5 | # | |
aff2356d | 6 | # Copyright 1997-2000 by Easy Software Products, all rights reserved. |
3a57cba8 | 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 | |
c9e6a22c | 17 | # 44141 Airport View Drive, Suite 204 |
3a57cba8 | 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 | ||
a810d5d8 | 25 | # |
26 | # Programs... | |
27 | # | |
28 | ||
3a57cba8 | 29 | AR = @AR@ |
dec51c23 | 30 | AWK = @AWK@ |
a3e17a89 | 31 | CC = @LIBTOOL@ @CC@ |
40d12d05 | 32 | CHMOD = @CHMOD@ |
3a57cba8 | 33 | CP = @CP@ |
0e60aede | 34 | CXX = @LIBTOOL@ @CXX@ |
7e8966ca | 35 | DSO = @DSO@ |
3a57cba8 | 36 | HTMLDOC = @HTMLDOC@ |
a3e17a89 | 37 | LIBTOOL = @LIBTOOL@ |
3a57cba8 | 38 | LN = /bin/ln -sf |
3a57cba8 | 39 | MKDIR = @MKDIR@ -p |
aa889bbc | 40 | MV = @MV@ |
c9e6a22c | 41 | NROFF = @NROFF@ |
3a57cba8 | 42 | RANLIB = @RANLIB@ |
43 | RM = @RM@ -f | |
40d12d05 | 44 | SED = @SED@ |
3a57cba8 | 45 | SHELL = /bin/sh |
46 | ||
a3e17a89 | 47 | # |
48 | # Installation programs... | |
49 | # | |
50 | ||
ea315b09 | 51 | INSTALL_BIN = $(LIBTOOL) $(CP) |
a3e17a89 | 52 | INSTALL_CAT = @INSTALL_CAT@ |
53 | INSTALL_DATA = $(CP) | |
54 | INSTALL_LIB = $(LIBTOOL) $(CP) | |
55 | INSTALL_MAN = $(CP) | |
a3e17a89 | 56 | INSTALL_SCRIPT = $(CP) |
ea315b09 | 57 | INSTALL_SYSV = @INSTALL_SYSV@ |
a3e17a89 | 58 | |
7e8966ca | 59 | # |
60 | # Libraries... | |
61 | # | |
62 | ||
63 | LIBCUPS = @LIBCUPS@ | |
64 | LIBCUPSIMAGE = @LIBCUPSIMAGE@ | |
65 | LIBJPEG = @LIBJPEG@ | |
66 | LIBPNG = @LIBPNG@ | |
67 | LIBTIFF = @LIBTIFF@ | |
68 | LIBZ = @LIBZ@ | |
69 | ||
a810d5d8 | 70 | # |
71 | # Program options... | |
72 | # | |
73 | # OPTIM defines the common compiler optimization/debugging options. | |
74 | # OPTIONS defines other compile-time options (currently only -dDEBUG for | |
75 | # extra debug info) | |
76 | # | |
77 | ||
78 | ARFLAGS = crvs | |
79 | CFLAGS = @CFLAGS@ $(OPTIM) -I.. $(OPTIONS) | |
17281382 | 80 | CXXFLAGS = @CXXFLAGS@ $(OPTIM) -I.. $(OPTIONS) |
7e8966ca | 81 | DSOLIBS = @DSOLIBS@ |
82 | IMGLIBS = @IMGLIBS@ -lm | |
a810d5d8 | 83 | LDFLAGS = @LDFLAGS@ $(OPTIM) |
a3e17a89 | 84 | LINKCUPS = @LINKCUPS@ |
85 | LINKCUPSIMAGE = @LINKCUPSIMAGE@ | |
86 | LIBS = $(LINKCUPS) $(NETLIBS) @LIBS@ | |
e6b209b1 | 87 | NETLIBS = @NETLIBS@ |
a810d5d8 | 88 | OPTIM = @OPTIM@ |
89 | OPTIONS = | |
90 | ||
91 | # | |
92 | # Directories... | |
93 | # | |
94 | # The first section uses the GNU names (which are *extremely* | |
95 | # difficult to find in a makefile because they are lowercase...) | |
96 | # We have to define these first because autoconf uses ${prefix} | |
97 | # and ${exec_prefix} for most of the other directories... | |
98 | # | |
99 | # This is immediately followed by definition in ALL CAPS for the | |
100 | # needed directories... | |
101 | # | |
102 | ||
103 | bindir = @bindir@ | |
104 | datadir = @datadir@ | |
105 | exec_prefix = @exec_prefix@ | |
106 | includedir = @includedir@ | |
107 | infodir = @infodir@ | |
108 | libdir = @libdir@ | |
109 | libexecdir = @libexecdir@ | |
110 | localstatedir = @localstatedir@ | |
111 | mandir = @mandir@ | |
112 | oldincludedir = @oldincludedir@ | |
113 | prefix = @prefix@ | |
114 | sbindir = @sbindir@ | |
115 | sharedstatedir = @sharedstatedir@ | |
116 | srcdir = @srcdir@ | |
117 | sysconfdir = @sysconfdir@ | |
118 | top_srcdir = @top_srcdir@ | |
119 | ||
3e7eb9bb | 120 | BINDIR = @bindir@ |
121 | DATADIR = @CUPS_DATADIR@ | |
ea315b09 | 122 | DOCDIR = @CUPS_DOCROOT@ |
c00a25a2 | 123 | INCLUDEDIR = $(includedir) |
3e7eb9bb | 124 | LIBDIR = $(libdir) |
125 | LOCALEDIR = @CUPS_LOCALEDIR@ | |
aff2356d | 126 | LOGDIR = @CUPS_LOGDIR@ |
3e7eb9bb | 127 | MANDIR = @mandir@ |
e81c8291 | 128 | PAMDIR = @PAMDIR@ |
aff2356d | 129 | REQUESTS = @CUPS_REQUESTS@ |
3e7eb9bb | 130 | SBINDIR = @sbindir@ |
aff2356d | 131 | SERVERBIN = @CUPS_SERVERBIN@ |
3e7eb9bb | 132 | SERVERROOT = @CUPS_SERVERROOT@ |
a810d5d8 | 133 | |
134 | # | |
135 | # Rules... | |
136 | # | |
137 | ||
7e8966ca | 138 | .SILENT: |
0e60aede | 139 | .SUFFIXES: .a .c .cxx .h .man .o .1 .5 .8 |
3a57cba8 | 140 | .c.o: |
8391453b | 141 | echo Compiling $<... |
3a57cba8 | 142 | $(CC) $(CFLAGS) -c $< |
0e60aede | 143 | .cxx.o: |
144 | echo Compiling $<... | |
145 | $(CXX) $(CXXFLAGS) -c $< | |
f63a2256 | 146 | .man.1 .man.5 .man.8: |
8391453b | 147 | echo Formatting $<... |
f63a2256 | 148 | $(RM) $@ |
149 | $(NROFF) -man $< >$@ | |
3a57cba8 | 150 | |
151 | # | |
17281382 | 152 | # End of "$Id: Makedefs.in,v 1.24 2000/06/22 20:33:31 mike Exp $" |
3a57cba8 | 153 | # |