home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / s / stex2-18.zip / SeeTeX / libtex / Makefile < prev    next >
Makefile  |  1992-06-26  |  11KB  |  389 lines

  1. # Makefile generated by imake - do not edit!
  2. # $XConsortium: imake.c,v 1.65 91/07/25 17:50:17 rws Exp $
  3.  
  4. # -------------------------------------------------------------------------
  5. # Makefile generated from "Imake.tmpl" and <Imakefile>
  6. # $XConsortium: Imake.tmpl,v 1.138 91/07/30 14:59:20 rws Exp $
  7. #
  8. # Platform-specific parameters may be set in the appropriate <vendor>.cf
  9. # configuration files.  Site-specific parameters should be set in the file
  10. # site.def.  Full rebuilds are recommended if any parameters are changed.
  11. #
  12. # If your C preprocessor does not define any unique symbols, you will need
  13. # to set BOOTSTRAPCFLAGS when rebuilding imake (usually when doing
  14. # "make World" the first time).
  15. #
  16.  
  17. # -------------------------------------------------------------------------
  18. # site-specific configuration parameters that need to come before
  19. # the platform-specific parameters - edit site.def to change
  20.  
  21. # site:  $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $
  22.  
  23. # -------------------------------------------------------------------------
  24. # platform-specific configuration parameters - edit ultrix.cf to change
  25.  
  26. # platform:  $XConsortium: ultrix.cf,v 1.45 91/07/30 12:12:11 rws Exp $
  27.  
  28. # operating system:             Ultrix-32 4.2
  29.  
  30. # -------------------------------------------------------------------------
  31. # site-specific configuration parameters that go after
  32. # the platform-specific parameters - edit site.def to change
  33.  
  34. # site:  $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $
  35.  
  36.             SHELL =     /bin/sh
  37.  
  38.               TOP = ../.
  39.       CURRENT_DIR = ./libtex
  40.  
  41.                AR = ar clq
  42.   BOOTSTRAPCFLAGS =
  43.                CC = cc
  44.                AS = as
  45.  
  46.          COMPRESS = compress
  47.               CPP = /lib/cpp $(STD_CPP_DEFINES)
  48.     PREPROCESSCMD = cc -E $(STD_CPP_DEFINES)
  49.           INSTALL = install
  50.                LD = ld
  51.              LINT = lint
  52.       LINTLIBFLAG = -o
  53.          LINTOPTS = -ax
  54.                LN = ln -s
  55.              MAKE = make
  56.                MV = mv
  57.                CP = cp
  58.  
  59.            RANLIB = ranlib
  60.   RANLIBINSTFLAGS =
  61.  
  62.                RM = rm -f
  63.             TROFF = psroff
  64.          MSMACROS = -ms
  65.               TBL = tbl
  66.               EQN = eqn
  67.      STD_INCLUDES =
  68.   STD_CPP_DEFINES =
  69.       STD_DEFINES =
  70.  EXTRA_LOAD_FLAGS =
  71.   EXTRA_LIBRARIES =
  72.              TAGS = ctags
  73.  
  74.     PROTO_DEFINES = -DFUNCPROTO
  75.  
  76.      INSTPGMFLAGS = -s -m 755
  77.  
  78.      INSTBINFLAGS = -m 0755
  79.      INSTUIDFLAGS = -m 4755
  80.      INSTLIBFLAGS = -m 0644
  81.      INSTINCFLAGS = -m 0444
  82.      INSTMANFLAGS = -m 0444
  83.      INSTDATFLAGS = -m 0444
  84.     INSTKMEMFLAGS = -m 4755
  85.  
  86.       PROJECTROOT = /usr/local/X.V11R5
  87.  
  88.      TOP_INCLUDES = -I$(INCROOT)
  89.  
  90.       CDEBUGFLAGS = -O
  91.         CCOPTIONS =
  92.  
  93.       ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(STD_INCLUDES)
  94.        ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(DEFINES)
  95.            CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES)
  96.         LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES)
  97.  
  98.            LDLIBS = $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
  99.  
  100.         LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(LOCAL_LDFLAGS) -L$(USRLIBDIR)
  101.  
  102.    LDCOMBINEFLAGS = -r
  103.       DEPENDFLAGS =
  104.  
  105.         MACROFILE = ultrix.cf
  106.            RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut
  107.  
  108.     IMAKE_DEFINES =
  109.  
  110.          IRULESRC = $(CONFIGDIR)
  111.         IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES)
  112.  
  113.      ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Imake.rules \
  114.             $(IRULESRC)/Project.tmpl $(IRULESRC)/site.def \
  115.             $(IRULESRC)/$(MACROFILE) $(EXTRA_ICONFIGFILES)
  116.  
  117. # -------------------------------------------------------------------------
  118. # X Window System Build Parameters
  119. # $XConsortium: Project.tmpl,v 1.138 91/09/10 09:02:12 rws Exp $
  120.  
  121. # -------------------------------------------------------------------------
  122. # X Window System make variables; this need to be coordinated with rules
  123.  
  124.           PATHSEP = /
  125.         USRLIBDIR =  /usr/local/X.V11R5/lib
  126.            BINDIR =  /usr/local/X.V11R5/bin
  127.           INCROOT =  /usr/local/X.V11R5/include
  128.      BUILDINCROOT = $(TOP)
  129.       BUILDINCDIR = $(BUILDINCROOT)/X11
  130.       BUILDINCTOP = ..
  131.            INCDIR = $(INCROOT)/X11
  132.            ADMDIR = /usr/adm
  133.            LIBDIR = $(USRLIBDIR)
  134.         CONFIGDIR = $(LIBDIR)/config
  135.        LINTLIBDIR = $(USRLIBDIR)/lint
  136.  
  137.           FONTDIR = $(LIBDIR)/fonts
  138.          XINITDIR = $(LIBDIR)/xinit
  139.            XDMDIR = $(LIBDIR)/xdm
  140.            TWMDIR = $(LIBDIR)/twm
  141.           MANPATH =  /usr/local/X.V11R5/man
  142.     MANSOURCEPATH = $(MANPATH)/man
  143.         MANSUFFIX = 1
  144.      LIBMANSUFFIX = 3
  145.            MANDIR = $(MANSOURCEPATH)$(MANSUFFIX)
  146.         LIBMANDIR = $(MANSOURCEPATH)$(LIBMANSUFFIX)
  147.            NLSDIR = $(LIBDIR)/nls
  148.         PEXAPIDIR = $(LIBDIR)/PEX
  149.       XAPPLOADDIR = $(LIBDIR)/app-defaults
  150.        FONTCFLAGS = -t
  151.  
  152.      INSTAPPFLAGS = $(INSTDATFLAGS)
  153.  
  154.             IMAKE = imake
  155.            DEPEND = makedepend
  156.               RGB = rgb
  157.  
  158.             FONTC = bdftopcf
  159.  
  160.         MKFONTDIR = mkfontdir
  161.         MKDIRHIER =     /bin/sh $(BINDIR)/mkdirhier
  162.  
  163.         CONFIGSRC = $(TOP)/config
  164.        DOCUTILSRC = $(TOP)/doc/util
  165.         CLIENTSRC = $(TOP)/clients
  166.           DEMOSRC = $(TOP)/demos
  167.            LIBSRC = $(TOP)/lib
  168.           FONTSRC = $(TOP)/fonts
  169.        INCLUDESRC = $(TOP)/X11
  170.         SERVERSRC = $(TOP)/server
  171.           UTILSRC = $(TOP)/util
  172.         SCRIPTSRC = $(UTILSRC)/scripts
  173.        EXAMPLESRC = $(TOP)/examples
  174.        CONTRIBSRC = $(TOP)/../contrib
  175.            DOCSRC = $(TOP)/doc
  176.            RGBSRC = $(TOP)/rgb
  177.         DEPENDSRC = $(UTILSRC)/makedepend
  178.          IMAKESRC = $(CONFIGSRC)
  179.          XAUTHSRC = $(LIBSRC)/Xau
  180.           XLIBSRC = $(LIBSRC)/X
  181.            XMUSRC = $(LIBSRC)/Xmu
  182.        TOOLKITSRC = $(LIBSRC)/Xt
  183.        AWIDGETSRC = $(LIBSRC)/Xaw
  184.        OLDXLIBSRC = $(LIBSRC)/oldX
  185.       XDMCPLIBSRC = $(LIBSRC)/Xdmcp
  186.       BDFTOSNFSRC = $(FONTSRC)/bdftosnf
  187.       BDFTOSNFSRC = $(FONTSRC)/clients/bdftosnf
  188.       BDFTOPCFSRC = $(FONTSRC)/clients/bdftopcf
  189.      MKFONTDIRSRC = $(FONTSRC)/clients/mkfontdir
  190.          FSLIBSRC = $(FONTSRC)/lib/fs
  191.     FONTSERVERSRC = $(FONTSRC)/server
  192.      EXTENSIONSRC = $(TOP)/extensions
  193.          XILIBSRC = $(EXTENSIONSRC)/lib/xinput
  194.       PHIGSLIBSRC = $(EXTENSIONSRC)/lib/PEX
  195.  
  196.   DEPEXTENSIONLIB =  $(USRLIBDIR)/libXext.a
  197.      EXTENSIONLIB =               -lXext
  198.  
  199.           DEPXLIB = $(DEPEXTENSIONLIB)  $(USRLIBDIR)/libX11.a
  200.              XLIB = $(EXTENSIONLIB)               -lX11
  201.  
  202.       DEPXAUTHLIB =  $(USRLIBDIR)/libXau.a
  203.          XAUTHLIB =               -lXau
  204.       DEPXDMCPLIB =  $(USRLIBDIR)/libXdmcp.a
  205.          XDMCPLIB =               -lXdmcp
  206.  
  207.         DEPXMULIB =  $(USRLIBDIR)/libXmu.a
  208.            XMULIB =               -lXmu
  209.  
  210.        DEPOLDXLIB =  $(USRLIBDIR)/liboldX.a
  211.           OLDXLIB =               -loldX
  212.  
  213.       DEPXTOOLLIB =  $(USRLIBDIR)/libXt.a
  214.          XTOOLLIB =               -lXt
  215.  
  216.         DEPXAWLIB =  $(USRLIBDIR)/libXaw.a
  217.            XAWLIB =               -lXaw
  218.  
  219.         DEPXILIB =  $(USRLIBDIR)/libXi.a
  220.            XILIB =               -lXi
  221.  
  222.         DEPPHIGSLIB =  $(USRLIBDIR)/libphigs.a
  223.            PHIGSLIB =               -lphigs
  224.  
  225.        DEPXBSDLIB =  $(USRLIBDIR)/libXbsd.a
  226.           XBSDLIB =               -lXbsd
  227.  
  228.  LINTEXTENSIONLIB =  $(LINTLIBDIR)/llib-lXext.ln
  229.          LINTXLIB =  $(LINTLIBDIR)/llib-lX11.ln
  230.           LINTXMU =  $(LINTLIBDIR)/llib-lXmu.ln
  231.         LINTXTOOL =  $(LINTLIBDIR)/llib-lXt.ln
  232.           LINTXAW =  $(LINTLIBDIR)/llib-lXaw.ln
  233.            LINTXI =  $(LINTLIBDIR)/llib-lXi.ln
  234.         LINTPHIGS =  $(LINTLIBDIR)/llib-lphigs.ln
  235.  
  236.           DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)
  237.  
  238.          DEPLIBS1 = $(DEPLIBS)
  239.          DEPLIBS2 = $(DEPLIBS)
  240.          DEPLIBS3 = $(DEPLIBS)
  241.  
  242. # -------------------------------------------------------------------------
  243. # Imake rules for building libraries, programs, scripts, and data files
  244. # rules:  $XConsortium: Imake.rules,v 1.121 91/08/22 16:32:50 rws Exp $
  245.  
  246. # -------------------------------------------------------------------------
  247. # start of Imakefile
  248.  
  249. TEX_BINDIR = /srl/TeX/bin
  250. TEX_MANDIR = /srl/TeX/man/man1
  251. TEX_INPUTS = /srl/TeX/lib/tex/inputs
  252.  
  253. FontDesc= /srl/TeX/lib/tex/fontdesc
  254.  
  255. IprBin=/usr/local/bin
  256.  
  257. XTEX_IFDEF_OPTIONS=
  258.  
  259. XTEX_TFM_PATH=.:/srl/TeX/lib/tex/fonts:/usr/local/lib/tex82/fonts:/usr/local/lib/tex/fonts:/usr/lib/tex82/fonts:/usr/lib/tex/fonts:/usr/local/lib/tex/tfm:/usr/local/Tex/lib/tex/tfm
  260.  
  261. XTEX_FONT_PATH=/srl/TeX.xtex
  262.  
  263. XTEX_MAKE_FONT=TeXtoXfont %n %d %b %m sun $(XTEX_FONT_PATH)
  264.  
  265.   X_FONT_SUFFIX=pcf
  266.   X_FONT_COMPILER=/usr/bin/dxfc $$BDFNAME > $$SNFNAME
  267.   X_FONT_MAKE_DIR=/usr/bin/dxmkfontdir
  268.   X_FONT_COMPRESS=1
  269.   X_FONT_PREPEND=xset +fp
  270.   X_FONT_RESET=xset fp rehash
  271.  
  272. GHOST_SEARCH_PATH=/srl/TeX/lib/tex82/ps
  273.  
  274.   POPUP_WINDOW_TYPE    =overrideShellWidgetClass
  275.  
  276.      LIBTEXROOT = ../
  277.       LIBTEXSRC    = ../libtex
  278.          LIBTEX    = $(LIBTEXSRC)/libtex.a
  279.       DEPLIBTEX    = $(LIBTEX)
  280.  
  281.   GETOPT=getopt.o
  282.  
  283.   STRTOL=
  284.  
  285.      DEFINES    =-DFONTDESC=\"$(FontDesc)\"
  286.  
  287. SRCS=\
  288.     bcopy.c  error.c  gffont.c rstfont.c split.c\
  289.     bzero.c  findpost.c gripes0.c scaletfm.c strsave.c\
  290.     conv.c  fio.c  gripes1.c scanpost.c tempfile.c\
  291.     dvi_draw.c font.c  magfactor.c sdecode.c tfm.c\
  292.     dviclass.c font_subr.c pkfont.c search.c tfmfont.c\
  293.     dvistate.c getopt.c pxlfont.c seek.c\
  294.     dvistuff.c gfclass.c rotate.c skip.c strtol.c
  295.  
  296. OBJS=\
  297.     bcopy.o  error.o  gffont.o rstfont.o split.o \
  298.     bzero.o  findpost.o gripes0.o scaletfm.o strsave.o \
  299.     conv.o  fio.o  gripes1.o scanpost.o tempfile.o \
  300.     dvi_draw.o font.o  magfactor.o sdecode.o tfm.o \
  301.     dviclass.o font_subr.o pkfont.o search.o tfmfont.o \
  302.     dvistate.o pxlfont.o seek.o \
  303.     dvistuff.o gfclass.o rotate.o skip.o $(GETOPT) $(STRTOL)
  304.  
  305. HDRS    =\
  306.     conv.h  dvistate.h font.h  num.h  seek.h \
  307.     convstruct.h dvistuff.h gfclass.h postamble.h tfm.h\
  308.     dviclass.h error.h  gfcodes.h sdecode.h types.h \
  309.     dvicodes.h fio.h  gripes.h search.h
  310.  
  311. FILES    =$(SRCS) $(HDRS) Imakefile Makefile
  312.  
  313. .c.o:
  314.      $(RM) $@ $*.os \
  315.         && $(CC) -c $(_NOOP_) $(CFLAGS) $*.c \
  316.         && $(LD) -x -r $@ -o $*.os \
  317.         && $(MV) $*.os $@
  318.  
  319. all::  libtex.a
  320.  
  321.  libtex.a: $(OBJS)
  322.     $(RM) $@
  323.     $(AR) $@ $(OBJS)
  324.      $(RANLIB) $@
  325.  
  326. lintlib::  llib-ltex.ln
  327.  
  328.  llib-ltex.ln: $(SRCS)
  329.     $(RM) $@
  330.     $(LINT)  $(LINTLIBFLAG)tex $(LINTFLAGS) $(SRCS)
  331.  
  332. depend::
  333.     $(DEPEND) $(DEPENDFLAGS) -s "# DO NOT DELETE" -- $(ALLDEFINES) -- $(SRCS)
  334.  
  335. lint:
  336.     $(LINT) $(LINTFLAGS) $(SRCS) $(LINTLIBS)
  337. lint1:
  338.     $(LINT) $(LINTFLAGS) $(FILE) $(LINTLIBS)
  339.  
  340. tar:
  341.     cd ../..;\
  342.     for file in $(FILES); \
  343.     do \
  344.       tar rf $(TARFILE) $(PRODUCT)/libtex/$$file; \
  345.     done
  346.  
  347. font.o: ../Imake.Config
  348.  
  349. # -------------------------------------------------------------------------
  350. # common rules for all Makefiles - do not edit
  351.  
  352. emptyrule::
  353.  
  354. clean::
  355.     $(RM_CMD) "#"*
  356.  
  357. Makefile::
  358.     -@if [ -f Makefile ]; then set -x; \
  359.         $(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \
  360.     else exit 0; fi
  361.     $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)
  362.  
  363. tags::
  364.     $(TAGS) -w *.[ch]
  365.     $(TAGS) -xw *.[ch] > TAGS
  366.  
  367. saber:
  368.     # load $(ALLDEFINES) $(SRCS)
  369.  
  370. osaber:
  371.     # load $(ALLDEFINES) $(OBJS)
  372.  
  373. # -------------------------------------------------------------------------
  374. # empty rules for directories that do not have SUBDIRS - do not edit
  375.  
  376. install::
  377.     @echo "install in $(CURRENT_DIR) done"
  378.  
  379. install.man::
  380.     @echo "install.man in $(CURRENT_DIR) done"
  381.  
  382. Makefiles::
  383.  
  384. includes::
  385.  
  386. # -------------------------------------------------------------------------
  387. # dependencies generated by makedepend
  388.  
  389.