home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / X / mit / fonts / server / MacFS / Imakefile < prev    next >
Encoding:
Makefile  |  1991-07-31  |  1.5 KB  |  63 lines

  1.  
  2. #include <Server.tmpl>
  3.  
  4. #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)' 'CC=$(CC)' 'CCOPTIONS=$(CCOPTIONS)'
  5.  
  6. CC = ServerCcCmd
  7. CCOPTIONS = ServerCCOptions
  8. STD_DEFINES = ServerDefines
  9. CDEBUGFLAGS = ServerCDebugFlags
  10. REZ =           /mac/bin/rez -i /:mac:lib:rincludes -d AUX
  11.  
  12. OSDIR = $(FONTSRC)/server/os
  13. OSLIB = $(OSDIR)/libos.a
  14. DIFSDIR = $(FONTSRC)/server/difs
  15. DIFSLIB = $(DIFSDIR)/libdifs.a
  16. FONTDIR = $(FONTSRC)/lib/font
  17. FONTLIB = $(FONTDIR)/libfont.a
  18. SYSLIBS =
  19.  
  20.  
  21. INCLUDES = -I/usr/include/mac -I$(FONTSRC)/include \
  22.     -I$(FONTSRC)/lib/font/include -I$(FONTSERVERSRC)/include \
  23.     -I$(FONTSERVERSRC)/os
  24. HEADERS = 
  25.  
  26. FSDIRS = $(OSDIR) $(DIFSDIR) $(PCFDIRS)
  27. FSLIBS = $(DIFSLIB) $(FONTLIB) $(OSLIB) $(BSDEMUL)
  28.  
  29.  
  30. SRCS = MacFontFuncs.c MacFontInfo.c MacFontRender.c MacFont.c MacFontUI.c \
  31.     MacFontUIError.c ffs.c
  32. ASMSRCS = MacFontUIGlue.s MacInitFonts.s OutlineCalls.s
  33. OBJS = MacFontFuncs.o MacFontInfo.o MacFontRender.o MacFont.o MacFontUI.o \
  34.        MacFontUIGlue.o MacInitFonts.o OutlineCalls.o ffs.o
  35.  
  36.  
  37. all:: MacFS
  38.  
  39. clean::
  40.         $(RM) MacFS
  41.  
  42. MacFS:        ${FSLIBS} ${OBJS} MacFontUIError.o
  43.         ld /usr/lib/maccrt0.o /lib/crt2.o -o MacFS MacFontUIError.o \
  44.         ${OBJS} ${FSLIBS} \
  45.         /usr/lib/low.o -lmac_s -lat -lld -lmr -lc_s \
  46.         /lib/crtn.o /usr/lib/low.ld -ll -ly
  47.  
  48. %MacFS:        MacFontUI.r 
  49.         ${REZ} MacFontUI.r
  50.         -fcnvt -f -d Rez.out MacFontUI.rsrc
  51.         mv %MacFontUI.rsrc %MacFS
  52.         rm -f Rez.out MacFontUI.rsrc
  53.         setfile -c 'MOOT' -t 'APPL' -a i -a B MacFS
  54.  
  55. OutlineCalls.s: OutlineCalls.C
  56.         c89 -S -a OutlineCalls.C
  57.  
  58. NormalLibraryObjectRule()
  59. NormalLintTarget($(SRCS))
  60.  
  61. DependTarget()
  62.  
  63.