|
|
1.1 ! root 1: # $Header: /f/osi/others/quipu/uips/xd/RCS/Makefile,v 7.2 90/07/27 08:45:51 mrose Exp $ ! 2: # ! 3: # $Log: Makefile,v $ ! 4: # Revision 7.2 90/07/27 08:45:51 mrose ! 5: # update ! 6: # ! 7: # Revision 7.1 90/07/09 14:42:07 mrose ! 8: # sync ! 9: # ! 10: # Revision 7.0 90/06/12 13:10:31 mrose ! 11: # *** empty log message *** ! 12: # ! 13: # Revision 1.6 90/04/26 10:22:28 emsrssn ! 14: # Installation fixed ! 15: # ! 16: # ! 17: # Revision 1.5 90/04/26 10:21:41 emsrssn ! 18: # *** empty log message *** ! 19: # ! 20: # Revision 1.4 90/04/25 17:27:56 emsrssn ! 21: # Lint tidy up ! 22: # ! 23: # ! 24: # Revision 1.3 90/04/19 13:47:38 emsrssn ! 25: # keyboard accelerator now activates button highlight. ! 26: # ! 27: # search types available is dependent on current position ! 28: # to prevent unreasonable searches. ! 29: # ! 30: # the help popup changes automatically depending on the ! 31: # position of the cursor ! 32: # ! 33: # buttons remain a fixed size when the application is ! 34: # resized ! 35: # ! 36: # command line options are now handled properly ! 37: # ! 38: # logging added ! 39: # ! 40: # "reads" are now sorted to show mail address at top etc. ! 41: # ! 42: # ! 43: # Revision 1.2 90/03/09 15:57:21 emsrssn ! 44: # First public distribution ! 45: # ! 46: # ! 47: # Revision 1.1 90/03/08 13:18:50 emsrssn ! 48: # Initial revision ! 49: # ! 50: # ! 51: # ! 52: ############################################################## ! 53: # ! 54: # Xd Makefile - Xd uses the Athena widget set ! 55: # ! 56: # Stefan Nahajski, Brunel University 28/2/90 ! 57: ############################################################## ! 58: ! 59: XLIB = -lX11 ! 60: XTLIB = -lXt ! 61: ! 62: # athena widget library compiled with debugging option ! 63: #XAWLIB = /usr/local/lib/libXaw.a ! 64: XAWLIB = -lXaw ! 65: ! 66: XMULIB = -lXmu ! 67: XEXTLIB = -lXext ! 68: ! 69: XLIBDIR = /usr/lib/X11 ! 70: ! 71: INCLUDE = -I$(TOPDIR)h ! 72: ! 73: LIBES = $(TOPDIR)libquipu.a $(TOPDIR)libdsap.a $(TOPDIR)libisode.a ! 74: LIBS = $(XAWLIB) $(XMULIB) $(XTLIB) $(XLIB) $(XEXTLIB) ! 75: ! 76: LLIBES = $(TOPDIR)llib-lquipu $(TOPDIR)llib-ldsap $(TOPDIR)llib-lisode ! 77: ! 78: ############################################################## ! 79: ! 80: CFILES = filt.c Xd.c sequence.c main.c calls.c symtab.c y.tab.c ! 81: OFILES = filt.o Xd.o sequence.o main.o calls.o symtab.o y.tab.o ! 82: YFILES = conf_read.y ! 83: ! 84: ############################################################## ! 85: ! 86: all: xxd ! 87: #inst-all: inst-xd config helpfiles app-defaults manuals ! 88: inst-all: inst-xd confandhelp app-defaults manuals ! 89: install: inst-all clean ! 90: lint: l-xd ! 91: ! 92: ############################################################## ! 93: ! 94: inst-xd: $(BINDIR)xd ! 95: -mkdir $(ETCDIR)xd ! 96: ! 97: $(BINDIR)xd: xxd ! 98: -cp $@ zxxd ! 99: -rm -f $@ ! 100: cp xxd $@ ! 101: -@ls -gls $@ ! 102: -@echo "" ! 103: ! 104: ################################################################ ! 105: # app-defaults files for X ! 106: ################################################################ ! 107: ! 108: app-defaults:; cp Xd.ad $(XLIBDIR)/app-defaults/Xd ! 109: ! 110: ################################################################ ! 111: # config and help files ! 112: ################################################################ ! 113: ! 114: confandhelp:; -mkdir $(ETCDIR)xd/ ! 115: cp -R Xd/* $(ETCDIR)xd/. ! 116: -@echo "" ! 117: ! 118: ################################################################ ! 119: # manual pages ! 120: ################################################################ ! 121: ! 122: MANUALS = xd.1c ! 123: ! 124: # Just in case someone does 'rm x*'.... ! 125: xd.1c: Xd.1c ! 126: cp Xd.1c xd.1c ! 127: chmod 444 xd.1c ! 128: ! 129: manuals: $(MANUALS) ! 130: @$(UTILDIR)inst-man.sh $(MANOPTS) $(MANUALS) ! 131: -@echo "" ! 132: ! 133: ################################################################ ! 134: # lint ! 135: ################################################################ ! 136: ! 137: l-xd:; $(LINT) $(LFLAGS) $(CFILES) $(LLIBS) ! 138: ! 139: ############################################################# ! 140: # clean ! 141: ############################################################## ! 142: ! 143: clean:; rm -f y.tab.* *.o a.out _* xx* z* core ! 144: ! 145: grind:; iprint Makefile ! 146: tgrind -lc $(CFILES) ! 147: @echo $(MANUALS) | \ ! 148: tr " " "\012" | \ ! 149: sed -e "s%.*%itroff -man &%" | \ ! 150: sh -ve ! 151: ! 152: ! 153: ############################################################## ! 154: # xd ! 155: ############################################################## ! 156: ! 157: xd: xxd ! 158: ! 159: xxd: $(OFILES) $(LIBES) ! 160: $(CC) $(INCLUDE) -o $@ $(CFLAGS) $(OFILES) $(LIBS) $(LIBES) ! 161: ! 162: ! 163: y.tab.c: conf_read.y ! 164: yacc -d $(YFILES) ! 165: ! 166: ############################################################## ! 167: # RCS ! 168: ############################################################## ! 169: ! 170: ci: FRC ! 171: vi RCS_message_text ! 172: ci -l -f RCS/* <RCS_message_text ! 173: # cd Xd/duaconfig/filterTypes; ci -l -f RCS/* <../../../RCS_message_text ! 174: # cd Xd/duaconfig; ci -l -f RCS/* <../../RCS_message_text ! 175: cd Xd/helpdir; ci -l -f RCS/* <../../RCS_message_text ! 176: cp /dev/null RCS_message_text ! 177: ! 178: co: FRC ! 179: co -l RCS/* ! 180: cd Xd/duaconfig/filterTypes; co -l RCS/* ! 181: cd Xd/duaconfig; co -l RCS/* ! 182: cd Xd/helpdir; co -l RCS/* ! 183: ! 184: dist: FRC ! 185: cd ..; gnutar -c -f xd.tar.Z -o -X xd/ignore-these -z xd ! 186: ! 187: FRC: ! 188: ! 189: # DO NOT DELETE THIS LINE ! 190: # Dependencies follow ! 191: filt.o: ./y.tab.c
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.