|
|
1.1 ! root 1: ! 2: # ! 3: # This makefile is automatically generated by imake... do not modify ! 4: # or you may lose your changes when imake generates makefiles again. ! 5: # Ignore this message if you are not using imake. ! 6: # ! 7: ! 8: TOP = ./../../.. ! 9: AS = as ! 10: CC = cc ! 11: CPP = /lib/cpp ! 12: LD = ld ! 13: LINT = lint ! 14: MAKE = make ! 15: CDEBUGFLAGS = -O ! 16: DESTDIR = ! 17: ! 18: INSTALL = install ! 19: TAGS = ctags ! 20: DEPEND = $(DEPENDSRC)/makedepend ! 21: IMAKE = $(IMAKESRC)/imake ! 22: RGB = $(RGBSRC)/rgb ! 23: CFLAGS = $(CDEBUGFLAGS) $(INCLUDES) $(DEFINES) ! 24: LDFLAGS = $(CDEBUGFLAGS) $(SYS_LIBRARIES) ! 25: INSTLIBFLAGS = -c -m 0664 ! 26: USRLIBDIR = $(DESTDIR)/usr/lib ! 27: BINDIR = $(DESTDIR)/usr/bin/X11 ! 28: LIBDIR = $(DESTDIR)/usr/lib/X11 ! 29: INCDIR = $(DESTDIR)/usr/include/X11 ! 30: FUTUREINCDIR = $(DESTDIR)/usr/include/X ! 31: FONTDIR = $(DESTDIR)$(LIBDIR)/fonts ! 32: MANDIR = $(DESTDIR)/usr/man/mann ! 33: CLIENTSRC = $(TOP)/clients ! 34: DEMOSRC = $(TOP)/demos ! 35: LIBSRC = $(TOP)/lib ! 36: FONTSRC = $(TOP)/fonts ! 37: INCLUDESRC = $(TOP)/include ! 38: SERVERSRC = $(TOP)/server ! 39: UTILSRC = $(TOP)/util ! 40: HACKSRC = $(TOP)/hacks ! 41: DOCSRC = $(TOP)/doc ! 42: DEPENDSRC = $(UTILSRC)/makedepend ! 43: IMAKESRC = $(UTILSRC)/imake ! 44: RGBSRC = $(UTILSRC)/rgb ! 45: XLIBSRC = $(LIBSRC)/X ! 46: XRMSRC = $(LIBSRC)/Xrm ! 47: TOOLKITSRC = $(LIBSRC)/Xtk ! 48: OLDXLIBSRC = $(LIBSRC)/oldX ! 49: OLDXMENUSRC = $(LIBSRC)/oldXMenu ! 50: OLDXRMSRC = $(LIBSRC)/oldXrm ! 51: OLDTOOLKITSRC = $(LIBSRC)/oldXtk ! 52: EXTENSIONSRC = $(TOP)/extensions ! 53: XMANSRC = $(DOCSRC)/Xlib/Xman ! 54: EXTENSIONLIB = $(EXTENSIONSRC)/lib/libXext.a ! 55: XLIB = $(XLIBSRC)/libX.a ! 56: OLDXLIB = $(OLDXLIBSRC)/liboldX.a ! 57: XTOOLLIB = $(TOOLKITSRC)/libXtk.a ! 58: OLDXTOOLLIB = $(OLDTOOLKITSRC)/liboldXtk.a ! 59: OLDXMENULIB = $(OLDXMENUSRC)/libXMenu.a ! 60: XRMLIB = $(XRMSRC)/libXrm.a ! 61: OLDXRMLIB = $(OLDXRMSRC)/liboldXrm.a ! 62: INCLUDES = -I$(TOP) ! 63: MACROFILE = Sunv9.macros ! 64: IMAKE_CMD = $(NEWTOP)$(IMAKE) -TImake.tmpl \ ! 65: -I$(NEWTOP)$(UTILSRC)/imake.includes \ ! 66: -s Makefile ! 67: RM_CMD = rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a \ ! 68: tags TAGS make.log ! 69: ! 70: SRCS = \ ! 71: sunInit.c \ ! 72: sunBW2.c \ ! 73: sunBW2zoid.c \ ! 74: sunCursor.c \ ! 75: sunIo.c \ ! 76: sunKbd.c \ ! 77: sunMouse.c \ ! 78: sunUtils.c \ ! 79: sunGC.c \ ! 80: sunCG2C.c \ ! 81: sunCG2M.c \ ! 82: sunCG4C.c \ ! 83: sunKeyMap.c \ ! 84: kbd_mode.c ! 85: ! 86: OFILES = sunInit.o ! 87: ! 88: OBJS = \ ! 89: sunBW2.o \ ! 90: sunBW2zoid.o \ ! 91: sunCursor.o \ ! 92: sunIo.o \ ! 93: sunKbd.o \ ! 94: sunMouse.o \ ! 95: sunUtils.o \ ! 96: sunGC.o \ ! 97: sunCG2C.o \ ! 98: sunCG2M.o \ ! 99: sunCG4C.o \ ! 100: sunKeyMap.o ! 101: ! 102: CDEBUGFLAGS = -O ! 103: INCLUDES = -I. -I../../include -I../mfb -I../../dix -I../../../include ! 104: LFLAGS = -buxz ! 105: ! 106: .c.o: ! 107: $(CC) -c $(CFLAGS) $*.c ! 108: ! 109: all:: $(OFILES) kbd_mode ! 110: ! 111: all:: libsun.a ! 112: ! 113: libsun.a: $(OBJS) ! 114: rm -f $@ ! 115: ar clq $@ $(OBJS) ! 116: ranlib $@ ! 117: ! 118: kbd_mode: kbd_mode.o ! 119: rm -f $@ ! 120: $(CC) -o $@ kbd_mode.o $(LDFLAGS) ! 121: ! 122: relink:: ! 123: rm -f kbd_mode ! 124: $(MAKE) $(MFLAGS) kbd_mode ! 125: ! 126: clean:: ! 127: rm -f kbd_mode ! 128: ! 129: install:: kbd_mode ! 130: $(INSTALL) -c $(INSTALLFLAGS) kbd_mode $(BINDIR) ! 131: ! 132: install:: kbd_mode.man ! 133: $(INSTALL) -c -m 0664 kbd_mode.man $(MANDIR)/kbd_mode.n ! 134: ! 135: depend:: ! 136: $(DEPEND) -s "# DO NOT DELETE" $(CFLAGS) $(SRCS) ! 137: ! 138: install:: Xsun.man ! 139: $(INSTALL) -c -m 0664 Xsun.man $(MANDIR)/Xsun.n ! 140: ! 141: lint: ${CFILES} ${LIBCFILES} ! 142: $(LINT) $(LFLAGS) -Clibsun $(INCLUDES) $(SRCS) >lint.out 2>&1 ! 143: ! 144: clean:: ! 145: $(RM_CMD) \#* ! 146: ! 147: Makefile:: Imakefile \ ! 148: $(UTILSRC)/imake.includes/Imake.tmpl \ ! 149: $(UTILSRC)/imake.includes/Imake.rules \ ! 150: $(UTILSRC)/imake.includes/$(MACROFILE) ! 151: -rm -f Makefile.bak; mv Makefile Makefile.bak ! 152: $(IMAKE_CMD) -DTOPDIR=$(TOP) ! 153: ! 154: tags:: ! 155: $(TAGS) -w *.[ch] ! 156: $(TAGS) -xw *.[ch] > TAGS ! 157: ! 158: install:: ! 159: @echo "install done" ! 160: ! 161: Makefiles:: ! 162:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.