openvms.mak 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542
  1. # Copyright (C) 1997, 2000 Aladdin Enterprises. All rights reserved.
  2. #
  3. # This file is part of AFPL Ghostscript.
  4. #
  5. # AFPL Ghostscript is distributed with NO WARRANTY OF ANY KIND. No author or
  6. # distributor accepts any responsibility for the consequences of using it, or
  7. # for whether it serves any particular purpose or works at all, unless he or
  8. # she says so in writing. Refer to the Aladdin Free Public License (the
  9. # "License") for full details.
  10. #
  11. # Every copy of AFPL Ghostscript must include a copy of the License, normally
  12. # in a plain ASCII text file named PUBLIC. The License grants you the right
  13. # to copy, modify and redistribute AFPL Ghostscript, but only under certain
  14. # conditions described in the License. Among other things, the License
  15. # requires that the copyright notice and this notice be preserved on all
  16. # copies.
  17. # $Id: openvms.mak,v 1.16.2.2 2002/02/01 03:30:13 raph Exp $
  18. # makefile for OpenVMS VAX and Alpha
  19. #
  20. # Please contact Jim Dunham (dunham@omtool.com) if you have questions.
  21. # Support for VAX C on OpenVMS was removed in release 6.01 by Aladdin:
  22. # DEC C is now used on both VAX and Alpha platforms.
  23. #
  24. # ------------------------------- Options ------------------------------- #
  25. ###### This section is the only part of the file you should need to edit.
  26. # on the make command line specify:
  27. # make -fopenvms.mak "OPENVMS={VAX,ALPHA}" "DECWINDOWS={1.2,<blank>}"
  28. # Define the directory for the final executable, and the
  29. # source, generated intermediate file, and object directories
  30. # for the graphics library (GL) and the PostScript/PDF interpreter (PS).
  31. # NOTE: If you use GNU make, GLGENDIR and PSGENDIR must not be the
  32. # current directory ([]).
  33. BINDIR=[.bin]
  34. GLSRCDIR=[.src]
  35. GLGENDIR=[.obj]
  36. GLOBJDIR=[.obj]
  37. PSSRCDIR=[.src]
  38. PSLIBDIR=[.lib]
  39. PSGENDIR=[.obj]
  40. PSOBJDIR=[.obj]
  41. # Because of OpenVMS syntactic problems, the following redundant definitions
  42. # are necessary. If you are using more than one GENDIR and/or OBJDIR,
  43. # you will have to edit the code below that creates these directories.
  44. BIN_DIR=BIN.DIR
  45. OBJ_DIR=OBJ.DIR
  46. # Do not edit the next group of lines.
  47. #include $(COMMONDIR)/vmscdefs.mak
  48. #include $(COMMONDIR)/vmsdefs.mak
  49. #include $(COMMONDIR)/generic.mak
  50. include $(GLSRCDIR)version.mak
  51. DD=$(GLGENDIR)
  52. GLD=$(GLGENDIR)
  53. PSD=$(PSGENDIR)
  54. # ------ Generic options ------ #
  55. # Define the directory that will hold documentation at runtime.
  56. GS_DOCDIR=GS_DOC
  57. #GS_DOCDIR=SYS$COMMON:[GS]
  58. # Define the default directory/ies for the runtime
  59. # initialization and font files. Separate multiple directories with ,.
  60. GS_LIB_DEFAULT=GS_LIB
  61. #GS_LIB_DEFAULT=SYS$COMMON:[GS],SYS$COMMON:[GS.FONT]
  62. # Define whether or not searching for initialization files should always
  63. # look in the current directory first. This leads to well-known security
  64. # and confusion problems, but users insist on it.
  65. # NOTE: this also affects searching for files named on the command line:
  66. # see the "File searching" section of Use.htm for full details.
  67. # Because of this, setting SEARCH_HERE_FIRST to 0 is not recommended.
  68. SEARCH_HERE_FIRST=1
  69. # Define the name of the interpreter initialization file.
  70. # (There is no reason to change this.)
  71. GS_INIT=GS_INIT.PS
  72. # Choose generic configuration options.
  73. # Setting DEBUG=1 includes debugging features in the code
  74. DEBUG=
  75. # Setting TDEBUG=1 includes symbol table information for the debugger,
  76. # and also enables stack tracing on failure.
  77. TDEBUG=
  78. # Setting CDEBUG=1 enables 'C' compiler debugging and turns off optimization
  79. # Code is substantially slower and larger.
  80. CDEBUG=
  81. # Define the name of the executable file.
  82. GS=GS
  83. # Define the name of a pre-built executable that can be invoked at build
  84. # time. Currently, this is only needed for compiled fonts. The usual
  85. # alternatives are:
  86. # - the standard name of Ghostscript on your system (typically `gs'):
  87. BUILD_TIME_GS=GS
  88. # - the name of the executable you are building now. If you choose this
  89. # option, then you must build the executable first without compiled fonts,
  90. # and then again with compiled fonts.
  91. #BUILD_TIME_GS=$(BINDIR)$(GS) -I$(PSLIBDIR)
  92. # Define the directory where the IJG JPEG library sources are stored,
  93. # and the major version of the library that is stored there.
  94. # You may need to change this if the IJG library version changes.
  95. # See jpeg.mak for more information.
  96. JSRCDIR=[.jpeg-6b]
  97. JVERSION=6
  98. # Define the directory where the PNG library sources are stored,
  99. # and the version of the library that is stored there.
  100. # You may need to change this if the libpng version changes.
  101. # See libpng.mak for more information.
  102. PSRCDIR=[.libpng-1_2_01]
  103. PVERSION=10201
  104. # Define the directory where the zlib sources are stored.
  105. # See zlib.mak for more information.
  106. ZSRCDIR=[.zlib-1_1_3]
  107. # Define the directory where the icclib source are stored.
  108. # See icclib.mak for more information
  109. ICCSRCDIR=[.icclib]
  110. # IJS has not been ported to OpenVMS. If you do the port,
  111. # you'll need to set these values.
  112. #
  113. # Define the directory where the ijs source is stored,
  114. # and the process forking method to use for the server.
  115. # See ijs.mak for more information.
  116. #IJSSRCDIR=[.ijs]
  117. #IJSEXECTYPE=unix
  118. # IJS has not been ported to OpenVMS. If you do the port,
  119. # you'll need to set these values. You'll also need to
  120. # include the ijs.mak makefile (right after icclib.mak).
  121. #
  122. # Define the directory where the ijs source is stored,
  123. # and the process forking method to use for the server.
  124. # See ijs.mak for more information.
  125. #IJSSRCDIR=[.ijs]
  126. #IJSEXECTYPE=unix
  127. # Note that built-in third-party libraries aren't available.
  128. SHARE_JPEG=0
  129. SHARE_LIBPNG=0
  130. SHARE_ZLIB=0
  131. # Define the path to X11 include files
  132. X_INCLUDE=DECW$$INCLUDE
  133. # ------ Platform-specific options ------ #
  134. # Define the drive, directory, and compiler name for the 'C' compiler.
  135. # COMP is the full compiler path name.
  136. COMP=CC
  137. ifdef DEBUG
  138. COMP:=$(COMP)/DEBUG/NOOPTIMIZE
  139. else
  140. COMP:=$(COMP)/NODEBUG/OPTIMIZE
  141. endif
  142. COMP:=$(COMP)/DECC/PREFIX=ALL/NESTED_INCLUDE=PRIMARY/NAMES=SHORTENED
  143. # Define any other compilation flags.
  144. # Including defines for A4 paper size
  145. ifdef A4_PAPER
  146. COMP:=$(COMP)/DEFINE=("A4")
  147. endif
  148. # LINK is the full linker path name
  149. ifdef TDEBUG
  150. LINKER=LINK/DEBUG/TRACEBACK
  151. else
  152. LINKER=LINK/NODEBUG/NOTRACEBACK
  153. endif
  154. # INCDIR contains the include files
  155. INCDIR=
  156. # LIBDIR contains the library files
  157. LIBDIR=
  158. # Define the .dev module that implements thread and synchronization
  159. # primitives for this platform. Don't change this unless you really know
  160. # what you're doing.
  161. SYNC=posync
  162. # ------ Devices and features ------ #
  163. # Choose the device(s) to include. See devs.mak for details,
  164. # devs.mak and contrib.mak for the list of available devices.
  165. DEVICE_DEVS=$(DD)x11.dev $(DD)x11alpha.dev $(DD)x11cmyk.dev $(DD)x11gray2.dev $(DD)x11gray4.dev $(DD)x11mono.dev
  166. DEVICE_DEVS1=
  167. DEVICE_DEVS2=
  168. 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
  169. DEVICE_DEVS4=$(DD)cdeskjet.dev $(DD)cdjcolor.dev $(DD)cdjmono.dev $(DD)cdj550.dev $(DD)pj.dev $(DD)pjxl.dev $(DD)pjxl300.dev
  170. DEVICE_DEVS5=$(DD)uniprint.dev
  171. DEVICE_DEVS6=$(DD)bj10e.dev $(DD)bj200.dev $(DD)bjc600.dev $(DD)bjc800.dev
  172. DEVICE_DEVS7=$(DD)faxg3.dev $(DD)faxg32d.dev $(DD)faxg4.dev
  173. DEVICE_DEVS8=$(DD)pcxmono.dev $(DD)pcxgray.dev $(DD)pcx16.dev $(DD)pcx256.dev $(DD)pcx24b.dev $(DD)pcxcmyk.dev
  174. DEVICE_DEVS9=$(DD)pbm.dev $(DD)pbmraw.dev $(DD)pgm.dev $(DD)pgmraw.dev $(DD)pgnm.dev $(DD)pgnmraw.dev
  175. DEVICE_DEVS10=$(DD)tiffcrle.dev $(DD)tiffg3.dev $(DD)tiffg32d.dev $(DD)tiffg4.dev $(DD)tifflzw.dev $(DD)tiffpack.dev
  176. DEVICE_DEVS11=$(DD)tiff12nc.dev $(DD)tiff24nc.dev
  177. DEVICE_DEVS12=$(DD)psmono.dev $(DD)psgray.dev $(DD)psrgb.dev $(DD)bit.dev $(DD)bitrgb.dev $(DD)bitcmyk.dev
  178. DEVICE_DEVS13=$(DD)pngmono.dev $(DD)pnggray.dev $(DD)png16.dev $(DD)png256.dev $(DD)png16m.dev
  179. DEVICE_DEVS14=$(DD)jpeg.dev $(DD)jpeggray.dev
  180. DEVICE_DEVS15=$(DD)pdfwrite.dev $(DD)pswrite.dev $(DD)epswrite.dev $(DD)pxlmono.dev $(DD)pxlcolor.dev
  181. # Overflow from DEVS9
  182. DEVICE_DEVS16=$(DD)pnm.dev $(DD)pnmraw.dev $(DD)ppm.dev $(DD)ppmraw.dev $(DD)pkm.dev $(DD)pkmraw.dev $(DD)pksm.dev $(DD)pksmraw.dev
  183. DEVICE_DEVS17=
  184. DEVICE_DEVS18=
  185. DEVICE_DEVS19=
  186. DEVICE_DEVS20=
  187. # Choose the language feature(s) to include. See gs.mak for details.
  188. FEATURE_DEVS=$(PSD)psl3.dev $(PSD)pdf.dev $(PSD)dpsnext.dev $(PSD)ttfont.dev
  189. # Choose whether to compile the .ps initialization files into the executable.
  190. # See gs.mak for details.
  191. COMPILE_INITS=0
  192. # Choose whether to store band lists on files or in memory.
  193. # The choices are 'file' or 'memory'.
  194. BAND_LIST_STORAGE=file
  195. # Choose which compression method to use when storing band lists in memory.
  196. # The choices are 'lzw' or 'zlib'. lzw is not recommended, because the
  197. # LZW-compatible code in Ghostscript doesn't actually compress its input.
  198. BAND_LIST_COMPRESSOR=zlib
  199. # Choose the implementation of file I/O: 'stdio', 'fd', or 'both'.
  200. # See gs.mak and sfxfd.c for more details.
  201. FILE_IMPLEMENTATION=stdio
  202. # Choose the implementation of stdio: '' for file I/O and 'c' for callouts
  203. # See gs.mak and ziodevs.c/ziodevsc.c for more details.
  204. STDIO_IMPLEMENTATION=c
  205. # Define the name table capacity size of 2^(16+n).
  206. EXTEND_NAMES=0
  207. # Define whether the system constants are writable.
  208. SYSTEM_CONSTANTS_ARE_WRITABLE=0
  209. # Define the platform name.
  210. PLATFORM=openvms_
  211. # Define the name of the makefile -- used in dependencies.
  212. MAKEFILE=$(GLSRCDIR)openvms.mak
  213. TOP_MAKEFILES=$(MAKEFILE)
  214. # Define the platform options
  215. PLATOPT=
  216. # Patch a couple of PC-specific things that aren't relevant to OpenVMS builds,
  217. # but that cause `make' to produce warnings.
  218. PCFBASM=
  219. # It is very unlikely that anyone would want to edit the remaining
  220. # symbols, but we describe them here for completeness:
  221. # Define the suffix for command files (e.g., null or .bat).
  222. CMD=
  223. # Define the directory separator character (\ for MS-DOS, / for Unix,
  224. # nothing for OpenVMS).
  225. D=
  226. # Define the brackets for passing preprocessor definitions to the C compiler.
  227. NULL=
  228. D_=/DEFINE="
  229. _D_=$(NULL)=
  230. _D="
  231. # Define the syntax of search paths for the C compiler.
  232. # The OpenVMS compilers uses /INCLUDE=(dir1, dir2, ...dirn),
  233. # and only a single /INCLUDE switch is allowed in the command line.
  234. I_=/INCLUDE=(
  235. II=,
  236. _I=)
  237. # Define the string for specifying the output file from the C compiler.
  238. O_=/OBJECT=
  239. # Define the quoting string for mixed-case arguments.
  240. # (OpenVMS is the only platform where this isn't an empty string.)
  241. Q="
  242. # Define the extension for executable files (e.g., null or .exe).
  243. XE=.exe
  244. # Define the extension for executable files for the auxiliary programs
  245. # (e.g., null or .exe).
  246. XEAUX=.exe
  247. # Define the list of files that `make clean' removes.
  248. BEGINFILES=$(GLGENDIR)OPENVMS.OPT $(GLGENDIR)OPENVMS.COM
  249. # Define the C invocation for the ansi2knr program. We don't use this.
  250. CCA2K=
  251. # Define the C invocation for auxiliary programs (echogs, genarch).
  252. CCAUX=CC/DECC
  253. # Define the C invocation for normal compilation.
  254. CC=$(COMP)
  255. # Define the Link invocation.
  256. LINK=$(LINKER)/EXE=$@ $^,$(GLGENDIR)OPENVMS.OPT/OPTION
  257. # Define the ANSI-to-K&R dependency. We don't need this.
  258. AK=
  259. # Define the syntax for command, object, and executable files.
  260. OBJ=obj
  261. # Define the prefix for image invocations.
  262. EXP=MCR $(NULL)
  263. # Define the prefix for shell invocations.
  264. SH=
  265. # Define generic commands.
  266. CP_=$$ @$(GLSRCDIR)COPY_ONE
  267. # Define the command for deleting (a) file(s) (including wild cards)
  268. RM_=$$ @$(GLSRCDIR)RM_ONE
  269. # Define the command for deleting multiple files / patterns.
  270. RMN_=$$ @$(GLSRCDIR)RM_ALL
  271. # Define the arguments for genconf.
  272. CONFILES=-p %s
  273. CONFLDTR=-o
  274. # Define the generic compilation rules.
  275. ..suffixes: .c .obj .exe
  276. ..obj.exe:
  277. $(LINK)
  278. # ---------------------------- End of options ---------------------------- #
  279. # Define the default build rule, so the object directories get created
  280. # automatically.
  281. # I wasn't able to find a "do nothing" command in the DCL manual!
  282. std: STDDIRS default
  283. WRITE SYS$$OUTPUT "Done."
  284. STDDIRS:
  285. $$ If F$$Search("$(BIN_DIR)") .EQS. "" Then Create/Directory/Log $(BINDIR)
  286. $$ If F$$Search("$(OBJ_DIR)") .EQS. "" Then Create/Directory/Log $(GLOBJDIR)
  287. # ------------------- Include the generic makefiles ---------------------- #
  288. #include $(COMMONDIR)/ansidefs.mak
  289. #include $(COMMONDIR)/vmsdefs.mak
  290. #include $(COMMONDIR)/generic.mak
  291. include $(GLSRCDIR)gs.mak
  292. include $(GLSRCDIR)lib.mak
  293. include $(PSSRCDIR)int.mak
  294. include $(PSSRCDIR)cfonts.mak
  295. include $(GLSRCDIR)jpeg.mak
  296. # zlib.mak must precede libpng.mak
  297. include $(GLSRCDIR)zlib.mak
  298. include $(GLSRCDIR)libpng.mak
  299. include $(GLSRCDIR)icclib.mak
  300. include $(GLSRCDIR)devs.mak
  301. include $(GLSRCDIR)contrib.mak
  302. # Define various incantations of the 'c' compiler.
  303. CC_=$(COMP)
  304. CC_INT=$(CC_)
  305. CC_LEAF=$(CC_)
  306. CC_NO_WARN=$(CC_)
  307. # ----------------------------- Main program ------------------------------ #
  308. $(GS_XE) : openvms $(GLOBJDIR)gs.$(OBJ) $(INT_ALL) $(LIB_ALL)
  309. $(LINKER)/EXE=$@ $(GLOBJ)gs.$(OBJ),$(ld_tr)/OPTIONS,$(GLGENDIR)OPENVMS.OPT/OPTION
  310. # OpenVMS.dev
  311. openvms__=$(GLOBJ)gp_getnv.$(OBJ) $(GLOBJ)gp_vms.$(OBJ) $(GLOBJ)gp_stdia.$(OBJ)
  312. $(GLGEN)openvms_.dev : $(openvms__) $(GLGEN)nosync.dev
  313. $(SETMOD) $(GLGEN)openvms_ $(openvms__) -include $(GLGEN)nosync
  314. $(GLOBJ)gp_vms.$(OBJ) : $(GLSRC)gp_vms.c
  315. $(CC_)/include=($(GLGENDIR),$(GLSRCDIR))/obj=$(GLOBJ)gp_vms.$(OBJ) $(GLSRC)gp_vms.c
  316. $(GLOBJ)gp_stdia.$(OBJ): $(GLSRC)gp_stdia.c $(AK) $(stdio__h) $(time__h) $(unistd__h) $(gx_h) $(gp_h)
  317. $(CC_)/obj=$(GLOBJ)gp_stdia.$(OBJ) $(GLSRC)gp_stdia.c
  318. # Interpreter AUX programs
  319. $(ECHOGS_XE) : $(GLOBJ)echogs.$(OBJ)
  320. LINK/EXE=$@ $(GLOBJ)echogs.$(OBJ)
  321. $(GLOBJ)echogs.$(OBJ) : $(GLSRC)echogs.c
  322. $(CCAUX)/obj=$(GLOBJ)echogs.$(OBJ) $(GLSRC)echogs.c
  323. $(GENARCH_XE) : $(GLOBJ)genarch.$(OBJ)
  324. LINK/EXE=$@ $(GLOBJ)genarch.$(OBJ)
  325. $(GLOBJ)genarch.$(OBJ) : $(GLSRC)genarch.c $(GENARCH_DEPS)
  326. $(CCAUX)/obj=$(GLOBJ)genarch.$(OBJ) $(GLSRC)genarch.c
  327. $(GENCONF_XE) : $(GLOBJDIR)genconf.$(OBJ)
  328. LINK/EXE=$@ $(GLOBJ)genconf.$(OBJ)
  329. $(GLOBJ)genconf.$(OBJ) : $(GLSRC)genconf.c $(GENCONF_DEPS)
  330. $(CCAUX)/obj=$(GLOBJ)genconf.$(OBJ) $(GLSRC)genconf.c
  331. $(GENDEV_XE) : $(GLOBJDIR)gendev.$(OBJ)
  332. LINK/EXE=$@ $(GLOBJ)gendev.$(OBJ)
  333. $(GLOBJ)gendev.$(OBJ) : $(GLSRC)gendev.c $(GENDEV_DEPS)
  334. $(CCAUX)/obj=$(GLOBJ)gendev.$(OBJ) $(GLSRC)gendev.c
  335. $(GENHT_XE) : $(GLOBJDIR)genht.$(OBJ)
  336. LINK/EXE=$@ $(GLOBJ)genht.$(OBJ)
  337. $(GLOBJ)genht.$(OBJ) : $(GLSRC)genht.c $(GENHT_DEPS)
  338. $(CCAUX)/obj=$(GLOBJ)genht.$(OBJ) $(GENHT_CFLAGS) $(GLSRC)genht.c
  339. $(GENINIT_XE) : $(GLOBJDIR)geninit.$(OBJ)
  340. LINK/EXE=$@ $(GLOBJ)geninit.$(OBJ)
  341. $(GLOBJ)geninit.$(OBJ) : $(GLSRC)geninit.c $(GENINIT_DEPS)
  342. $(CCAUX)/obj=$(GLOBJ)geninit.$(OBJ) $(GLSRC)geninit.c
  343. # Preliminary definitions
  344. openvms : $(GLGENDIR)openvms.com $(GLGENDIR)openvms.opt
  345. $$ @$(GLGENDIR)OPENVMS
  346. $(GLGENDIR)openvms.com : $(GLSRCDIR)append_l.com
  347. $$ @$(GLSRCDIR)APPEND_L $@ "$$ DEFINE/JOB X11 $(X_INCLUDE)"
  348. $$ @$(GLSRCDIR)APPEND_L $@ "$$ DEFINE/JOB GS_LIB ''F$$ENVIRONMENT(""DEFAULT"")'"
  349. $$ @$(GLSRCDIR)APPEND_L $@ "$$ DEFINE/JOB GS_DOC ''F$$ENVIRONMENT(""DEFAULT"")'"
  350. $$ @$(GLSRCDIR)APPEND_L $@ "$$ DEFINE/JOB DECC$$USER_INCLUDE ''F$$ENVIRONMENT(""DEFAULT"")', DECW$$INCLUDE, DECC$$LIBRARY_INCLUDE, SYS$$LIBRARY"
  351. $$ @$(GLSRCDIR)APPEND_L $@ "$$ DEFINE/JOB DECC$$SYSTEM_INCLUDE ''F$$ENVIRONMENT(""DEFAULT"")', DECW$$INCLUDE, DECC$$LIBRARY_INCLUDE, SYS$$LIBRARY"
  352. $$ @$(GLSRCDIR)APPEND_L $@ "$$ DEFINE/JOB SYS "DECC$$LIBRARY_INCLUDE,SYS$$LIBRARY"
  353. $(GLGENDIR)openvms.opt:
  354. ifeq "$(DECWINDOWS)" "1.2"
  355. $$ @$(GLSRCDIR)APPEND_L $@ "SYS$$SHARE:DECW$$XMLIBSHR12.EXE/SHARE"
  356. $$ @$(GLSRCDIR)APPEND_L $@ "SYS$$SHARE:DECW$$XTLIBSHRR5.EXE/SHARE"
  357. $$ @$(GLSRCDIR)APPEND_L $@ "SYS$$SHARE:DECW$$XLIBSHR.EXE/SHARE"
  358. else
  359. $$ @$(GLSRCDIR)APPEND_L $@ "SYS$$SHARE:DECW$$XMLIBSHR.EXE/SHARE"
  360. $$ @$(GLSRCDIR)APPEND_L $@ "SYS$$SHARE:DECW$$XTSHR.EXE/SHARE"
  361. $$ @$(GLSRCDIR)APPEND_L $@ "SYS$$SHARE:DECW$$XLIBSHR.EXE/SHARE"
  362. endif
  363. $$ @$(GLSRCDIR)APPEND_L $@ ""Ident="""""GS $(GS_DOT_VERSION)"""""
  364. # The platform-specific makefiles must also include rules for creating
  365. # certain dynamically generated files:
  366. # gconfig_.h - this indicates the presence or absence of
  367. # certain system header files that are located in different
  368. # places on different systems. (It could be generated by
  369. # the GNU `configure' program.)
  370. # gconfigv.h - this indicates the status of certain machine-
  371. # and configuration-specific features derived from definitions
  372. # in the platform-specific makefile.
  373. $(gconfig__h) : $(TOP_MAKEFILES) $(ECHOGS_XE)
  374. $(EXP)$(ECHOGS_XE) -w $(gconfig__h) -x 23 define "HAVE_SYS_TIME_H"
  375. $(gconfigv_h) : $(TOP_MAKEFILES) $(ECHOGS_XE)
  376. $(EXP)$(ECHOGS_XE) -w $(gconfigv_h) -x 23 define "USE_ASM" 0
  377. $(EXP)$(ECHOGS_XE) -a $(gconfigv_h) -x 23 define "USE_FPU" 1
  378. $(EXP)$(ECHOGS_XE) -a $(gconfigv_h) -x 23 define "EXTEND_NAMES" 0$(EXTEND_NAMES)
  379. $(EXP)$(ECHOGS_XE) -a $(gconfigv_h) -x 23 define "SYSTEM_CONSTANTS_ARE_WRITABLE" 0$(SYSTEM_CONSTANTS_ARE_WRITABLE)