|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T g
Length: 7621 (0x1dc5) Types: TextFile Names: »ghost.mak«
└─⟦a05ed705a⟧ Bits:30007078 DKUUG GNU 2/12/89 └─⟦ff23ba0e6⟧ »./ghostscript-1.3.tar.Z« └─⟦a24a58cd3⟧ └─⟦this⟧ »ghost.mak«
# Copyright (C) 1989 Aladdin Enterprises. All rights reserved. # Distributed by Free Software Foundation, Inc. # # This file is part of Ghostscript. # # Ghostscript is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY. No author or distributor accepts responsibility # to anyone for the consequences of using it or for whether it serves any # particular purpose or works at all, unless he says so in writing. Refer # to the Ghostscript General Public License for full details. # # Everyone is granted permission to copy, modify and redistribute # Ghostscript, but only under the conditions described in the Ghostscript # General Public License. A copy of this license is supposed to have been # given to you along with Ghostscript so you can know your rights and # responsibilities. It should be in a file named COPYING. Among other # things, the copyright notice and this notice must be preserved on all # copies. # Generic makefile for Ghostscript. # The platform-specific makefiles 'include' this file. # They define the following symbols: # XE - the extension for executable files # OBJ - the extension for relocatable object files # CCNA - the non-ANSI C invocation for files that on some platforms # include in-line assembly code or other non-standard # constructs. Currently this is needed on every file that # includes sstorei.h. default: gs$(XE) test: gt$(XE) # Note: Unix uses malloc.h and memory.h; # Turbo C uses alloc.h, stdlib.h, and mem.h. # 4.2bsd uses strings.h; other systems use string.h # We handle this by using local include files called # malloc_.h, memory_.h, and string_.h that perform appropriate indirection. # ---------------------------- Device drivers ---------------------------- # # Generic device drivers # Note that these need gx.h only for gx_bitmap. # This should be refactored. ## The "memory" device gdevmem.$(OBJ): gdevmem.c gx.h gsmatrix.h gxdevice.h gxdevmem.h $(CCNA) gdevmem.c # -------------------------------- Library -------------------------------- # GX=std.h gx.h GXERR=$(GX) gserrors.h # High-level facilities gschar.$(OBJ): gschar.c $(GXERR) gxfixed.h gxmatrix.h gzdevice.h gxdevmem.h gxfont.h gxchar.h gxpath.h gzcolor.h gzstate.h gscolor.$(OBJ): gscolor.c $(GXERR) gxfixed.h gxmatrix.h gxdevice.h gzstate.h gzcolor.h gzhalfto.h gscoord.$(OBJ): gscoord.c $(GXERR) gxfixed.h gxmatrix.h gzdevice.h gzstate.h gscoord.h gsdevice.$(OBJ): gsdevice.c $(GXERR) gxfixed.h gxmatrix.h gxbitmap.h gzstate.h gzdevice.h gsfont.$(OBJ): gsfont.c $(GXERR) gxdevice.h gxfixed.h gxmatrix.h gxfont.h gzstate.h gsimage.$(OBJ): gsimage.c $(GXERR) gxfixed.h gxmatrix.h gspaint.h gzcolor.h gzdevice.h gzpath.h gzstate.h gximage.h gsim2out.$(OBJ): gsim2out.c $(GXERR) gsline.$(OBJ): gsline.c $(GXERR) gxfixed.h gxmatrix.h gzstate.h gzline.h gsmatrix.$(OBJ): gsmatrix.c $(GXERR) gxfixed.h gxmatrix.h gsmisc.$(OBJ): gsmisc.c gx.h gspaint.$(OBJ): gspaint.c $(GX) gxfixed.h gxmatrix.h gspaint.h gzpath.h gzstate.h gzdevice.h gximage.h gspath.$(OBJ): gspath.c $(GXERR) gxfixed.h gxmatrix.h gxpath.h gzstate.h gspath2.$(OBJ): gspath2.c $(GXERR) gspath.h gxfixed.h gxmatrix.h gzstate.h gzpath.h gzdevice.h gsstate.$(OBJ): gsstate.c $(GXERR) gxfixed.h gxmatrix.h gzstate.h gzcolor.h gzdevice.h gzhalfto.h gzline.h gzpath.h # Low-level facilities gxcache.$(OBJ): gxcache.c $(GX) gxfixed.h gxmatrix.h gspaint.h gzdevice.h gzcolor.h gxdevmem.h gxfont.h gxchar.h gzstate.h gxcolor.$(OBJ): gxcolor.c $(GX) gxfixed.h gxmatrix.h gxdevice.h gzcolor.h gzhalfto.h gxdraw.$(OBJ): gxdraw.c $(GX) gxfixed.h gxmatrix.h gxbitmap.h gzcolor.h gzdevice.h gzstate.h gxfill.$(OBJ): gxfill.c $(GXERR) gxfixed.h gxmatrix.h gxdevice.h gzcolor.h gzpath.h gzstate.h gxht.$(OBJ): gxht.c $(GXERR) gxfixed.h gxmatrix.h gxbitmap.h gzstate.h gzcolor.h gzdevice.h gzhalfto.h gxpath.$(OBJ): gxpath.c $(GXERR) gxfixed.h gzpath.h gxpath2.$(OBJ): gxpath2.c $(GXERR) gxfixed.h gzpath.h gxstroke.$(OBJ): gxstroke.c $(GXERR) gxfixed.h gxmatrix.h gzstate.h gzcolor.h gzdevice.h gzline.h gzpath.h # On Unix, we pre-link all of the library except the back end. # On MS-DOS, we have to do the whole thing at once. LIB=gschar.$(OBJ) gscolor.$(OBJ) gscoord.$(OBJ) gsdevice.$(OBJ) \ gsfont.$(OBJ) gsimage.$(OBJ) gsim2out.$(OBJ) \ gsline.$(OBJ) gsmatrix.$(OBJ) gsmisc.$(OBJ) \ gspaint.$(OBJ) gspath.$(OBJ) gspath2.$(OBJ) gsstate.$(OBJ) \ gxcache.$(OBJ) gxcolor.$(OBJ) gxdraw.$(OBJ) gxfill.$(OBJ) \ gxht.$(OBJ) gxpath.$(OBJ) gxpath2.$(OBJ) gxstroke.$(OBJ) \ gdevmem.$(OBJ) # ------------------------------ Interpreter ------------------------------ # # Non-graphics utilities ialloc.$(OBJ): ialloc.c std.h alloc.h idebug.$(OBJ): idebug.c ghost.h name.h idict.$(OBJ): idict.c ghost.h alloc.h errors.h name.h store.h dict.h iinit.$(OBJ): iinit.c ghost.h dict.h oper.h store.h iname.$(OBJ): iname.c ghost.h alloc.h errors.h name.h store.h interp.$(OBJ): interp.c ghost.h errors.h name.h dict.h oper.h store.h sstorei.h stream.h $(CCNA) interp.c iscan.$(OBJ): iscan.c ghost.h alloc.h dict.h errors.h store.h stream.h iutil.$(OBJ): iutil.c ghost.h errors.h store.h gsmatrix.h stream.$(OBJ): stream.c std.h stream.h # Non-graphics operators OP=ghost.h errors.h oper.h zarith.$(OBJ): zarith.c $(OP) store.h zarray.$(OBJ): zarray.c $(OP) alloc.h store.h sstorei.h $(CCNA) zarray.c zcontrol.$(OBJ): zcontrol.c $(OP) estack.h store.h sstorei.h $(CCNA) zcontrol.c zdict.$(OBJ): zdict.c $(OP) dict.h store.h zfile.$(OBJ): zfile.c $(OP) alloc.h stream.h store.h zgeneric.$(OBJ): zgeneric.c $(OP) dict.h estack.h store.h zmath.$(OBJ): zmath.c $(OP) store.h zmisc.$(OBJ): zmisc.c $(OP) alloc.h dict.h store.h zrelbit.$(OBJ): zrelbit.c $(OP) store.h sstorei.h $(CCNA) zrelbit.c zstack.$(OBJ): zstack.c $(OP) store.h sstorei.h $(CCNA) zstack.c zstring.$(OBJ): zstring.c $(OP) alloc.h store.h stream.h ztype.$(OBJ): ztype.c $(OP) stream.h store.h zvmem.$(OBJ): zvmem.c $(OP) store.h # Graphics operators zchar.$(OBJ): zchar.c $(OP) gsmatrix.h gschar.h gxdevice.h gxfont.h alloc.h font.h estack.h state.h store.h zcolor.$(OBJ): zcolor.c $(OP) alloc.h gsmatrix.h gsstate.h state.h store.h zdevice.$(OBJ): zdevice.c $(OP) alloc.h state.h gsmatrix.h gsstate.h store.h zfont.$(OBJ): zfont.c $(OP) gsmatrix.h gxdevice.h gxfont.h alloc.h font.h dict.h state.h store.h zgstate.$(OBJ): zgstate.c $(OP) alloc.h gsmatrix.h gsstate.h state.h store.h zht.$(OBJ): zht.c $(OP) alloc.h estack.h gsmatrix.h gsstate.h state.h store.h zmatrix.$(OBJ): zmatrix.c $(OP) gsmatrix.h state.h gscoord.h store.h zpaint.$(OBJ): zpaint.c $(OP) alloc.h estack.h gsmatrix.h gspaint.h state.h store.h zpath.$(OBJ): zpath.c $(OP) gsmatrix.h gspath.h state.h store.h zpath2.$(OBJ): zpath2.c $(OP) alloc.h estack.h gspath.h state.h store.h # Linking INT=ialloc.$(OBJ) idebug.$(OBJ) idict.$(OBJ) iinit.$(OBJ) iname.$(OBJ) \ interp.$(OBJ) iscan.$(OBJ) iutil.$(OBJ) stream.$(OBJ) \ zarith.$(OBJ) zarray.$(OBJ) zcontrol.$(OBJ) zdict.$(OBJ) zfile.$(OBJ) \ zgeneric.$(OBJ) zmath.$(OBJ) zmisc.$(OBJ) zrelbit.$(OBJ) \ zstack.$(OBJ) zstring.$(OBJ) ztype.$(OBJ) zvmem.$(OBJ) \ zchar.$(OBJ) zcolor.$(OBJ) zfont.$(OBJ) zdevice.$(OBJ) zgstate.$(OBJ) \ zht.$(OBJ) zmatrix.$(OBJ) zpaint.$(OBJ) zpath.$(OBJ) zpath2.$(OBJ) # ----------------------------- Main program ------------------------------ # # Utilities shared between platforms gsmain.$(OBJ): gsmain.c $(GX) gsmatrix.h gxdevice.h # Library test program driver gt.$(OBJ): gt.c $(GX) gsmatrix.h gsstate.h gscoord.h gspaint.h gspath.h gxdevice.h # Interpreter main program gs.$(OBJ): gs.c ghost.h alloc.h store.h stream.h