|
|
1.1 ! root 1: # variables... ! 2: O = .obj ! 3: X = .exe ! 4: L = -link ! 5: CC = cl ! 6: MV = rename ! 7: RM = erase ! 8: LINT_ARGS = -DLINT_ARGS ! 9: DEBUG_FLAGS = -Zi -Od ! 10: AR = lib ! 11: AR1 = ! 12: AR2 = + ! 13: AR3 = ";" ! 14: RANLIB = echo "Done with " ! 15: PRINT = print ! 16: DEFINES = ${LINT_ARGS} ! 17: INCLUDES = -I. ! 18: OPTIMIZE = ${DEBUG_FLAGS} ! 19: CFLAGS = ${OPTIMIZE} ${INCLUDES} ${DEFINES} ! 20: LINTFLAGS = -hbxaz ! 21: ALLH = terminal.h termout.ext ! 22: ALLC = system.c termout.c ! 23: ALLO = system${O} termout${O} ! 24: ALLPRINT = ${ALLH} ${ALLC} ! 25: ALLSOURCE = ${ALLPRINT} makefile ! 26: ! 27: ! 28: #targets... ! 29: ! 30: .c.obj: ! 31: ${CC} ${CFLAGS} -c $< ! 32: ! 33: sys.lib: ${ALLO} ! 34: ${RM} $@ ! 35: ${AR} ${AR1} $@ ${AR2} system.obj${AR3} ! 36: cd ${CWD} ! 37: ${AR} ${AR1} $@ ${AR2} termout.obj${AR3} ! 38: cd ${CWD} ! 39: ! 40: ! 41: ${RANLIB} $@ ! 42: ! 43: clean: ! 44: ${RM} system.obj ! 45: cd ${CWD} ! 46: ${RM} termout.obj ! 47: cd ${CWD} ! 48: ${RM} errs ! 49: cd ${CWD} ! 50: ${RM} makefile.bak ! 51: cd ${CWD} ! 52: ${RM} sys.lib ! 53: cd ${CWD} ! 54: ! 55: ! 56: ! 57: sccsclean: ! 58: -sccs clean ! 59: -sccs get makefile ! 60: ! 61: sourcelist: ${ALLSOURCE} ! 62: echo ${DIRPATH}terminal.h ! 63: cd ${CWD} ! 64: echo ${DIRPATH}termout.ext ! 65: cd ${CWD} ! 66: echo ${DIRPATH}system.c ! 67: cd ${CWD} ! 68: echo ${DIRPATH}termout.c ! 69: cd ${CWD} ! 70: echo ${DIRPATH}makefile ! 71: cd ${CWD} ! 72: ! 73: ! 74: ! 75: print: ! 76: ${PRINT} ${ALLPRINT} ! 77: ! 78: tags: ${ALLC} ${ALLH} ! 79: ctags -t ${ALLC} ${ALLH} ! 80: ! 81: action: ! 82: ${ACTION} ! 83: ! 84: lint: ! 85: lint ${LINTFLAGS} ${INCLUDES} ${DEFINES} -DTN3270 ${TNMAIN} ${MOSTC} -lcurses ! 86: lint ${LINTFLAGS} ${INCLUDES} ${DEFINES} ${MSMAIN} map3270.c -lcurses ! 87: ! 88: .DEFAULT: ! 89: sccs get $< ! 90: ! 91: depend: ! 92: grep '^#include' ${ALLC} ${ALLH} | grep -v '<' | sed -e 's\:[^"]*"\([^"]*\)".*\: \1\' -e 's\\.c\$$O\' | awk ' { if ($$1 != prev) { print rec; rec = $$0; prev = $$1; } \ ! 93: else { if (length(rec $$2) > 78) { print rec; rec = $$0; } \ ! 94: else rec = rec " " $$2 } } \ ! 95: END { print rec } ' > makedep ! 96: echo '$$r makedep' >>eddep ! 97: echo '\^# DO NOT DELETE THIS LINE\+1,$$d' >eddep ! 98: echo '$$r makedep' >>eddep ! 99: echo 'w' >>eddep ! 100: -rm -f makefile.bak ! 101: cp makefile makefile.bak ! 102: ed - makefile < eddep ! 103: rm eddep makedep ! 104: ! 105: system${O}: ..\general\general.h ..\ctlr\api.h ..\api\api_exch.h ..\general\globals.h ! 106: ! 107: ! 108: termout${O}: ..\general\general.h terminal.h ..\telnet.ext ..\api\disp_asc.h ..\ctlr\hostctlr.h ..\ctlr\inbound.ext ..\ctlr\oia.h ..\ctlr\options.ext ..\ctlr\outbound.ext ..\ctlr\screen.h ..\ascii\map3270.ext ..\general\globals.h ! 109:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.