home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / APPS / DVI_MGR / dvimgr_s.lzh / dvimgr / makefile < prev    next >
Makefile  |  1993-08-08  |  2KB  |  65 lines

  1. #
  2. #       Makefile to compile DVIMGR, the MGR-Version of Nelson Beebe's 
  3. #       DVI driver family.
  4. #
  5. #       07-Aug-1993  lcs
  6. #
  7. #
  8. #       This has only been tested with the GNU Compiler v1.37, but any newer
  9. #       compiler version should do the job as well.  You'll need 'os9lib.l'
  10. #       and 'mgr.l' to compile DVIMGR.
  11. #
  12.  
  13. CC = gcc
  14. LC = cc
  15.  
  16. SYSLIB= /h0/usr/system/lib
  17. MGRLIB= /h0/mgr/libs
  18.  
  19. #
  20. #   Set paths according to your local conventions
  21. #   and modifiy compiler options if necessary.
  22. #
  23.  
  24. CFLAGS=  -DFONTPATH="/h0/usr/system/tex/fonts/" \
  25.      -DSUBPATH="/h0/usr/system/tex/macros/" \
  26.      -mstack-check  \
  27.      -m68020        \
  28.      -m68881        \
  29.      -I=.   \
  30.      -c     \
  31.      -O     \
  32.      -v
  33.  
  34. LFLAGS=  -k=2f -m=64 -g -bp
  35.  
  36. #
  37. # Include files that include others
  38. #
  39.  
  40. DVIHEAD = dvihead.h machdefs.h typedefs.h
  41.  
  42. MAIN = main.h commands.h gendefs.h gblprocs.h gblvars.h
  43.  
  44.  
  45. dvimgr:        dvimgr.r
  46.         $(LC) $(LFLAGS) dvimgr.r -f=dvimgr \
  47.                     -l=$(SYSLIB)/os9lib.l   \
  48.                     -l=$(MGRLIB)/mgr.l
  49.                 list /h0/bell.snd
  50.  
  51.  
  52. dvimgr.r:   dvimgr.c \
  53.         $(DVIHEAD) $(MAIN) abortrun.h actfact.h alldone.h bitmap.h \
  54.         chargf.h charpk.h charpxl.h clrbmap.h clrrow.h \
  55.         dbgopen.h dispchar.h dvifile.h \
  56.         dviinit.h dviterm.h f20open.h fatal.h fillrect.h findpost.h \
  57.         fixpos.h fontfile.h fontsub.h getbmap.h getbytes.h getfntdf.h \
  58.         getpgtab.h inch.h initglob.h loadchar.h movedown.h moveover.h \
  59.         moveto.h nosignex.h openfont.h option.h outrow.h prtpage.h \
  60.         readfont.h readgf.h readpk.h readpost.h readpxl.h \
  61.         reldfont.h rulepxl.h setchar.h setfntnm.h setrule.h signex.h \
  62.         skgfspec.h skipfont.h skpkspec.h special.h strchr.h \
  63.         strcm2.h strid2.h strrchr.h tctos.h usage.h warning.h
  64.     $(CC) $(CFLAGS) dvimgr.c
  65.