1 --- Makefile.in.orig 2014-03-26 21:53:48.000000000 +0900
2 +++ Makefile.in 2014-11-23 17:01:12.000000000 +0900
4 # the directories also define the default search path for the
5 # initialization files (gs_*.ps) and the fonts.
7 -INSTALL = $(GLSRCDIR)/instcopy -c
8 -INSTALL_PROGRAM = $(INSTALL) -m 755
9 -INSTALL_DATA = $(INSTALL) -m 644
10 +INSTALL_PROGRAM = ${BSD_INSTALL_PROGRAM}
11 +INSTALL_SCRIPT = ${BSD_INSTALL_SCRIPT}
12 +INSTALL_DATA = ${BSD_INSTALL_DATA}
13 INSTALL_SHARED = @INSTALL_SHARED@
17 # some older JPEG streams that violate the standard. If the JPEG
18 # library built from local sources, the patch will be applied.
20 -SHARE_JPEG=@SHARE_LIBJPEG@
24 # Define the directory where the PNG library sources are stored,
26 # You may need to change this if the libpng version changes.
27 # See png.mak for more information.
29 -SHARE_LIBPNG=@SHARE_LIBPNG@
35 -SHARE_LIBTIFF=@SHARE_LIBTIFF@
37 TIFFSRCDIR=@LIBTIFFDIR@
38 TIFFCONFDIR=@LIBTIFFCONFDIR@
41 # Define the directory where the zlib sources are stored.
42 # See zlib.mak for more information.
44 -SHARE_ZLIB=@SHARE_ZLIB@
53 -JPX_CFLAGS=@JPX_AUTOCONF_CFLAGS@
54 +JPX_CFLAGS=@JPX_AUTOCONF_CFLAGS@ -ffast-math -DOPJ_STATIC -std=c99
56 # uncomment the following three lines and one of the last two to
57 # compile in the Luratech lwf_jp2 codec
59 # Define the added flags for standard, debugging, profiling
60 # and shared object builds.
62 -CFLAGS_STANDARD=@OPT_CFLAGS@
63 +CFLAGS_STANDARD?=@OPT_CFLAGS@
64 CFLAGS_DEBUG=@DBG_CFLAGS@
65 CFLAGS_PROFILE=-pg @OPT_CFLAGS@
66 CFLAGS_SO=@DYNAMIC_CFLAGS@
68 # Solaris may need -lnsl -lsocket -lposix4.
69 # (Libraries required by individual drivers are handled automatically.)
71 -EXTRALIBS=$(XTRALIBS) @LIBS@ @DYNAMIC_LIBS@ @FONTCONFIG_LIBS@ @FT_LIBS@
72 -AUXEXTRALIBS=$(XTRALIBS) @LIBS@ @DYNAMIC_LIBS@ @FONTCONFIG_LIBS@ @FT_LIBS@ @AUX_SHARED_ZLIB@
73 +EXTRALIBS=$(XTRALIBS) @LIBS@ @DYNAMIC_LIBS@ @FONTCONFIG_LIBS@ @FT_LIBS@ -Wl,-export-dynamic
74 +AUXEXTRALIBS=$(XTRALIBS) @LIBS@ @DYNAMIC_LIBS@ @FONTCONFIG_LIBS@ @FT_LIBS@ @AUX_SHARED_ZLIB@ -Wl,-export-dynamic
76 # Define the standard libraries to search at the end of linking.
77 # Most platforms require -lpthread for the POSIX threads library;
79 # the pthread library. Otherwise use SYNC=nosync
88 #DEVICE_DEVS20=$(DD)cljet5.dev $(DD)cljet5c.dev
89 #DEVICE_DEVS21=$(DD)spotcmyk.dev $(DD)devicen.dev $(DD)xcf.dev $(DD)psdcmyk.dev $(DD)psdrgb.dev $(DD)psdcmykog.dev $(DD)fpng.dev
90 DEVICE_DEVS=$(DISPLAY_DEV) @X11_DEVS@
91 -DEVICE_DEVS1=@F_DEVS@
92 -DEVICE_DEVS2=@P_DEVS@
93 -DEVICE_DEVS3=@CUPS_DEVS@
94 -DEVICE_DEVS4=@IJS_DEVS@
95 -DEVICE_DEVS5=@OMNIDEVS@
96 -DEVICE_DEVS6=@PNG_DEVS@
97 -DEVICE_DEVS7=@JBIG2_DEVS@
99 -DEVICE_DEVS9=@XPS_DEVS@
113 +#DEVICE_DEVS1=@F_DEVS@
114 +#DEVICE_DEVS2=@P_DEVS@
115 +#DEVICE_DEVS3=@CUPS_DEVS@
116 +#DEVICE_DEVS4=@IJS_DEVS@
117 +#DEVICE_DEVS5=@OMNIDEVS@
118 +#DEVICE_DEVS6=@PNG_DEVS@
119 +#DEVICE_DEVS7=@JBIG2_DEVS@
121 +#DEVICE_DEVS9=@XPS_DEVS@
135 # Shared library target to build.
136 GS_SHARED_OBJS=@DYNAMIC_DEVS@
138 # ---------------- End of platform-specific section ---------------- #
140 INSTALL_CONTRIB=@INSTALL_CONTRIB@
141 +include $(GLSRCDIR)/drivers.mak
142 include $(GLSRCDIR)/unixhead.mak
143 include $(GLSRCDIR)/gs.mak
144 include $(GLSRCDIR)/trio.mak