Guest User

ghostscript-9.05 Makefile IBM i 5.4 PASE

a guest
Apr 20th, 2012
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 27.28 KB | None | 0 0
  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$
  14. # makefile template for/from the autoconf build.
  15. # Makefile.  Generated from Makefile.in by configure.
  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.  
  25. BINDIR=./$(BUILDDIRPREFIX)bin
  26. GLSRCDIR=./base
  27. GLGENDIR=./$(BUILDDIRPREFIX)obj
  28. GLOBJDIR=./$(BUILDDIRPREFIX)obj
  29. AUXDIR=$(GLGENDIR)/aux
  30. PSSRCDIR=./psi
  31. PSLIBDIR=./lib
  32. PSRESDIR=./Resource
  33. PSGENDIR=./$(BUILDDIRPREFIX)obj
  34. PSOBJDIR=./$(BUILDDIRPREFIX)obj
  35. CONTRIBDIR=./contrib
  36.  
  37. # Do not edit the next group of lines.
  38.  
  39. include $(GLSRCDIR)/version.mak
  40. DD=$(GLGENDIR)/
  41. GLD=$(GLGENDIR)/
  42. PSD=$(PSGENDIR)/
  43.  
  44. # ------ Generic options ------ #
  45.  
  46. # Define the installation commands and target directories for
  47. # executables and files.  The commands are only relevant to `make install';
  48. # the directories also define the default search path for the
  49. # initialization files (gs_*.ps) and the fonts.
  50.  
  51. INSTALL = $(GLSRCDIR)/instcopy -c
  52. INSTALL_PROGRAM = $(INSTALL) -m 755
  53. INSTALL_DATA = $(INSTALL) -m 644
  54. INSTALL_SHARED =
  55.  
  56. prefix = /usr/local
  57. exec_prefix = ${prefix}
  58. bindir = ${exec_prefix}/bin
  59. scriptdir = $(bindir)
  60. includedir = ${prefix}/include
  61. libdir = ${exec_prefix}/lib
  62. mandir = ${datarootdir}/man
  63. man1ext = 1
  64. man1dir = $(mandir)/man$(man1ext)
  65. datadir = ${datarootdir}
  66. datarootdir = ${prefix}/share
  67.  
  68. # The following must be substituted using ${datarootdir} and ${exec_prefix}/lib
  69. # to avoid adding RPM generation paths (CUPS STR #1112)
  70. gsdir = ${datarootdir}/ghostscript
  71. gsdatadir = $(gsdir)/$(GS_DOT_VERSION)
  72. gssharedir = ${exec_prefix}/lib/ghostscript/$(GS_DOT_VERSION)
  73. gsincludedir = ${prefix}/include/ghostscript/
  74.  
  75. docdir=$(gsdatadir)/doc
  76. exdir=$(gsdatadir)/examples
  77. GS_DOCDIR=$(docdir)
  78.  
  79. # Define install location for 'cups' device/filter support
  80. CUPSCFLAGS=
  81. CUPSLIBS=
  82. CUPSLIBDIRS=
  83. CUPSSERVERBIN=
  84. CUPSSERVERROOT=
  85. CUPSDATA=
  86. CUPSPDFTORASTER=0
  87.  
  88. CUPSINSTTARGET=
  89.  
  90. # Choose whether to compile the .ps initialization files into the executable.
  91. # See gs.mak for details.
  92.  
  93. COMPILE_INITS=1
  94.  
  95. # Define the default directory/ies for the runtime
  96. # initialization and font files.  Separate multiple directories with a :.
  97.  
  98. GS_LIB_DEFAULT=$(gsdatadir)/Resource/Init:$(gsdatadir)/lib:$(gsdatadir)/Resource/Font:$(gsdir)/fonts:${datarootdir}/fonts/default/ghostscript:${datarootdir}/fonts/default/Type1:${datarootdir}/fonts/default/TrueType:/usr/lib/DPS/outline/base:/usr/openwin/lib/X11/fonts/Type1:/usr/openwin/lib/X11/fonts/TrueType
  99.  
  100. # Define the default directory for cached data files
  101. # this must be a single path.
  102.  
  103. GS_CACHE_DIR="~/.ghostscript/cache/"
  104.  
  105. # Define whether or not searching for initialization files should always
  106. # look in the current directory first.  This leads to well-known security
  107. # and confusion problems,  but may be convenient sometimes.
  108.  
  109. SEARCH_HERE_FIRST=0
  110.  
  111. # Define the name of the interpreter initialization file.
  112. # (There is no reason to change this.)
  113.  
  114. GS_INIT=gs_init.ps
  115.  
  116. # Choose generic configuration options.
  117.  
  118. # -DDEBUG
  119. #   includes debugging features (-Z switch) in the code.
  120. #     Code runs substantially slower even if no debugging switches
  121. #     are set.
  122.  
  123. GENOPT=
  124.  
  125. # Choose capability options.
  126.  
  127. # -DHAVE_BSWAP32
  128. #       use bswap32 intrinsic
  129. # -DHAVE_BYTESWAP_H
  130. #       use byteswap.h functions
  131. #
  132. # -DHAVE_MKSTEMP
  133. #   uses mkstemp instead of mktemp
  134. #       This uses the more secure temporary file creation call
  135. #       Enable this if it is available on your platform.
  136. # -DHAVE_FILE64
  137. #   use marked versions of the stdio FILE calls, fopen64() et al.
  138. #
  139. # -DHAVE_MKSTEMP64
  140. #   use non-standard function mkstemp64()
  141. #
  142. # -DHAVE_LIBIDN
  143. #   use libidn to canonicalize Unicode passwords
  144. #
  145. # -DHAVE_SETLOCALE
  146. #   call setlocale(LC_CTYPE) when running as a standalone app
  147. # -DHAVE_SSE2
  148. #       use sse2 intrinsics
  149.  
  150. CAPOPT= -DHAVE_MKSTEMP -DHAVE_FILE64 -DHAVE_MKSTEMP64   -DHAVE_SETLOCALE    
  151.  
  152. # Define the name of the executable file.
  153.  
  154. GS=gs
  155.  
  156. # Define the directories for debugging and profiling binaries, relative to
  157. # the standard binaries.
  158.  
  159. DEBUGDIRPREFIX=debug
  160. MEMENTODIRPREFIX=mem
  161. PGDIRPREFIX=pg
  162.  
  163. # Define whether to compile in the FreeType library, and if so, where
  164. # the source tree is location. Otherwise, what library name to use
  165. # in linking to a shared implementation.
  166.  
  167. FT_BRIDGE=1
  168. SHARE_FT=0
  169. FTSRCDIR=freetype
  170. FT_CFLAGS=-Ifreetype/include
  171. FT_LIBS=
  172. FT_CONFIG_SYSTEM_ZLIB=
  173.  
  174. # Define whether to compile in UFST. Note that freetype will/must be disabled.
  175. # FAPI/UFST depends on UFST_BRIDGE being undefined - hence the construct below.
  176. # (i.e. use "UFST_BRIDGE=1" or *not to define UFST_BRIDGE to anything*)
  177.  
  178. UFST_ROOT=
  179. UFST_LIB_EXT=
  180.  
  181. UFST_ROMFS_ARGS?=-b \
  182.  -P $(UFST_ROOT)/fontdata/mtfonts/pcl45/mt3/ -d fontdata/mtfonts/pcl45/mt3/ pcl___xj.fco plug__xi.fco wd____xh.fco \
  183.  -P $(UFST_ROOT)/fontdata/mtfonts/pclps2/mt3/ -d fontdata/mtfonts/pclps2/mt3/ pclp2_xj.fco \
  184.  -c -P $(PSSRCDIR)/../lib/ -d Resource/Init/ FAPIconfig-FCO
  185.  
  186. UFSTROMFONTDIR=\"%rom%fontdata/\"
  187. UFSTDISCFONTDIR?=\"$(UFST_ROOT)/fontdata/\"
  188.  
  189.  
  190. UFST_CFLAGS=
  191.  
  192. # Define the directory where the IJG JPEG library sources are stored,
  193. # and the major version of the library that is stored there.
  194. # You may need to change this if the IJG library version changes.
  195. # See jpeg.mak for more information.
  196.  
  197. JSRCDIR=jpeg
  198.  
  199. # Note: if a shared library is used, it may not contain the
  200. # D_MAX_BLOCKS_IN_MCU patch, and thus may not be able to read
  201. # some older JPEG streams that violate the standard. If the JPEG
  202. # library built from local sources, the patch will be applied.
  203.  
  204. SHARE_JPEG=0
  205. JPEG_NAME=jpeg
  206.  
  207. # Define the directory where the PNG library sources are stored,
  208. # and the version of the library that is stored there.
  209. # You may need to change this if the libpng version changes.
  210. # See png.mak for more information.
  211.  
  212. SHARE_LIBPNG=0
  213. PNGSRCDIR=libpng
  214. LIBPNG_NAME=png
  215.  
  216. # libtiff
  217. SHARE_LIBTIFF=0
  218. TIFFSRCDIR=tiff
  219. TIFFPLATFORM=unix
  220. TIFFCONFIG_SUFFIX=
  221. LIBTIFF_NAME=tiff
  222.  
  223. # Define the directory where the zlib sources are stored.
  224. # See zlib.mak for more information.
  225.  
  226. SHARE_ZLIB=0
  227. ZSRCDIR=zlib
  228. #ZLIB_NAME=gz
  229. ZLIB_NAME=z
  230.  
  231. # Choose shared or compiled in libjbig2dec and source location
  232. # JBIG2_LIB=jbig2dec
  233. JBIG2_LIB=
  234. SHARE_JBIG2=0
  235. JBIG2SRCDIR=src
  236. JBIG2_CFLAGS=
  237.  
  238. # uncomment the following three lines and one of the last two to
  239. # compile in the Luratech ldf_jb2 codec
  240. #JBIG2_LIB=luratech
  241. #SHARE_JBIG2=0
  242. #JBIG2SRCDIR=ldf_jb2
  243. #JBIG2_CFLAGS=-DUSE_LDF_JB2 -DLINUX
  244. #JBIG2_CFLAGS=-DUSE_LDF_JB2 -DMAC -DMAC_OS_X_BUILD
  245.  
  246.  
  247. # Choose the library to use for (JPXDecode support)
  248. # whether to link to an external build or compile in from source
  249. # and source location and configuration flags for compiling in
  250. JPX_LIB=openjpeg
  251. SHARE_JPX=0
  252. JPXSRCDIR=openjpeg
  253. JPX_CFLAGS=-DUSE_OPENJPEG_JP2
  254.  
  255. # uncomment the following three lines and one of the last two to
  256. # compile in the Luratech lwf_jp2 codec
  257. #JPX_LIB=luratech
  258. #SHARE_JPX=0
  259. #JPXSRCDIR=lwf_jp2
  260. #JPX_CFLAGS=-DUSE_LWF_JP2 -DLINUX
  261. #JPX_CFLAGS=-DUSE_LWF_JP2 -DMAC -DMAC_OS_X_BUILD
  262.  
  263. # Uncomment the following 4 lines to to compile in OpenJPEG codec
  264. #JPX_LIB=openjpeg
  265. #SHARE_JPX=0
  266. #JPXSRCDIR=openjpeg
  267. #JPX_CFLAGS=-DUSE_OPENJPEG_JP2 -DOPJ_STATIC
  268.  
  269. # Define the directory where the icclib source are stored.
  270. # See icclib.mak for more information
  271.  
  272. ICCSRCDIR=icclib
  273.  
  274. # options for lcms color management library
  275. SHARE_LCMS=0
  276. LCMSSRCDIR=
  277. LCMS2SRCDIR=lcms2
  278. LCMS_CFLAGS=-DUSE_BIG_ENDIAN=1
  279. LCMS2_CFLAGS=-DCMS_USE_BIG_ENDIAN=1
  280.  
  281. # Which CMS are we using?
  282. # Options are currently lcms or lcms2
  283. WHICH_CMS=lcms2
  284.  
  285. # Define the directory where the ijs source is stored,
  286. # and the process forking method to use for the server.
  287. # See ijs.mak for more information.
  288.  
  289. SHARE_IJS=0
  290. IJS_NAME=
  291. IJSSRCDIR=ijs
  292. IJSEXECTYPE=unix
  293.  
  294.  
  295. SHARE_LCUPS=1
  296. LCUPS_NAME=cups
  297. LCUPSSRCDIR=cups
  298. LCUPSBUILDTYPE=
  299. CUPS_CC=$(CC)
  300.  
  301. SHARE_LCUPSI=1
  302. LCUPSI_NAME=cupsimage
  303. LCUPSISRCDIR=cups
  304. CUPS_CC=$(CC)
  305.  
  306.  
  307. # Define how to build the library archives.  (These are not used in any
  308. # standard configuration.)
  309.  
  310. AR=ar
  311. ARFLAGS=qc
  312. RANLIB=ranlib
  313.  
  314. # ------ Platform-specific options ------ #
  315.  
  316. # Define the name of the C compiler (target and host (AUX))
  317.  
  318. CC=gcc
  319. CCAUX=gcc
  320.  
  321. # Define the name of the linker for the final link step.
  322. # Normally this is the same as the C compiler.
  323.  
  324. CCLD=$(CC)
  325. CCAUXLD=$(CCAUX)
  326.  
  327. # Define the default gcc flags.
  328. GCFLAGS=  -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H=1 -DHAVE_SYS_TIME_H=1 -DGX_COLOR_INDEX_TYPE="unsigned long long"
  329.  
  330. # Define the added flags for standard, debugging, profiling
  331. # and shared object builds.
  332.  
  333. CFLAGS_STANDARD= -O
  334. CFLAGS_DEBUG=
  335. CFLAGS_PROFILE=-pg  -O
  336. CFLAGS_SO=
  337.  
  338. # Define the other compilation flags.  Add at most one of the following:
  339. #   -DBSD4_2 for 4.2bsd systems.
  340. #   -DSYSV for System V or DG/UX.
  341. #   -DSYSV -D__SVR3 for SCO ODT, ISC Unix 2.2 or before,
  342. #      or any System III Unix, or System V release 3-or-older Unix.
  343. #   -DSVR4 -DSVR4_0 (not -DSYSV) for System V release 4.0.
  344. #   -DSVR4 (not -DSYSV) for System V release 4.2 (or later) and Solaris 2.
  345. # XCFLAGS can be set from the command line.
  346. # We don't include -ansi, because this gets in the way of the platform-
  347. #   specific stuff that <math.h> typically needs; nevertheless, we expect
  348. #   gcc to accept ANSI-style function prototypes and function definitions.
  349. # CFLAGS from autoconf
  350. AC_CFLAGS=
  351.  
  352. # fontconfig flags, used by unix-aux.mak
  353. FONTCONFIG_CFLAGS=
  354. FONTCONFIG_LIBS=
  355.  
  356. # DBus flags, used by cups.mak
  357. DBUS_CFLAGS=
  358. DBUS_LIBS=
  359.  
  360. # defines from autoconf; note that we don't use these at present.
  361. ACDEFS=-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ERRNO_H=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_MALLOC_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRUCT_STAT_ST_BLOCKS=1 -DHAVE_ST_BLOCKS=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_UNSIGNED_LONG_INT=4 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBM=1 -DUSE_LIBICONV_NATIVE=1 -DHAVE_LIBDL=1 -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 -DHAVE_LIBXT=1 -DHAVE_MKSTEMP=1 -DHAVE_FOPEN64=1 -DHAVE_MKSTEMP64=1 -DHAVE_SETLOCALE=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=0 -Dmalloc=rpl_malloc -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_DOPRNT=1 -DHAVE_BZERO=1 -DHAVE_DUP2=1 -DHAVE_FLOOR=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MEMCHR=1 -DHAVE_MEMMOVE=1 -DHAVE_MEMSET=1 -DHAVE_MKDIR=1 -DHAVE_MKFIFO=1 -DHAVE_MODF=1 -DHAVE_POW=1 -DHAVE_PUTENV=1 -DHAVE_RINT=1 -DHAVE_SETENV=1 -DHAVE_SQRT=1 -DHAVE_STRCHR=1 -DHAVE_STRERROR=1 -DHAVE_STRRCHR=1 -DHAVE_STRSPN=1 -DHAVE_STRSTR=1
  362.  
  363. CFLAGS=$(CFLAGS_STANDARD) $(GCFLAGS) $(AC_CFLAGS) $(XCFLAGS)
  364.  
  365. # Define platform flags for ld.
  366. # SunOS 4.n may need -Bstatic.
  367. # Solaris 2.6 (and possibly some other versions) with any of the SHARE_
  368. # parameters set to 1 may need
  369. #   -R /usr/local/xxx/lib:/usr/local/lib
  370. # giving the full path names of the shared library directories.
  371. # XLDFLAGS can be set from the command line.
  372. # AC_LDFLAGS from autoconf
  373. AC_LDFLAGS=
  374.  
  375. LDFLAGS= $(AC_LDFLAGS) $(XLDFLAGS)
  376.  
  377. # Define any extra libraries to link into the executable.
  378. # ISC Unix 2.2 wants -linet.
  379. # SCO Unix needs -lsocket if you aren't including the X11 driver.
  380. # SVR4 may need -lnsl.
  381. # Solaris may need -lnsl -lsocket -lposix4.
  382. # (Libraries required by individual drivers are handled automatically.)
  383.  
  384. EXTRALIBS=$(XTRALIBS) -ldl -lm  -liconv  
  385.  
  386. # Define the standard libraries to search at the end of linking.
  387. # Most platforms require -lpthread for the POSIX threads library;
  388. # on FreeBSD, change -lpthread to -lc_r; BSDI and perhaps some others
  389. # include pthreads in libc and don't require any additional library.
  390. # All reasonable platforms require -lm, but Rhapsody and perhaps one or
  391. # two others fold libm into libc and don't require any additional library.
  392.  
  393. STDLIBS=-lpthread -lm
  394.  
  395. # Define the include switch(es) for the X11 header files.
  396. # This can be null if handled in some other way (e.g., the files are
  397. # in /usr/include, or the directory is supplied by an environment variable)
  398.  
  399. XINCLUDE=
  400.  
  401. # Define the directory/ies and library names for the X11 library files.
  402. # XLIBDIRS is for ld and should include -L; XLIBDIR is for LD_RUN_PATH
  403. # (dynamic libraries on SVR4) and should not include -L.
  404. # Newer SVR4 systems can use -R in XLIBDIRS rather than setting XLIBDIR.
  405. # Both can be null if these files are in the default linker search path.
  406.  
  407. # Solaris and other SVR4 systems with dynamic linking probably want
  408. #XLIBDIRS=-L/usr/openwin/lib -R/usr/openwin/lib
  409. # X11R6 (on any platform) may need
  410. #XLIBS=Xt SM ICE Xext X11
  411.  
  412. # We use the autoconf macro AC_PATH_XTRA which defines X_LIBS with
  413. # the -L (or whatever). It also defines X_PRE_LIBS and X_EXTRA_LIBS
  414. # all three of which are stripped and slotted into XLIBS below.
  415. # Usually however, all but X_LIBS are empty on modern platforms.
  416. XLIBDIRS=
  417. XLIBDIR=
  418. #XLIBS=Xt Xext X11
  419. XLIBS= Xt SM ICE Xext X11
  420.  
  421. # Define the .dev module that implements thread and synchronization
  422. # primitives for this platform.
  423.  
  424. # If POSIX sync primitives are used, also change the STDLIBS to include
  425. # the pthread library. Otherwise use SYNC=nosync
  426. #SYNC=posync
  427. #SYNC=nosync
  428. SYNC=posync
  429.  
  430. # programs we use
  431. RM=rm -f
  432.  
  433. # ------ Dynamic loader options ------- #
  434. SOC_CFLAGS  =  
  435. SOC_LIBS    =  
  436. SOC_LOADER  =   dxmainc.c
  437.  
  438.  
  439. #CAIRO_CFLAGS   =   @CAIRO_CFLAGS@
  440. #CAIRO_LIBS =   @CAIRO_LIBS@
  441.  
  442. # ------ Devices and features ------ #
  443.  
  444. # Choose the language feature(s) to include.  See gs.mak for details.
  445.  
  446. FEATURE_DEVS=$(PSD)psl3.dev $(PSD)pdf.dev $(PSD)dpsnext.dev $(PSD)ttfont.dev $(PSD)epsf.dev $(GLD)pipe.dev $(GLD)gsnogc.dev $(GLD)htxlib.dev $(PSD)fapi.dev  $(PSD)jpx.dev
  447. #FEATURE_DEVS=$(PSD)psl3.dev $(PSD)pdf.dev
  448. #FEATURE_DEVS=$(PSD)psl3.dev $(PSD)pdf.dev $(PSD)dpsnext.dev $(PSD)ttfont.dev $(PSD)rasterop.dev $(GLD)pipe.dev
  449. # The following is strictly for testing.
  450. FEATURE_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  $(PSD)jpx.dev
  451. #FEATURE_DEVS=$(FEATURE_DEVS_ALL)
  452.  
  453. # The list of resources to be included in the %rom% file system.
  454. # This is in the top makefile since the file descriptors are platform specific
  455. RESOURCE_LIST=Resource/CMap/ Resource/ColorSpace/ Resource/Decoding/ Resource/Font/ Resource/ProcSet/ Resource/IdiomSet/ Resource/CIDFont/
  456.  
  457. # Choose whether to store band lists on files or in memory.
  458. # The choices are 'file' or 'memory'.
  459.  
  460. BAND_LIST_STORAGE=file
  461.  
  462. # Choose which compression method to use when storing band lists in memory.
  463. # The choices are 'lzw' or 'zlib'.
  464.  
  465. BAND_LIST_COMPRESSOR=zlib
  466.  
  467. # Choose the implementation of file I/O: 'stdio', 'fd', or 'both'.
  468. # See gs.mak and sfxfd.c for more details.
  469.  
  470. FILE_IMPLEMENTATION=stdio
  471.  
  472. # Choose the implementation of stdio: '' for file I/O and 'c' for callouts
  473. # See gs.mak and ziodevs.c/ziodevsc.c for more details.
  474.  
  475. STDIO_IMPLEMENTATION=c
  476.  
  477. # List of default devices, in order of priority. They need not be
  478. # present in the actual build.
  479. GS_DEV_DEFAULT="x11alpha bbox"
  480.  
  481. # Fallback default device.  This is set to 'display' by
  482. # unix-dll.mak when building a shared object.
  483. DISPLAY_DEV=$(DD)bbox.dev
  484.  
  485. # Choose the device(s) to include.  See devs.mak for details,
  486. # devs.mak and contrib.mak for the list of available devices.
  487.  
  488. #DEVICE_DEVS=$(DISPLAY_DEV) $(DD)x11.dev $(DD)x11alpha.dev $(DD)x11cmyk.dev $(DD)x11gray2.dev $(DD)x11gray4.dev $(DD)x11mono.dev
  489. #DEVICE_DEVS=$(DISPLAY_DEV) @X11DEVS@
  490. #DEVICE_DEVS=$(DISPLAY_DEV) @X_DEVS@
  491.  
  492. #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
  493. #DEVICE_DEVS2=#$(DD)gdevjbig2.dev $(DD)gdevjpx.dev #$(DD)rinkj.dev
  494. #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
  495. #DEVICE_DEVS4=$(DD)cdeskjet.dev $(DD)cdjcolor.dev $(DD)cdjmono.dev $(DD)cdj550.dev $(DD)pj.dev $(DD)pjxl.dev $(DD)pjxl300.dev
  496. #DEVICE_DEVS5=$(DD)uniprint.dev @IJSDEVS@
  497. #DEVICE_DEVS6=$(DD)bj10e.dev $(DD)bj200.dev $(DD)bjc600.dev $(DD)bjc800.dev
  498. #DEVICE_DEVS7=$(DD)faxg3.dev $(DD)faxg32d.dev $(DD)faxg4.dev $(DD)cfax.dev
  499. #DEVICE_DEVS8=$(DD)pcxmono.dev $(DD)pcxgray.dev $(DD)pcx16.dev $(DD)pcx256.dev $(DD)pcx24b.dev $(DD)pcxcmyk.dev
  500. #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
  501. #DEVICE_DEVS10=$(DD)tiffcrle.dev $(DD)tiffg3.dev $(DD)tiffg32d.dev $(DD)tiffg4.dev $(DD)tifflzw.dev $(DD)tiffpack.dev
  502. #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
  503. #DEVICE_DEVS12=$(DD)psmono.dev $(DD)psgray.dev $(DD)psrgb.dev $(DD)bit.dev $(DD)bitrgb.dev $(DD)bitcmyk.dev
  504. #DEVICE_DEVS13=$(DD)pngmono.dev $(DD)pnggray.dev $(DD)png16.dev $(DD)png256.dev $(DD)png16m.dev
  505. #DEVICE_DEVS13=@PNGDEVS@
  506. #DEVICE_DEVS14=$(DD)jpeg.dev $(DD)jpeggray.dev
  507. #DEVICE_DEVS15=$(DD)pdfwrite.dev $(DD)pswrite.dev $(DD)ps2write.dev $(DD)epswrite.dev $(DD)txtwrite.dev $(DD)pxlmono.dev $(DD)pxlcolor.dev
  508. #DEVICE_DEVS16=$(DD)bbox.dev
  509.  
  510. #DEVICE_DEVS17=
  511. #DEVICE_DEVS18=
  512. #DEVICE_DEVS19=
  513. #DEVICE_DEVS20=$(DD)cljet5.dev $(DD)cljet5c.dev
  514. #DEVICE_DEVS21=$(DD)spotcmyk.dev $(DD)devicen.dev $(DD)xcf.dev $(DD)psdcmyk.dev $(DD)psdrgb.dev
  515. DEVICE_DEVS=$(DISPLAY_DEV) $(DD)x11.dev $(DD)x11_.dev $(DD)x11alpha.dev $(DD)x11alt_.dev $(DD)x11cmyk.dev $(DD)x11cmyk2.dev $(DD)x11cmyk4.dev $(DD)x11cmyk8.dev $(DD)x11gray2.dev $(DD)x11gray4.dev $(DD)x11mono.dev $(DD)x11rg16x.dev $(DD)x11rg32x.dev
  516. DEVICE_DEVS1=$(DD)bbox.dev $(DD)bit.dev $(DD)bitcmyk.dev $(DD)bitrgb.dev $(DD)bitrgbtags.dev $(DD)bmp16.dev $(DD)bmp16m.dev $(DD)bmp256.dev $(DD)bmp32b.dev $(DD)bmpgray.dev $(DD)bmpmono.dev $(DD)bmpsep1.dev $(DD)bmpsep8.dev $(DD)ccr.dev $(DD)cfax.dev $(DD)cif.dev $(DD)devicen.dev $(DD)dfaxhigh.dev $(DD)dfaxlow.dev $(DD)epswrite.dev $(DD)fax.dev $(DD)faxg3.dev $(DD)faxg32d.dev $(DD)faxg4.dev $(DD)inferno.dev $(DD)inkcov.dev $(DD)jpeg.dev $(DD)jpegcmyk.dev $(DD)jpeggray.dev $(DD)mag16.dev $(DD)mag256.dev $(DD)mgr4.dev $(DD)mgr8.dev $(DD)mgrgray2.dev $(DD)mgrgray4.dev $(DD)mgrgray8.dev $(DD)mgrmono.dev $(DD)miff24.dev $(DD)pam.dev $(DD)pamcmyk32.dev $(DD)pamcmyk4.dev $(DD)pbm.dev $(DD)pbmraw.dev $(DD)pcx16.dev $(DD)pcx24b.dev $(DD)pcx256.dev $(DD)pcx2up.dev $(DD)pcxcmyk.dev $(DD)pcxgray.dev $(DD)pcxmono.dev $(DD)pdfwrite.dev $(DD)pgm.dev $(DD)pgmraw.dev $(DD)pgnm.dev $(DD)pgnmraw.dev $(DD)pkm.dev $(DD)pkmraw.dev $(DD)pksm.dev $(DD)pksmraw.dev $(DD)plan.dev $(DD)plan9bm.dev $(DD)planc.dev $(DD)plang.dev $(DD)plank.dev $(DD)planm.dev $(DD)pnm.dev $(DD)pnmraw.dev $(DD)ppm.dev $(DD)ppmraw.dev $(DD)ps2write.dev $(DD)psdcmyk.dev $(DD)psdf.dev $(DD)psdrgb.dev $(DD)psgray.dev $(DD)psmono.dev $(DD)psrgb.dev $(DD)pswrite.dev $(DD)sgirgb.dev $(DD)spotcmyk.dev $(DD)sunhmono.dev $(DD)tfax.dev $(DD)tiff12nc.dev $(DD)tiff24nc.dev $(DD)tiff32nc.dev $(DD)tiff48nc.dev $(DD)tiff64nc.dev $(DD)tiffcrle.dev $(DD)tiffg3.dev $(DD)tiffg32d.dev $(DD)tiffg4.dev $(DD)tiffgray.dev $(DD)tifflzw.dev $(DD)tiffpack.dev $(DD)tiffs.dev $(DD)tiffscaled.dev $(DD)tiffscaled24.dev $(DD)tiffscaled8.dev $(DD)tiffsep.dev $(DD)tiffsep1.dev $(DD)txtwrite.dev $(DD)xcf.dev
  517. DEVICE_DEVS2=$(DD)alc1900.dev $(DD)alc2000.dev $(DD)alc4000.dev $(DD)alc4100.dev $(DD)alc8500.dev $(DD)alc8600.dev $(DD)alc9100.dev $(DD)ap3250.dev $(DD)appledmp.dev $(DD)atx23.dev $(DD)atx24.dev $(DD)atx38.dev $(DD)bj10e.dev $(DD)bj10v.dev $(DD)bj10vh.dev $(DD)bj200.dev $(DD)bjc600.dev $(DD)bjc800.dev $(DD)bjc880j.dev $(DD)bjccmyk.dev $(DD)bjccolor.dev $(DD)bjcgray.dev $(DD)bjcmono.dev $(DD)cdeskjet.dev $(DD)cdj1600.dev $(DD)cdj500.dev $(DD)cdj550.dev $(DD)cdj670.dev $(DD)cdj850.dev $(DD)cdj880.dev $(DD)cdj890.dev $(DD)cdj970.dev $(DD)cdjcolor.dev $(DD)cdjmono.dev $(DD)cdnj500.dev $(DD)chp2200.dev $(DD)cljet5.dev $(DD)cljet5c.dev $(DD)cljet5pr.dev $(DD)coslw2p.dev $(DD)coslwxl.dev $(DD)cp50.dev $(DD)declj250.dev $(DD)deskjet.dev $(DD)dj505j.dev $(DD)djet500.dev $(DD)djet500c.dev $(DD)dl2100.dev $(DD)dnj650c.dev $(DD)epl2050.dev $(DD)epl2050p.dev $(DD)epl2120.dev $(DD)epl2500.dev $(DD)epl2750.dev $(DD)epl5800.dev $(DD)epl5900.dev $(DD)epl6100.dev $(DD)epl6200.dev $(DD)eplcolor.dev $(DD)eplmono.dev $(DD)eps9high.dev $(DD)eps9mid.dev $(DD)epson.dev $(DD)epsonc.dev $(DD)escp.dev $(DD)escpage.dev $(DD)fmlbp.dev $(DD)fmpr.dev $(DD)fs600.dev $(DD)gdi.dev $(DD)hl1240.dev $(DD)hl1250.dev $(DD)hl7x0.dev $(DD)hpdj1120c.dev $(DD)hpdj310.dev $(DD)hpdj320.dev $(DD)hpdj340.dev $(DD)hpdj400.dev $(DD)hpdj500.dev $(DD)hpdj500c.dev $(DD)hpdj510.dev $(DD)hpdj520.dev $(DD)hpdj540.dev $(DD)hpdj550c.dev $(DD)hpdj560c.dev $(DD)hpdj600.dev $(DD)hpdj660c.dev $(DD)hpdj670c.dev $(DD)hpdj680c.dev $(DD)hpdj690c.dev $(DD)hpdj850c.dev $(DD)hpdj855c.dev $(DD)hpdj870c.dev $(DD)hpdj890c.dev $(DD)hpdjplus.dev $(DD)hpdjportable.dev $(DD)ibmpro.dev $(DD)imagen.dev $(DD)iwhi.dev $(DD)iwlo.dev $(DD)iwlq.dev $(DD)jetp3852.dev $(DD)jj100.dev $(DD)la50.dev $(DD)la70.dev $(DD)la75.dev $(DD)la75plus.dev $(DD)laserjet.dev $(DD)lbp310.dev $(DD)lbp320.dev $(DD)lbp8.dev $(DD)lex2050.dev $(DD)lex3200.dev $(DD)lex5700.dev $(DD)lex7000.dev $(DD)lips2p.dev $(DD)lips3.dev $(DD)lips4.dev $(DD)lips4v.dev $(DD)lj250.dev $(DD)lj3100sw.dev $(DD)lj4dith.dev $(DD)lj4dithp.dev $(DD)lj5gray.dev $(DD)lj5mono.dev $(DD)ljet2p.dev $(DD)ljet3.dev $(DD)ljet3d.dev $(DD)ljet4.dev $(DD)ljet4d.dev $(DD)ljet4pjl.dev $(DD)ljetplus.dev $(DD)ln03.dev $(DD)lp1800.dev $(DD)lp1900.dev $(DD)lp2000.dev $(DD)lp2200.dev $(DD)lp2400.dev $(DD)lp2500.dev $(DD)lp2563.dev $(DD)lp3000c.dev $(DD)lp7500.dev $(DD)lp7700.dev $(DD)lp7900.dev $(DD)lp8000.dev $(DD)lp8000c.dev $(DD)lp8100.dev $(DD)lp8200c.dev $(DD)lp8300c.dev $(DD)lp8300f.dev $(DD)lp8400f.dev $(DD)lp8500c.dev $(DD)lp8600.dev $(DD)lp8600f.dev $(DD)lp8700.dev $(DD)lp8800c.dev $(DD)lp8900.dev $(DD)lp9000b.dev $(DD)lp9000c.dev $(DD)lp9100.dev $(DD)lp9200b.dev $(DD)lp9200c.dev $(DD)lp9300.dev $(DD)lp9400.dev $(DD)lp9500c.dev $(DD)lp9600.dev $(DD)lp9600s.dev $(DD)lp9800c.dev $(DD)lps4500.dev $(DD)lps6500.dev $(DD)lq850.dev $(DD)lxm3200.dev $(DD)lxm5700m.dev $(DD)m8510.dev $(DD)md1xMono.dev $(DD)md2k.dev $(DD)md50Eco.dev $(DD)md50Mono.dev $(DD)md5k.dev $(DD)mj500c.dev $(DD)mj6000c.dev $(DD)mj700v2c.dev $(DD)mj8000c.dev $(DD)ml600.dev $(DD)necp6.dev $(DD)npdl.dev $(DD)oce9050.dev $(DD)oki182.dev $(DD)oki4w.dev $(DD)okiibm.dev $(DD)oprp.dev $(DD)opvp.dev $(DD)paintjet.dev $(DD)pcl3.dev $(DD)photoex.dev $(DD)picty180.dev $(DD)pj.dev $(DD)pjetxl.dev $(DD)pjxl.dev $(DD)pjxl300.dev $(DD)pr1000.dev $(DD)pr1000_4.dev $(DD)pr150.dev $(DD)pr201.dev $(DD)pxlcolor.dev $(DD)pxlmono.dev $(DD)r4081.dev $(DD)rinkj.dev $(DD)rpdl.dev $(DD)samsunggdi.dev $(DD)sj48.dev $(DD)st800.dev $(DD)stcolor.dev $(DD)t4693d2.dev $(DD)t4693d4.dev $(DD)t4693d8.dev $(DD)tek4696.dev $(DD)uniprint.dev $(DD)xes.dev
  518. DEVICE_DEVS3=
  519. DEVICE_DEVS4=$(DD)ijs.dev
  520. DEVICE_DEVS5=
  521. DEVICE_DEVS6=$(DD)png16.dev $(DD)png16m.dev $(DD)png256.dev $(DD)png48.dev $(DD)pngalpha.dev $(DD)pnggray.dev $(DD)pngmono.dev
  522. DEVICE_DEVS7=
  523. DEVICE_DEVS8=
  524. DEVICE_DEVS9=
  525. DEVICE_DEVS10=
  526. DEVICE_DEVS11=
  527. DEVICE_DEVS12=
  528. DEVICE_DEVS13=
  529. DEVICE_DEVS14=
  530. DEVICE_DEVS15=
  531. DEVICE_DEVS16=
  532. DEVICE_DEVS17=
  533. DEVICE_DEVS18=
  534. DEVICE_DEVS19=
  535. DEVICE_DEVS20=
  536. DEVICE_DEVS21=
  537.  
  538.  
  539. # Shared library target to build.
  540. GS_SHARED_OBJS=
  541.  
  542. # ---------------------------- End of options --------------------------- #
  543.  
  544. # Define the name of the partial makefile that specifies options --
  545. # used in dependencies.
  546.  
  547. MAKEFILE=Makefile
  548. TOP_MAKEFILES=$(MAKEFILE) $(GLSRCDIR)/unixhead.mak
  549.  
  550. # Define the auxiliary program dependency. We don't use this.
  551.  
  552. AK=
  553.  
  554. # Define the compilation rules and flags.
  555.  
  556. CCFLAGS=$(GENOPT) $(CAPOPT) $(CFLAGS)
  557. CC_=$(CC) $(CCFLAGS)
  558. CCAUX_=$(CCAUX) $(CFLAGS)
  559. CC_LEAF=$(CC_)
  560. # note gcc can't use -fomit-frame-pointer with -pg.
  561. CC_LEAF_PG=$(CC_)
  562. # These are the specific warnings we have to turn off to compile those
  563. # specific few files that need this.  We may turn off others in the future.
  564. CC_NO_WARN=$(CC_)
  565. CCAUX_NO_WARN=$(CCAUX_)
  566. CC_SHARED=$(CC_)
  567.  
  568. LD_SET_DT_SONAME=-soname=
  569. FOR_MAC=
  570.  
  571. # MAKEDIRS = the dependency on ALL object files (must be the last one on
  572. # the line. Requires GNU make to make it an 'order only' dependency
  573. # MAKEDIRSTOP = the topmost dependency - set this if you can't set MAKEDIRS
  574.  
  575. MAKEDIRS=| directories
  576. MAKEDIRSTOP=
  577.  
  578. # ---------------- End of platform-specific section ---------------- #
  579.  
  580. INSTALL_CONTRIB=install-contrib-extras
  581. include $(GLSRCDIR)/unixhead.mak
  582. include $(GLSRCDIR)/gs.mak
  583. # psromfs.mak must precede lib.mak
  584. include $(PSSRCDIR)/psromfs.mak
  585. include $(GLSRCDIR)/lib.mak
  586. include $(PSSRCDIR)/int.mak
  587. include $(GLSRCDIR)/freetype.mak
  588. include $(GLSRCDIR)/jpeg.mak
  589. # zlib.mak must precede png.mak
  590. include $(GLSRCDIR)/zlib.mak
  591. include $(GLSRCDIR)/png.mak
  592. include $(GLSRCDIR)/tiff.mak
  593. include $(GLSRCDIR)/jbig2.mak
  594. include $(GLSRCDIR)/jasper.mak
  595. include $(GLSRCDIR)/ldf_jb2.mak
  596. include $(GLSRCDIR)/lwf_jp2.mak
  597. include $(GLSRCDIR)/openjpeg.mak
  598. include $(GLSRCDIR)/icclib.mak
  599. include $(GLSRCDIR)/$(WHICH_CMS).mak
  600. include $(GLSRCDIR)/ijs.mak
  601.  
  602.  
  603. include $(GLSRCDIR)/devs.mak
  604. include $(GLSRCDIR)/contrib.mak
  605. include $(GLSRCDIR)/unix-aux.mak
  606. include $(GLSRCDIR)/unixlink.mak
  607. include $(GLSRCDIR)/unix-dll.mak
  608. include $(GLSRCDIR)/unix-end.mak
  609. include $(GLSRCDIR)/unixinst.mak
  610. include contrib/contrib.mak
  611.  
  612.  
  613. # Clean up after the autotools scripts
  614. # configure.ac and Makefile.in are symlinks from a subdir
  615. # (created by autogen.sh) and so are safe to remove
  616. distclean : clean config-clean soclean pgclean debugclean
  617.     -$(RM_) -r $(BINDIR) $(GLOBJDIR) $(PSOBJDIR) $(AUXDIR)
  618.     -$(RM_) -r autom4te.cache
  619.     -$(RM_) config.log config.status
  620.     -$(RM_) Makefile
  621.     @-rmdir $(BINDIR) $(GLOBJDIR) $(PSOBJDIR)
  622. # The following is *very* poor - we shouldn't be creating derived files in
  623. # the source directory, but for now.....
  624.     -$(RM_) $(TIFFSRCDIR)$(D)libtiff$(D)tif_config.h $(TIFFSRCDIR)$(D)libtiff$(D)tiffconf.h
  625.  
  626. # a debug-clean target for consistency with the ghostpdl builds
  627. debug-clean : debugclean
  628.  
  629. memento-clean : mementoclean
  630.  
  631. maintainer-clean : distclean
  632.     -$(RM_) configure.ac
  633.     -$(RM_) configure
  634.     -$(RM_) Makefile.in
  635.  
  636. check : default
  637.     $(NO_OP)
Advertisement
Add Comment
Please, Sign In to add comment