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

  1. XCOMM $XConsortium: Imakefile,v 5.13 91/07/29 18:26:59 rws Exp $
  2. #include <Server.tmpl>
  3.  
  4. #ifdef SparcArchitecture
  5. #if HasMITGXSource
  6. GXSRC=sunGX.c
  7. #else
  8. GXSRC=
  9. #endif
  10. GXOBJ=sunGX.o
  11. #else
  12. GXOBJ=
  13. GXSRC=
  14. #endif
  15.  
  16. SRCS1 =    sunInit.c sunBW2.c sunCursor.c sunIo.c sunKbd.c sunMouse.c sunUtils.c\
  17.     sunCG.c sunCG2C.c sunCG2M.c sunCG3C.c sunCG4C.c sunCG6C.c $(GXSRC)\
  18.      sunKeyMap.c
  19.  
  20. SRCS =    $(SRCS1) kbd_mode.c constype.c 
  21.  
  22. OFILES = sunInit.o sunInitMono.o sunInitExtMono.o
  23.  
  24. OBJS =     sunBW2.o sunCursor.o sunIo.o sunKbd.o sunMouse.o sunUtils.o\
  25.     sunCG.o sunCG2C.o sunCG2M.o sunCG3C.o sunCG4C.o sunCG6C.o $(GXOBJ)\
  26.     sunKeyMap.o
  27.  
  28.    INCLUDES = -I. -I../mfb -I../mi -I../cfb -I../../include\
  29.            -I$(INCLUDESRC) -I$(FONTSRC)/include
  30.    LINTLIBS = ../../dix/llib-ldix.ln ../../os/llib-los.ln \
  31.           ../mfb/llib-lmfb.ln ../mi/llib-lmi.ln ../cfb/llib-lcfb.ln
  32.  
  33. NormalLibraryObjectRule()
  34.  
  35. all:: $(OFILES) kbd_mode constype
  36.  
  37. lintlib:
  38.  
  39. NormalLibraryTarget(sun,$(OBJS))
  40. NormalLintTarget($(SRCS1))
  41.  
  42. #if !HasMITGXSource
  43. LinkFile(sunGX.o,sunGX.o.dist)
  44. #endif
  45.  
  46. sunInitExtMono.o: $(ICONFIGFILES)
  47. ObjectFromSpecialSource(sunInitExtMono,../mi/miinitext,-UPEXEXT)
  48. ObjectFromSpecialSource(sunInitMono,sunInit,-DMONO_ONLY)
  49.  
  50. SingleProgramTarget(kbd_mode, kbd_mode.o,,)
  51. SingleProgramTarget(constype, constype.o,,)
  52. InstallProgram(kbd_mode,$(BINDIR))
  53. InstallProgram(constype,$(BINDIR))
  54. InstallManPage(kbd_mode,$(MANDIR))
  55. InstallManPage(constype,$(MANDIR))
  56. InstallManPage(Xsun,$(MANDIR))
  57. InstallManPageAliases(Xsun,$(MANDIR),XsunMono)
  58.  
  59. saber_src:
  60.     #load $(CFLAGS) $(SRCS1)
  61.  
  62. DependTarget()
  63.