|
|
1.1 ! root 1: #********************************************************************* ! 2: # COPYRIGHT NOTICE * ! 3: #********************************************************************* ! 4: # This software is copyright (C) 1982 by Pavel Curtis * ! 5: # * ! 6: # Permission is granted to reproduce and distribute * ! 7: # this file by any means so long as no fee is charged * ! 8: # above a nominal handling fee and so long as this * ! 9: # notice is always included in the copies. * ! 10: # * ! 11: # Other rights are reserved except as explicitly granted * ! 12: # by written permission of the author. * ! 13: # Pavel Curtis * ! 14: # Computer Science Dept. * ! 15: # 405 Upson Hall * ! 16: # Cornell University * ! 17: # Ithaca, NY 14853 * ! 18: # * ! 19: # Ph- (607) 256-4934 * ! 20: # * ! 21: # Pavel.Cornell@Udel-Relay (ARPAnet) * ! 22: # decvax!cornell!pavel (UUCPnet) * ! 23: #********************************************************************/ ! 24: ! 25: # RCSid: $Header: /src386/usr/lib/ncurses/RCS/Makefile,v 1.7 93/04/12 14:07:28 bin Exp Locker: bin $ ! 26: DESTDIR=/bin386/usr/lib/ ! 27: #DESTDIR2=/bin386/usr/bin/ ! 28: ! 29: SRCDIR= /usr/lib/terminfo ! 30: LIB=/usr/lib ! 31: INCL=/usr/include ! 32: ! 33: # ! 34: # Additional flags which could be defined in CFLAGS: ! 35: # TRACE compile library with trace function ! 36: # RCSHDR compile the RCS headers into the functions ! 37: # ! 38: #CFLAGS= -O -DSRCDIR='"$(SRCDIR)"' ! 39: CFLAGS= -O -DSRCDIR='"$(SRCDIR)"' ! 40: ! 41: SRCS= comp_main.c comp_hash.c comp_captab.c comp_scan.c comp_error.c \ ! 42: comp_parse.c read_entry.c \ ! 43: dump.c dump_names.c \ ! 44: captoinfo.c getcap.c putinfo.c \ ! 45: lib_setup.c lib_fixterm.c lib_tparm.c lib_tputs.c \ ! 46: lib_unctrl.c lib_raw.c lib_vidattr.c lib_trace.c \ ! 47: lib_beep.c lib_doupdate.c lib_refresh.c lib_initscr.c lib_newwin.c \ ! 48: lib_addch.c lib_addstr.c lib_scroll.c lib_clreol.c lib_touchwin.c \ ! 49: lib_mvcur.c lib_delwin.c lib_endwin.c lib_clrbot.c lib_move.c \ ! 50: lib_printw.c lib_scanw.c lib_erase.c lib_getch.c lib_options.c \ ! 51: lib_box.c lib_clear.c lib_delch.c lib_deleteln.c lib_insch.c \ ! 52: lib_insertln.c lib_getstr.c lib_mvwin.c lib_longname.c lib_tstp.c \ ! 53: lib_newterm.c lib_set_term.c lib_overlay.c lib_scrreg.c lib_setacs.c \ ! 54: lib_napms.c lib_color.c lib_tget.c ! 55: ! 56: # ! 57: # Normal, optimised object files ! 58: # ! 59: LIBOBJS= lib_setup.o lib_fixterm.o lib_tparm.o read_entry.o lib_tputs.o \ ! 60: lib_unctrl.o lib_raw.o lib_vidattr.o lib_trace.o lib_beep.o \ ! 61: lib_doupdate.o lib_refresh.o lib_initscr.o lib_newwin.o lib_addch.o \ ! 62: lib_addstr.o lib_scroll.o lib_clreol.o lib_touchwin.o lib_mvcur.o \ ! 63: lib_delwin.o lib_endwin.o lib_clrbot.o lib_move.o lib_printw.o \ ! 64: lib_scanw.o lib_erase.o lib_getch.o lib_options.o \ ! 65: lib_box.o lib_clear.o lib_delch.o lib_deleteln.o lib_insch.o \ ! 66: lib_insertln.o lib_getstr.o lib_mvwin.o lib_longname.o lib_tstp.o \ ! 67: lib_newterm.o lib_set_term.o lib_overlay.o lib_scrreg.o lib_setacs.o \ ! 68: lib_napms.o lib_color.o lib_tget.o ! 69: ! 70: COMPOBJS= comp_main.o comp_hash.o comp_captab.o comp_scan.o comp_error.o \ ! 71: comp_parse.o read_entry.o ! 72: ! 73: CTOIOBJS= captoinfo.o getcap.o putinfo.o ! 74: ! 75: all: lib tic infocmp captoinfo ! 76: @echo "all done" ! 77: ! 78: install: all ! 79: su root installer ! 80: ! 81: lib: libcurses.a ! 82: @echo "lib done" ! 83: ! 84: libcurses.a: $(LIBOBJS) ! 85: rm -f $(DESTDIR)libcurses.a ! 86: ar rcs $(DESTDIR)libcurses.a $(LIBOBJS) ! 87: ! 88: term.h: Caps MKterm.h.awk ! 89: awk -f MKterm.h.awk Caps > term.h ! 90: ! 91: tic: $(COMPOBJS) ! 92: cc -s -o $(DESTDIR2)tic $(COMPOBJS) ! 93: ! 94: comp_captab.c: Caps MKcaptab.awk ! 95: awk -f MKcaptab.awk Caps > comp_captab.c ! 96: ! 97: comp_captab.o: comp_captab.c ! 98: ! 99: captoinfo: $(CTOIOBJS) libcurses.a ! 100: cc -s $(CFLAGS) $(CTOIOBJS) -o $(DESTDIR2)captoinfo $(DESTDIR)libcurses.a ! 101: ! 102: putinfo.c: Caps infotail.src MKinfo.awk ! 103: awk -f MKinfo.awk Caps ! 104: cat boolnames numnames strnames infotail.src > putinfo.c ! 105: -rm -f boolnames numnames strnames ! 106: ! 107: captoinfo.o: captoinfo.c ! 108: ! 109: getcap.o: getcap.c ! 110: ! 111: putinfo.o: putinfo.c ! 112: ! 113: infocmp: dump.o dump_names.o read_entry.o ! 114: cc -s -o $(DESTDIR2)infocmp dump.o dump_names.o read_entry.o ! 115: ! 116: dump.o: dump.c term.h compiler.h ! 117: ! 118: dump_names.o: dump_names.c ! 119: ! 120: dump_names.c: Caps MKnames.awk ! 121: awk -f MKnames.awk Caps ! 122: cat boolnames numnames strnames > dump_names.c ! 123: -rm -f boolnames numnames strnames ! 124: ! 125: lint: $(SRCS) ! 126: lint $(CFLAGS) $(SRCS) > lint.out ! 127: ! 128: clean: ! 129: -rm -f *.[od] term.h comp_captab.c dump_names.c putinfo.c tags \ ! 130: tic infocmp captoinfo libcurses.a lint.out ! 131: ! 132: tags: *.c *.h ! 133: ctags *.c *.h ! 134: ! 135: save : $(SRCS) Makefile ! 136: tar cf - $< | compress -c > /tmp/ncurses.tar.Z ! 137: uucp -r /tmp/ncurses.tar.Z mwc!/v/cef ! 138: ! 139: list : $(SRCS) Makefile ! 140: ph $? ! 141: touch list ! 142: ! 143: depend: $(SRCS) ! 144: grep "^\#include" $< \ ! 145: | sed 's/\([^:]*\).c:[^"]*"\([^"]*\)".*/\1.o: \2/' \ ! 146: | sed '/\#include/d' > makedep ! 147: echo '/^\# DO NOT DELETE THIS LINE/+2,$$d' > eddep ! 148: echo '$$r makedep' >> eddep ! 149: # echo '/^\# DO NOT DELETE THIS LINE/+2,$$s/\.o/.d/' >> eddep ! 150: # echo '$$r makedep' >> eddep ! 151: echo 'w' >> eddep ! 152: cp Makefile Makefile.bak ! 153: ed Makefile < eddep ! 154: rm makedep eddep ! 155: echo >> Makefile ! 156: echo "\# DEPENDENCIES MUST END AT END OF FILE" >> Makefile ! 157: echo "\# IF YOU PUT STUFF HERE, IT WILL GO AWAY" >> Makefile ! 158: echo "\# See make depend, above" >> Makefile ! 159: ! 160: # DO NOT DELETE THIS LINE - make depend needs it ! 161: ! 162: comp_main.o: compiler.h ! 163: comp_hash.o: compiler.h ! 164: comp_hash.o: term.h ! 165: comp_captab.o: compiler.h ! 166: comp_captab.o: term.h ! 167: comp_scan.o: compiler.h ! 168: comp_error.o: compiler.h ! 169: comp_parse.o: compiler.h ! 170: comp_parse.o: term.h ! 171: comp_parse.o: object.h ! 172: read_entry.o: term.h ! 173: read_entry.o: object.h ! 174: dump.o: compiler.h ! 175: dump.o: term.h ! 176: lib_setup.o: curses.h ! 177: lib_setup.o: curses.priv.h ! 178: lib_setup.o: term.h ! 179: lib_fixterm.o: curses.h ! 180: lib_fixterm.o: curses.priv.h ! 181: lib_fixterm.o: term.h ! 182: lib_tparm.o: curses.h ! 183: lib_tparm.o: curses.priv.h ! 184: lib_tparm.o: term.h ! 185: lib_tputs.o: curses.h ! 186: lib_tputs.o: curses.priv.h ! 187: lib_tputs.o: term.h ! 188: lib_raw.o: curses.h ! 189: lib_raw.o: curses.priv.h ! 190: lib_raw.o: term.h ! 191: lib_vidattr.o: curses.h ! 192: lib_vidattr.o: curses.priv.h ! 193: lib_vidattr.o: term.h ! 194: lib_trace.o: term.h ! 195: lib_trace.o: curses.h ! 196: lib_trace.o: curses.priv.h ! 197: lib_beep.o: curses.h ! 198: lib_beep.o: curses.priv.h ! 199: lib_beep.o: term.h ! 200: lib_doupdate.o: curses.h ! 201: lib_doupdate.o: curses.priv.h ! 202: lib_doupdate.o: term.h ! 203: lib_refresh.o: curses.h ! 204: lib_refresh.o: curses.priv.h ! 205: lib_initscr.o: curses.h ! 206: lib_initscr.o: curses.priv.h ! 207: lib_newwin.o: term.h ! 208: lib_newwin.o: curses.h ! 209: lib_newwin.o: curses.priv.h ! 210: lib_addch.o: curses.h ! 211: lib_addch.o: curses.priv.h ! 212: lib_addch.o: terminfo.h ! 213: lib_addch.o: unctrl.h ! 214: lib_addstr.o: curses.h ! 215: lib_addstr.o: curses.priv.h ! 216: lib_scroll.o: curses.h ! 217: lib_scroll.o: curses.priv.h ! 218: lib_clreol.o: curses.h ! 219: lib_clreol.o: curses.priv.h ! 220: lib_touchwin.o: curses.h ! 221: lib_touchwin.o: curses.priv.h ! 222: lib_mvcur.o: term.h ! 223: lib_mvcur.o: curses.h ! 224: lib_mvcur.o: curses.priv.h ! 225: lib_delwin.o: curses.h ! 226: lib_delwin.o: curses.priv.h ! 227: lib_endwin.o: term.h ! 228: lib_endwin.o: curses.h ! 229: lib_endwin.o: curses.priv.h ! 230: lib_clrbot.o: curses.h ! 231: lib_clrbot.o: curses.priv.h ! 232: lib_move.o: curses.h ! 233: lib_move.o: curses.priv.h ! 234: lib_printw.o: curses.h ! 235: lib_printw.o: curses.priv.h ! 236: lib_scanw.o: curses.h ! 237: lib_scanw.o: curses.priv.h ! 238: lib_erase.o: curses.h ! 239: lib_erase.o: curses.priv.h ! 240: lib_getch.o: curses.h ! 241: lib_getch.o: curses.priv.h ! 242: lib_options.o: term.h ! 243: lib_options.o: curses.h ! 244: lib_options.o: curses.priv.h ! 245: lib_box.o: curses.h ! 246: lib_box.o: curses.priv.h ! 247: lib_clear.o: curses.h ! 248: lib_clear.o: curses.priv.h ! 249: lib_delch.o: curses.h ! 250: lib_delch.o: curses.priv.h ! 251: lib_delch.o: term.h ! 252: lib_deleteln.o: curses.h ! 253: lib_deleteln.o: curses.priv.h ! 254: lib_insch.o: curses.h ! 255: lib_insch.o: curses.priv.h ! 256: lib_insertln.o: curses.h ! 257: lib_insertln.o: curses.priv.h ! 258: lib_getstr.o: curses.h ! 259: lib_getstr.o: curses.priv.h ! 260: lib_getstr.o: unctrl.h ! 261: lib_mvwin.o: curses.h ! 262: lib_mvwin.o: curses.priv.h ! 263: lib_longname.o: curses.h ! 264: lib_longname.o: curses.priv.h ! 265: lib_tstp.o: term.h ! 266: lib_tstp.o: curses.h ! 267: lib_tstp.o: curses.priv.h ! 268: lib_newterm.o: curses.h ! 269: lib_newterm.o: term.h ! 270: lib_newterm.o: curses.priv.h ! 271: lib_set_term.o: curses.h ! 272: lib_set_term.o: curses.priv.h ! 273: lib_set_term.o: term.h ! 274: lib_overlay.o: curses.h ! 275: lib_overlay.o: curses.priv.h ! 276: lib_scrreg.o: curses.h ! 277: lib_scrreg.o: curses.priv.h ! 278: lib_setacs.o: curses.h ! 279: lib_setacs.o: term.h ! 280: lib_color.o: curses.h ! 281: lib_color.o: curses.priv.h ! 282: lib_color.o: term.h ! 283: ! 284: # DEPENDENCIES MUST END AT END OF FILE ! 285: # IF YOU PUT STUFF HERE, IT WILL GO AWAY ! 286: # See make depend, above
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.