1#  Copyright (C) 2001-2006 Artifex Software, Inc.
2#  All Rights Reserved.
3#
4#  This software is provided AS-IS with no warranty, either express or
5#  implied.
6#
7#  This software is distributed under license and may not be copied, modified
8#  or distributed except as expressly authorized under the terms of that
9#  license.  Refer to licensing information at http://www.artifex.com/
10#  or contact Artifex Software, Inc.,  7 Mt. Lassen Drive - Suite A-134,
11#  San Rafael, CA  94903, U.S.A., +1(415)492-9861, for further information.
12#
13# $Id: Makefile.in 10521 2009-12-18 07:04:10Z giles $
14# makefile template for/from the autoconf build.
15# @configure_input@
16
17# ------------------------------- Options ------------------------------- #
18
19####### The following are the only parts of the file you should need to edit.
20
21# Define the directory for the final executable, and the
22# source, generated intermediate file, and object directories
23# for the graphics library (GL) and the PostScript/PDF interpreter (PS).
24
25BINDIR=./bin
26GLSRCDIR=./base
27GLGENDIR=./obj
28GLOBJDIR=./obj
29PSSRCDIR=./psi
30PSLIBDIR=./lib
31PSRESDIR=./Resource
32PSGENDIR=./obj
33PSOBJDIR=./obj
34CONTRIBDIR=./contrib
35
36# Do not edit the next group of lines.
37
38include $(GLSRCDIR)/version.mak
39DD=$(GLGENDIR)/
40GLD=$(GLGENDIR)/
41PSD=$(PSGENDIR)/
42
43# ------ Generic options ------ #
44
45# Define the installation commands and target directories for
46# executables and files.  The commands are only relevant to `make install';
47# the directories also define the default search path for the
48# initialization files (gs_*.ps) and the fonts.
49
50INSTALL_PROGRAM = ${BSD_INSTALL_PROGRAM}
51INSTALL_SCRIPT = ${BSD_INSTALL_SCRIPT}
52INSTALL_DATA = ${BSD_INSTALL_DATA}
53INSTALL_SHARED = @INSTALL_SHARED@
54
55prefix = @prefix@
56exec_prefix = @exec_prefix@
57bindir = @bindir@
58scriptdir = $(bindir)
59includedir = @includedir@
60libdir = @libdir@
61mandir = @mandir@
62man1ext = 1
63man1dir = $(mandir)/man$(man1ext)
64datadir = @datadir@
65datarootdir = @datarootdir@
66
67# The following must be substituted using @datadir@ and @libdir@
68# to avoid adding RPM generation paths (CUPS STR #1112)
69gsdir = @datadir@/ghostscript
70gsdatadir = $(gsdir)/$(GS_DOT_VERSION)
71gssharedir = @libdir@/ghostscript/$(GS_DOT_VERSION)
72gsincludedir = @includedir@/ghostscript/
73
74docdir=$(gsdatadir)/doc
75exdir=$(gsdatadir)/examples
76GS_DOCDIR=$(docdir)
77
78# Define install location for 'cups' device/filter support
79CUPSCFLAGS=@CUPSCFLAGS@
80CUPSLIBS=@CUPSLIBS@
81CUPSLIBDIRS=@CUPSLIBDIRS@
82CUPSSERVERBIN=@CUPSSERVERBIN@
83CUPSSERVERROOT=@CUPSSERVERROOT@
84CUPSDATA=@CUPSDATA@
85CUPSPDFTORASTER=@CUPSPDFTORASTER@
86
87# Define the default directory/ies for the runtime
88# initialization and font files.  Separate multiple directories with a :.
89
90GS_LIB_DEFAULT=$(gsdatadir)/Resource/Init:$(gsdatadir)/lib:$(gsdatadir)/Resource/Font:$(gsdir)/fonts:@fontpath@
91
92# Define the default directory for cached data files
93# this must be a single path.
94
95GS_CACHE_DIR="~/.ghostscript/cache/"
96
97# Define whether or not searching for initialization files should always
98# look in the current directory first.  This leads to well-known security
99# and confusion problems, but users insist on it.
100# NOTE: this also affects searching for files named on the command line:
101# see the "File searching" section of Use.htm for full details.
102# Because of this, setting SEARCH_HERE_FIRST to 0 is not recommended.
103
104SEARCH_HERE_FIRST=1
105
106# Define the name of the interpreter initialization file.
107# (There is no reason to change this.)
108
109GS_INIT=gs_init.ps
110
111# Choose generic configuration options.
112
113# -DDEBUG
114#	includes debugging features (-Z switch) in the code.
115#	  Code runs substantially slower even if no debugging switches
116#	  are set.
117
118GENOPT=
119
120# Choose capability options.
121
122# -DHAVE_MKSTEMP
123#	uses mkstemp instead of mktemp
124#		This uses the more secure temporary file creation call
125#		Enable this if it is available on your platform.
126# -DHAVE_HYPOT
127#	use the system hypot() call
128#
129# -DHAVE_FILE64
130#	use marked versions of the stdio FILE calls, fopen64() et al.
131#
132# -DHAVE_MKSTEMP64
133#	use non-standard function mkstemp64()
134
135CAPOPT= @HAVE_MKSTEMP@ @HAVE_HYPOT@ @HAVE_FILE64@ @HAVE_MKSTEMP64@ @HAVE_FONTCONFIG@
136
137# Define the name of the executable file.
138
139GS=@GS@@EXEEXT@
140
141# Define the directories for debugging and profiling binaries, relative to
142# the standard binaries.
143
144DEBUGRELDIR=../debugobj
145PGRELDIR=../pgobj
146
147# Define the directory where the IJG JPEG library sources are stored,
148# and the major version of the library that is stored there.
149# You may need to change this if the IJG library version changes.
150# See jpeg.mak for more information.
151
152JSRCDIR=@LIBJPEGDIR@
153
154# Note: if a shared library is used, it may not contain the
155# D_MAX_BLOCKS_IN_MCU patch, and thus may not be able to read
156# some older JPEG streams that violate the standard. If the JPEG
157# library built from local sources, the patch will be applied.
158
159SHARE_JPEG=1
160JPEG_NAME=jpeg
161
162# Define the directory where the PNG library sources are stored,
163# and the version of the library that is stored there.
164# You may need to change this if the libpng version changes.
165# See libpng.mak for more information.
166
167SHARE_LIBPNG=1
168PNGSRCDIR=@LIBPNGDIR@
169LIBPNG_NAME=png
170
171# libtiff
172SHARE_LIBTIFF=1
173TIFFSRCDIR=@LIBTIFFDIR@
174TIFFPLATFORM=unix
175TIFFCONFIG_SUFFIX=
176LIBTIFF_NAME=tiff
177
178# Define the directory where the zlib sources are stored.
179# See zlib.mak for more information.
180
181SHARE_ZLIB=1
182ZSRCDIR=@ZLIBDIR@
183#ZLIB_NAME=gz
184ZLIB_NAME=z
185
186# Choose shared or compiled in libjbig2dec and source location
187JBIG2_LIB=jbig2dec
188SHARE_JBIG2=@SHARE_JBIG2@
189JBIG2SRCDIR=@JBIG2DIR@
190
191# uncomment the following three lines and one of the last two to
192# compile in the Luratech ldf_jb2 codec
193#JBIG2_LIB=luratech
194#SHARE_JBIG2=0
195#JBIG2SRCDIR=ldf_jb2
196#JBIG2_CFLAGS=-DUSE_LDF_JB2 -DLINUX
197#JBIG2_CFLAGS=-DUSE_LDF_JB2 -DMAC -DMAC_OS_X_BUILD
198
199
200# Choose the library to use for (JPXDecode support)
201# whether to link to an external build or compile in from source
202# and source location and configuration flags for compiling in
203JPX_LIB=jasper
204SHARE_JPX=@SHARE_JASPER@
205JPXSRCDIR=@JASPERDIR@
206JPX_CFLAGS=-DJAS_CONFIGURE
207
208# uncomment the following three lines and one of the last two to
209# compile in the Luratech lwf_jp2 codec
210#JPX_LIB=luratech
211#SHARE_JPX=0
212#JPXSRCDIR=lwf_jp2
213#JPX_CFLAGS=-DUSE_LWF_JP2 -DLINUX
214#JPX_CFLAGS=-DUSE_LWF_JP2 -DMAC -DMAC_OS_X_BUILD
215
216# Define the directory where the icclib source are stored.
217# See icclib.mak for more information
218
219ICCSRCDIR=icclib
220
221# Define the directory where the ijs source is stored,
222# and the process forking method to use for the server.
223# See ijs.mak for more information.
224
225IJSSRCDIR=@IJSDIR@
226IJSEXECTYPE=unix
227
228# Define the directory where the imdi library source is stored.
229# See devs.mak for more information.
230
231IMDISRCDIR=imdi
232
233# Define how to build the library archives.  (These are not used in any
234# standard configuration.)
235
236AR=ar
237ARFLAGS=qc
238RANLIB=@RANLIB@
239
240# ------ Platform-specific options ------ #
241
242# Define the name of the C compiler.
243
244CC=@CC@
245
246# Define the name of the linker for the final link step.
247# Normally this is the same as the C compiler.
248
249CCLD=$(CC)
250
251# Define the default gcc flags.
252GCFLAGS=@CPPFLAGS@ @GCFLAGS@ @CFLAGS@
253
254# Define the added flags for standard, debugging, profiling
255# and shared object builds.
256
257CFLAGS_STANDARD?=@OPT_CFLAGS@
258CFLAGS_DEBUG=-g -O0
259CFLAGS_PROFILE=-pg @OPT_CFLAGS@
260CFLAGS_SO=@DYNAMIC_CFLAGS@
261
262# Define the other compilation flags.  Add at most one of the following:
263#	-DBSD4_2 for 4.2bsd systems.
264#	-DSYSV for System V or DG/UX.
265# 	-DSYSV -D__SVR3 for SCO ODT, ISC Unix 2.2 or before,
266#	   or any System III Unix, or System V release 3-or-older Unix.
267#	-DSVR4 -DSVR4_0 (not -DSYSV) for System V release 4.0.
268#	-DSVR4 (not -DSYSV) for System V release 4.2 (or later) and Solaris 2.
269# XCFLAGS can be set from the command line.
270# We don't include -ansi, because this gets in the way of the platform-
271#   specific stuff that <math.h> typically needs; nevertheless, we expect
272#   gcc to accept ANSI-style function prototypes and function definitions.
273XCFLAGS=@DYNAMIC_FLAGS@
274
275# fontconfig flags, used by unix-aux.mak
276FONTCONFIG_CFLAGS=@FONTCONFIG_CFLAGS@
277FONTCONFIG_LIBS=@FONTCONFIG_LIBS@
278
279# defines from autoconf; note that we don't use these at present.
280ACDEFS=@DEFS@
281
282CFLAGS=$(CFLAGS_STANDARD) $(GCFLAGS) $(XCFLAGS)
283
284# Define platform flags for ld.
285# SunOS 4.n may need -Bstatic.
286# Solaris 2.6 (and possibly some other versions) with any of the SHARE_
287# parameters set to 1 may need
288#	-R /usr/local/xxx/lib:/usr/local/lib
289# giving the full path names of the shared library directories.
290# XLDFLAGS can be set from the command line.
291XLDFLAGS=@X_LDFLAGS@
292
293LDFLAGS=@LDFLAGS@ $(XLDFLAGS)
294
295# Define any extra libraries to link into the executable.
296# ISC Unix 2.2 wants -linet.
297# SCO Unix needs -lsocket if you aren't including the X11 driver.
298# SVR4 may need -lnsl.
299# Solaris may need -lnsl -lsocket -lposix4.
300# (Libraries required by individual drivers are handled automatically.)
301
302EXTRALIBS=@LIBS@ @DYNAMIC_LIBS@ @FONTCONFIG_LIBS@ -Wl,-export-dynamic
303
304# Define the standard libraries to search at the end of linking.
305# Most platforms require -lpthread for the POSIX threads library;
306# on FreeBSD, change -lpthread to -lc_r; BSDI and perhaps some others
307# include pthreads in libc and don't require any additional library.
308# All reasonable platforms require -lm, but Rhapsody and perhaps one or
309# two others fold libm into libc and don't require any additional library.
310
311STDLIBS=@PTHREAD_LIBS@ -lm
312
313# Define the include switch(es) for the X11 header files.
314# This can be null if handled in some other way (e.g., the files are
315# in /usr/include, or the directory is supplied by an environment variable)
316
317XINCLUDE=@X_CFLAGS@
318
319# Define the directory/ies and library names for the X11 library files.
320# XLIBDIRS is for ld and should include -L; XLIBDIR is for LD_RUN_PATH
321# (dynamic libraries on SVR4) and should not include -L.
322# Newer SVR4 systems can use -R in XLIBDIRS rather than setting XLIBDIR.
323# Both can be null if these files are in the default linker search path.
324
325# Solaris and other SVR4 systems with dynamic linking probably want
326#XLIBDIRS=-L/usr/openwin/lib -R/usr/openwin/lib
327# X11R6 (on any platform) may need
328#XLIBS=Xt SM ICE Xext X11
329
330# We use the autoconf macro AC_PATH_XTRA which defines X_LIBS with
331# the -L (or whatever). It also defines X_PRE_LIBS and X_EXTRA_LIBS
332# all three of which are stripped and slotted into XLIBS below.
333# Usually however, all but X_LIBS are empty on modern platforms.
334XLIBDIRS=@X_LDFLAGS@
335XLIBDIR=
336#XLIBS=Xt Xext X11
337XLIBS=@X_LIBS@
338
339# Define the .dev module that implements thread and synchronization
340# primitives for this platform.
341
342# If POSIX sync primitives are used, also change the STDLIBS to include
343# the pthread library. Otherwise use SYNC=nosync
344#SYNC=posync
345#SYNC=nosync
346SYNC=nosync
347
348# programs we use
349RM=rm -f
350
351# ------ Dynamic loader options ------- #
352SOC_CFLAGS	=	@SOC_CFLAGS@
353SOC_LIBS	=	@SOC_LIBS@
354SOC_LOADER	=	@SOC_LOADER@
355
356
357CAIRO_CFLAGS	=	@CAIRO_CFLAGS@
358CAIRO_LIBS	=	@CAIRO_LIBS@
359
360# ------ Devices and features ------ #
361
362# Choose the language feature(s) to include.  See gs.mak for details.
363
364FEATURE_DEVS=$(PSD)psl3.dev $(PSD)pdf.dev $(PSD)dpsnext.dev $(PSD)ttfont.dev $(PSD)epsf.dev $(GLD)pipe.dev $(GLD)gsnogc.dev $(GLD)roplib.dev $(GLD)htxlib.dev $(PSD)fapi.dev @JBIG2DEVS@ @JPXDEVS@
365#FEATURE_DEVS=$(PSD)psl3.dev $(PSD)pdf.dev
366#FEATURE_DEVS=$(PSD)psl3.dev $(PSD)pdf.dev $(PSD)dpsnext.dev $(PSD)ttfont.dev $(PSD)rasterop.dev $(GLD)pipe.dev
367# The following is strictly for testing.
368FEATURE_DEVS_ALL=$(PSD)psl3.dev $(PSD)pdf.dev $(PSD)dpsnext.dev $(PSD)ttfont.dev $(PSD)rasterop.dev $(PSD)double.dev $(PSD)trapping.dev $(PSD)stocht.dev $(GLD)pipe.dev $(GLD)gsnogc.dev $(GLD)htxlib.dev @JBIG2DEVS@ @JPXDEVS@
369#FEATURE_DEVS=$(FEATURE_DEVS_ALL)
370
371# The list of resources to be included in the %rom% file system.
372# This is in the top makefile since the file descriptors are platform specific
373RESOURCE_LIST=Resource/CMap/ Resource/ColorSpace/ Resource/Decoding/ Resource/Font/ Resource/ProcSet/ Resource/IdiomSet/ Resource/CIDFont/
374
375# Choose whether to compile the .ps initialization files into the executable.
376# See gs.mak for details.
377
378COMPILE_INITS=@COMPILE_INITS@
379
380# Choose whether to store band lists on files or in memory.
381# The choices are 'file' or 'memory'.
382
383BAND_LIST_STORAGE=file
384
385# Choose which compression method to use when storing band lists in memory.
386# The choices are 'lzw' or 'zlib'.
387
388BAND_LIST_COMPRESSOR=zlib
389
390# Choose the implementation of file I/O: 'stdio', 'fd', or 'both'.
391# See gs.mak and sfxfd.c for more details.
392
393FILE_IMPLEMENTATION=stdio
394
395# Choose the implementation of stdio: '' for file I/O and 'c' for callouts
396# See gs.mak and ziodevs.c/ziodevsc.c for more details.
397
398STDIO_IMPLEMENTATION=c
399
400# List of default devices, in order of priority. They need not be
401# present in the actual build.
402GS_DEV_DEFAULT="x11alpha x11 bbox"
403
404# Fallback default device.  This is set to 'display' by
405# unix-dll.mak when building a shared object.
406DISPLAY_DEV=$(DD)bbox.dev
407
408# Choose the device(s) to include.  See devs.mak for details,
409# devs.mak and contrib.mak for the list of available devices.
410
411#DEVICE_DEVS=$(DISPLAY_DEV) $(DD)x11.dev $(DD)x11alpha.dev $(DD)x11cmyk.dev $(DD)x11gray2.dev $(DD)x11gray4.dev $(DD)x11mono.dev
412#DEVICE_DEVS=$(DISPLAY_DEV) @X11DEVS@
413#DEVICE_DEVS=$(DISPLAY_DEV) @X_DEVS@
414
415#DEVICE_DEVS1=$(DD)bmpmono.dev $(DD)bmpgray.dev $(DD)bmpsep1.dev $(DD)bmpsep8.dev $(DD)bmp16.dev $(DD)bmp256.dev $(DD)bmp16m.dev $(DD)bmp32b.dev
416#DEVICE_DEVS2=#$(DD)gdevjbig2.dev $(DD)gdevjpx.dev #$(DD)rinkj.dev
417#DEVICE_DEVS3=$(DD)deskjet.dev $(DD)djet500.dev $(DD)laserjet.dev $(DD)ljetplus.dev $(DD)ljet2p.dev $(DD)ljet3.dev $(DD)ljet3d.dev $(DD)ljet4.dev $(DD)ljet4d.dev $(DD)lj5mono.dev $(DD)lj5gray.dev
418#DEVICE_DEVS4=$(DD)cdeskjet.dev $(DD)cdjcolor.dev $(DD)cdjmono.dev $(DD)cdj550.dev $(DD)pj.dev $(DD)pjxl.dev $(DD)pjxl300.dev
419#DEVICE_DEVS5=$(DD)uniprint.dev @IJSDEVS@
420#DEVICE_DEVS6=$(DD)bj10e.dev $(DD)bj200.dev $(DD)bjc600.dev $(DD)bjc800.dev
421#DEVICE_DEVS7=$(DD)faxg3.dev $(DD)faxg32d.dev $(DD)faxg4.dev $(DD)cfax.dev
422#DEVICE_DEVS8=$(DD)pcxmono.dev $(DD)pcxgray.dev $(DD)pcx16.dev $(DD)pcx256.dev $(DD)pcx24b.dev $(DD)pcxcmyk.dev
423#DEVICE_DEVS9=$(DD)pbm.dev $(DD)pbmraw.dev $(DD)pgm.dev $(DD)pgmraw.dev $(DD)pgnm.dev $(DD)pgnmraw.dev $(DD)pnm.dev $(DD)pnmraw.dev $(DD)ppm.dev $(DD)ppmraw.dev $(DD)pkm.dev $(DD)pkmraw.dev $(DD)pksm.dev $(DD)pksmraw.dev
424#DEVICE_DEVS10=$(DD)tiffcrle.dev $(DD)tiffg3.dev $(DD)tiffg32d.dev $(DD)tiffg4.dev $(DD)tifflzw.dev $(DD)tiffpack.dev
425#DEVICE_DEVS11=$(DD)tiff12nc.dev $(DD)tiff24nc.dev $(DD)tiff48nc.dev $(DD)tiffgray.dev $(DD)tiff32nc.dev $(DD)tiff64nc $(DD)tiffsep.dev $(DD)tiffsep1.dev
426#DEVICE_DEVS12=$(DD)psmono.dev $(DD)psgray.dev $(DD)psrgb.dev $(DD)bit.dev $(DD)bitrgb.dev $(DD)bitcmyk.dev
427#DEVICE_DEVS13=$(DD)pngmono.dev $(DD)pnggray.dev $(DD)png16.dev $(DD)png256.dev $(DD)png16m.dev
428#DEVICE_DEVS13=@PNGDEVS@
429#DEVICE_DEVS14=$(DD)jpeg.dev $(DD)jpeggray.dev
430#DEVICE_DEVS15=$(DD)pdfwrite.dev $(DD)pswrite.dev $(DD)ps2write.dev $(DD)epswrite.dev $(DD)txtwrite.dev $(DD)pxlmono.dev $(DD)pxlcolor.dev
431#DEVICE_DEVS16=$(DD)bbox.dev
432
433#DEVICE_DEVS17=
434#DEVICE_DEVS18=
435#DEVICE_DEVS19=
436#DEVICE_DEVS20=$(DD)cljet5.dev $(DD)cljet5c.dev
437#DEVICE_DEVS21=$(DD)spotcmyk.dev $(DD)devicen.dev $(DD)xcf.dev $(DD)psdcmyk.dev $(DD)psdrgb.dev
438DEVICE_DEVS=$(DISPLAY_DEV) @X_DEVS@
439#DEVICE_DEVS1=@FILES@
440#DEVICE_DEVS2=@PRINTERS@
441#DEVICE_DEVS3=@CUPSDEV@
442#DEVICE_DEVS4=@IJSDEVS@
443#DEVICE_DEVS5=@OMNIDEVS@
444#DEVICE_DEVS6=@PNGDEVS@
445#DEVICE_DEVS7=@JBIG2DEVS@
446#DEVICE_DEVS8=$(DD)svgwrite.dev
447#DEVICE_DEVS9=
448#DEVICE_DEVS10=
449#DEVICE_DEVS11=
450#DEVICE_DEVS12=
451#DEVICE_DEVS13=
452#DEVICE_DEVS14=
453#DEVICE_DEVS15=
454#DEVICE_DEVS16=
455#DEVICE_DEVS17=
456#DEVICE_DEVS18=
457#DEVICE_DEVS19=
458#DEVICE_DEVS20=
459#DEVICE_DEVS21=
460
461
462# Shared library target to build.
463GS_SHARED_OBJS=@DYNAMIC_DEVS@
464
465# ---------------------------- End of options --------------------------- #
466
467# Define the name of the partial makefile that specifies options --
468# used in dependencies.
469
470MAKEFILE=Makefile
471TOP_MAKEFILES=$(MAKEFILE) $(GLSRCDIR)/unixhead.mak
472
473# Define the auxiliary program dependency. We don't use this.
474
475AK=
476
477# Define the compilation rules and flags.
478
479CCFLAGS=$(GENOPT) $(CAPOPT) $(CFLAGS)
480CC_=$(CC) $(CCFLAGS)
481CCAUX=$(CC) $(CFLAGS)
482CC_LEAF=$(CC_)
483# note gcc can't use -fomit-frame-pointer with -pg.
484CC_LEAF_PG=$(CC_)
485# These are the specific warnings we have to turn off to compile those
486# specific few files that need this.  We may turn off others in the future.
487CC_NO_WARN=$(CC_)
488CC_SHARED=$(CC_) @DYNAMIC_LDFLAGS@
489
490# ---------------- End of platform-specific section ---------------- #
491
492INSTALL_CONTRIB=@INSTALL_CONTRIB@
493include $(GLSRCDIR)/unixhead.mak
494include $(GLSRCDIR)/gs.mak
495# psromfs.mak must precede lib.mak
496include $(PSSRCDIR)/psromfs.mak
497include $(GLSRCDIR)/lib.mak
498include $(PSSRCDIR)/int.mak
499include $(GLSRCDIR)/jpeg.mak
500# zlib.mak must precede libpng.mak
501include $(GLSRCDIR)/zlib.mak
502include $(GLSRCDIR)/libpng.mak
503include $(GLSRCDIR)/libtiff.mak
504include $(GLSRCDIR)/jbig2.mak
505include $(GLSRCDIR)/jasper.mak
506include $(GLSRCDIR)/ldf_jb2.mak
507include $(GLSRCDIR)/lwf_jp2.mak
508include $(GLSRCDIR)/icclib.mak
509include $(GLSRCDIR)/ijs.mak
510include $(GLSRCDIR)/devs.mak
511include $(GLSRCDIR)/contrib.mak
512include $(GLSRCDIR)/unix-aux.mak
513include $(GLSRCDIR)/unixlink.mak
514include $(GLSRCDIR)/unix-dll.mak
515include $(GLSRCDIR)/unix-end.mak
516include $(GLSRCDIR)/unixinst.mak
517@CONTRIBINCLUDE@
518@CUPSINCLUDE@
519
520# Clean up after the autotools scripts
521# configure.ac and Makefile.in are symlinks from a subdir
522# (created by autogen.sh) and so are safe to remove
523distclean : clean config-clean soclean debugclean
524	-$(RM_) -r $(BINDIR) $(GLOBJDIR) $(PSOBJDIR)
525	-$(RM_) -r autom4te.cache
526	-$(RM_) config.log config.status
527	-$(RM_) Makefile
528
529maintainer-clean : distclean
530	-$(RM_) configure.ac
531	-$(RM_) configure
532	-$(RM_) Makefile.in
533
534check : default
535	$(NO_OP)
536
537