📄 makelocal.mk
字号:
# @(#)Makelocal.mk 4.1 ULTRIX 7/2/90#include $(GMAKEVARS)DESTLIST=$(DESTROOT)/usr/include $(DESTROOT)/usr/lib $(DESTROOT)/usr/bin# Curses Library Low Level Makefile## CFLAGS has -DVIDEO & -DKEYPAD for the libcurses.a library. They could# be put into a separate variable if desired, but there is no# reason for doing so.# DFLAGS, TFLAGS, & PFLAGS are for debugging, tracing, & profiling# respectively. They all contain the DEBUG flag because it is# thought that any of the styles of compiling is still debugging.# Also the DEBUG flag will create very large files and it is not# recommended that all of the files be compiled with the DEBUG# flag defined. This will make 'ar' die because the library will# exceed 2065 blocks in size. But there is no reason not to# compile individual or groups of files with these flags defined.# FILES is used for the naming of the object files.# O is used to destinguish between compiling, debugging, tracing, &# profiling.# MINICURSES is a flag used to compile a small version of libcurses.# It should not be used for the compiling of libcurses.a. It is# strictly for the application programmers convenience.# If MINICURSES is desired with ti4 or show then type:# "make <[ti4][show] MINICURSES=-DMINICURSES"#CURSES = libcurses.aO = oMINICURSES =CFLAGS = -DVIDEO -DKEYPAD $(DEBUG) -ODFLAGS = -DVIDEO -DKEYPAD -DDEBUGTFLAGS = -DVIDEO -DKEYPAD -DDEBUG -OPFLAGS = -DVIDEO -DKEYPAD -DDEBUG -p -OFILES = __cflush.$(O) __sscans.$(O) _blanks.$(O) _c_clean.$(O) \ _clearhl.$(O) _clearline.$(O) _comphash.$(O) _delay.$(O) \ _delchars.$(O) _dellines.$(O) _dumpwin.$(O) _ec_quit.$(O) \ _fixdelay.$(O) _forcehl.$(O) _hlmode.$(O) _id_char.$(O) \ _init_cost.$(O) _inschars.$(O) _insmode.$(O) _kpmode.$(O) \ _line_free.$(O) _ll_move.$(O) _outch.$(O) _outchar.$(O) \ _pos.$(O) _reset.$(O) _scrdown.$(O) _scrollf.$(O) _sethl.$(O) \ _setmode.$(O) _setwind.$(O) _shove.$(O) _sprintw.$(O) \ _sputc.$(O) _syncmodes.$(O) _tscroll.$(O) _window.$(O) \ addch.$(O) addstr.$(O) baudrate.$(O) beep.$(O) box.$(O) \ capnames.$(O) cbreak.$(O) chktypeahd.$(O) clear.$(O) \ clearok.$(O) clreolinln.$(O) clrtobot.$(O) clrtoeol.$(O) \ cntcostfn.$(O) crmode.$(O) curses.$(O) def_prog.$(O) \ def_shell.$(O) delayoutpt.$(O) delch.$(O) deleteln.$(O) \ delwin.$(O) doprnt.$(O) doscan.$(O) doupdate.$(O) draino.$(O) \ echo.$(O) endwin.$(O) erase.$(O) erasechar.$(O) fixterm.$(O) \ flash.$(O) flushinp.$(O) getch.$(O) getstr.$(O) idlok.$(O) \ gettmode.$(O) has_ic.$(O) has_il.$(O) idln.getst.$(O) \ initkeypad.$(O) initscr.$(O) insch.$(O) insertln.$(O) \ intrflush.$(O) keypad.$(O) killchar.$(O) leaveok.$(O) \ line_alloc.$(O) ll_refresh.$(O) longname.$(O) m_addch.$(O) \ m_addstr.$(O) m_clear.$(O) m_erase.$(O) m_move.$(O) meta.$(O) \ m_refresh.$(O) m_tstp.$(O) makenew.$(O) miniinit.$(O) \ move.$(O) mvcur.$(O) mvprintw.$(O) mvscanw.$(O) mvwin.$(O) \ mvwprintw.$(O) mvwscanw.$(O) naps.$(O) newpad.$(O) \ newterm.$(O) newwin.$(O) nl.$(O) nocbreak.$(O) nocrmode.$(O) \ nodelay.$(O) noecho.$(O) nonl.$(O) noraw.$(O) nttychktrm.$(O) \ overlay.$(O) overwrite.$(O) pnoutrfrsh.$(O) prefresh.$(O) \ printw.$(O) putp.$(O) raw.$(O) reset_prog.$(O) resetshell.$(O) \ resetterm.$(O) resetty.$(O) restarttrm.$(O) saveterm.$(O) \ savetty.$(O) scanw.$(O) scroll.$(O) scrollok.$(O) \ set_term.$(O) setbuffred.$(O) setterm.$(O) setupterm.$(O) \ showstring.$(O) subwin.$(O) tgetent.$(O) tgetflag.$(O) \ tgetnum.$(O) tgetstr.$(O) tgoto.$(O) touchwin.$(O) tparm.$(O) \ tputs.$(O) traceonoff.$(O) tstp.$(O) two.twostr.$(O) \ typeahead.$(O) unctrl.$(O) vidattr.$(O) vidputs.$(O) \ vsprintf.$(O) vsscanf.$(O) wattroff.$(O) wattron.$(O) \ wattrset.$(O) wnoutrfrsh.$(O) wprintw.$(O) wrefresh.$(O) \ writechars.$(O) wscanw.$(O) wstandend.$(O) wstandout.$(O).SUFFIXES: .o .d .t .pall: $(CURSES) tic termcap.otic: tic.o capnames.o $(CC) $(CFLAGS) $(MINICURSES) tic.o capnames.o -o tictic.o: tic.ctermcap.o: termcap.c$(CURSES): $(FILES) curses.h curshdr.h term.h unctrl.h curses.ext curses.c ar rv $(CURSES) $(FILES) ranlib $(CURSES)OLDdebug: $(MAKE) O=d CURSES=libdcurses.aOLDtrace: $(MAKE) O=t CURSES=libtcurses.aOLDprofile: $(MAKE) O=p CURSES=libpcurses.aOLDshow: libcurses.a show.o $(CC) $(CFLAGS) $(MINICURSES) show.o libcurses.a -o show /bin/rm show.oOLDti4: libcurses.a ti4.o $(CC) $(CFLAGS) $(MINICURSES) ti4$(O) libcurses.a -o ti4 /bin/rm ti4.oOLDti4.o: cc mkti4.c -O -o mkti4 mkti4 >ti4.c cc $(CFLAGS) $(MINICURSES) ti4.c -O -cpretools tools1: $(INSTALL) -c -m 444 ../curses.h $(DESTROOT)/usr/include/cursesX.htools2: $(CURSES)tools2 install: $(INSTALL) -c -m 444 ../curses.h $(DESTROOT)/usr/include/cursesX.h $(INSTALL) -c -m 644 termcap.o $(DESTROOT)/usr/lib/termcap.o $(INSTALL) -c -m 644 $(CURSES) $(DESTROOT)/usr/lib/libcursesX.a ranlib $(DESTROOT)/usr/lib/libcursesX.a $(INSTALL) -c -s tic $(DESTROOT)/usr/bin/ticterm.h: ex < maketerm.exOLDtermcap: ed < termcap.ed rm -f /tmp/caps cc -c termcap.cinclude $(GMAKERULES).c.o: $(CCCMD) $(MINICURSES) ../$*.c.c.d: if [ -f $*.o ] ; then mv $*.o tmp ; fi $(CC) $(DFLAGS) $(MINICURSES) -c ../$*.c mv $*.o $*.d if [ -f tmp ] ; then mv tmp $*.o.c.t: if [ -f $*.o ] ; then mv $*.o tmp ; fi $(CC) $(TFLAGS) $(MINICURSES) -c ../$*.c mv $*.o $*.d if [ -f tmp ] ; then mv tmp $*.o.c.p: if [ -f $*.o ] ; then mv $*.o tmp ; fi $(CC) $(PFLAGS) $(MINICURSES) -c ../$*.c mv $*.o $*.d if [ -f tmp ] ; then mv tmp $*.o__cflush.o: __cflush.c__sscans.o: __sscans.c_blanks.o: _blanks.c_c_clean.o: _c_clean.c_clearhl.o: _clearhl.c_clearline.o: _clearline.c_comphash.o: _comphash.c_delay.o: _delay.c_delchars.o: _delchars.c_dellines.o: _dellines.c_dumpwin.o: _dumpwin.c_ec_quit.o: _ec_quit.c_fixdelay.o: _fixdelay.c_forcehl.o: _forcehl.c_hlmode.o: _hlmode.c_id_char.o: _id_char.c_init_cost.o: _init_cost.c_inschars.o: _inschars.c_insmode.o: _insmode.c_kpmode.o: _kpmode.c_line_free.o: _line_free.c_ll_move.o: _ll_move.c_outch.o: _outch.c_outchar.o: _outchar.c_pos.o: _pos.c_reset.o: _reset.c_scrdown.o: _scrdown.c_scrollf.o: _scrollf.c_sethl.o: _sethl.c_setmode.o: _setmode.c_setwind.o: _setwind.c_shove.o: _shove.c_sprintw.o: _sprintw.c_sputc.o: _sputc.c_syncmodes.o: _syncmodes.c_tscroll.o: _tscroll.c_window.o: _window.caddch.o: addch.caddstr.o: addstr.cbaudrate.o: baudrate.cbeep.o: beep.cbox.o: box.ccapnames.o: capnames.ccbreak.o: cbreak.cchktypeahd.o: chktypeahd.cclear.o: clear.cclearok.o: clearok.cclreolinln.o: clreolinln.cclrtobot.o: clrtobot.cclrtoeol.o: clrtoeol.ccntcostfn.o: cntcostfn.ccrmode.o: crmode.ccurses.o: curses.cdef_prog.o: def_prog.cdef_shell.o: def_shell.cdelayoutpt.o: delayoutpt.cdelch.o: delch.cdeleteln.o: deleteln.cdelwin.o: delwin.cdoprnt.o: doprnt.cdoscan.o: doscan.cdoupdate.o: doupdate.cdraino.o: draino.cecho.o: echo.cendwin.o: endwin.cerase.o: erase.cerasechar.o: erasechar.cfixterm.o: fixterm.cflash.o: flash.cflushinp.o: flushinp.cgetch.o: getch.cgetstr.o: getstr.cidlok.o: idlok.cgettmode.o: gettmode.chas_ic.o: has_ic.chas_il.o: has_il.cidln.getst.o: idln.getst.cinitkeypad.o: initkeypad.cinitscr.o: initscr.cinsch.o: insch.cinsertln.o: insertln.cintrflush.o: intrflush.ckeypad.o: keypad.ckillchar.o: killchar.cleaveok.o: leaveok.cline_alloc.o: line_alloc.cll_refresh.o: ll_refresh.clongname.o: longname.cm_addch.o: m_addch.cm_addstr.o: m_addstr.cm_clear.o: m_clear.cm_erase.o: m_erase.cm_move.o: m_move.cmeta.o: meta.cm_refresh.o: m_refresh.cm_tstp.o: m_tstp.cmakenew.o: makenew.cminiinit.o: miniinit.cmove.o: move.cmvcur.o: mvcur.cmvprintw.o: mvprintw.cmvscanw.o: mvscanw.cmvwin.o: mvwin.cmvwprintw.o: mvwprintw.cmvwscanw.o: mvwscanw.cnaps.o: naps.cnewpad.o: newpad.cnewterm.o: newterm.cnewwin.o: newwin.cnl.o: nl.cnocbreak.o: nocbreak.cnocrmode.o: nocrmode.cnodelay.o: nodelay.cnoecho.o: noecho.cnonl.o: nonl.cnoraw.o: noraw.cnttychktrm.o: nttychktrm.coverlay.o: overlay.coverwrite.o: overwrite.cpnoutrfrsh.o: pnoutrfrsh.cprefresh.o: prefresh.cprintw.o: printw.cputp.o: putp.craw.o: raw.creset_prog.o: reset_prog.cresetshell.o: resetshell.cresetterm.o: resetterm.cresetty.o: resetty.crestarttrm.o: restarttrm.csaveterm.o: saveterm.csavetty.o: savetty.cscanw.o: scanw.cscroll.o: scroll.cscrollok.o: scrollok.cset_term.o: set_term.csetbuffred.o: setbuffred.csetterm.o: setterm.csetupterm.o: setupterm.cshowstring.o: showstring.csubwin.o: subwin.ctgetent.o: tgetent.ctgetflag.o: tgetflag.ctgetnum.o: tgetnum.ctgetstr.o: tgetstr.ctgoto.o: tgoto.ctouchwin.o: touchwin.ctparm.o: tparm.ctputs.o: tputs.ctraceonoff.o: traceonoff.ctstp.o: tstp.ctwo.twostr.o: two.twostr.ctypeahead.o: typeahead.cunctrl.o: unctrl.cvidattr.o: vidattr.cvidputs.o: vidputs.cvsprintf.o: vsprintf.cvsscanf.o: vsscanf.cwattroff.o: wattroff.cwattron.o: wattron.cwattrset.o: wattrset.cwnoutrfrsh.o: wnoutrfrsh.cwprintw.o: wprintw.cwrefresh.o: wrefresh.cwritechars.o: writechars.cwscanw.o: wscanw.cwstandend.o: wstandend.cwstandout.o: wstandout.c
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -