Makefile revision 16123
13455Sache# Makefile for ncurses 215947Swosch# $Id: Makefile,v 1.15 1996/02/09 00:45:32 mpp Exp $ 33455Sache 43410SacheLIB= ncurses 58353SacheSHLIB_MAJOR= 3 68353SacheSHLIB_MINOR= 0 74898SacheSRCS= lib_kernel.c lib_pad.c lib_bkgd.c \ 83410Sache lib_unctrl.c lib_raw.c lib_vidattr.c lib_trace.c lib_beep.c \ 93410Sache lib_doupdate.c lib_refresh.c lib_initscr.c lib_newwin.c lib_addch.c \ 103410Sache lib_addstr.c lib_scroll.c lib_clreol.c lib_touch.c lib_mvcur.c lib_keyname.c\ 113410Sache lib_delwin.c lib_endwin.c lib_clrbot.c lib_move.c lib_printw.c \ 123410Sache lib_scanw.c lib_erase.c lib_getch.c lib_options.c lib_acs.c lib_slk.c\ 134860Sache lib_box.c lib_clear.c lib_delch.c lib_insch.c \ 144860Sache lib_getstr.c lib_mvwin.c lib_longname.c lib_tstp.c \ 153410Sache lib_newterm.c lib_set_term.c lib_overlay.c lib_scrreg.c lib_color.c \ 166344Sache lib_insstr.c lib_insdel.c lib_twait.c lib_window.c copyright.c 173410Sache 184898SacheCFLAGS+= -I. -I${.CURDIR} -Wall -DMYTINFO -DGOOD_SELECT 193526SacheLDADD+= -lmytinfo 203410Sache 213523SacheCLEANFILES+= lib_keyname.c keys.tries 223523Sache 233523Sachebeforedepend: keys.tries 243523Sache 253410Sachebeforeinstall: 264941Sache @cd ${.CURDIR}; for i in unctrl.h; do \ 273523Sache cmp -s $$i ${DESTDIR}/usr/include/$$i || \ 289971Sbde $(INSTALL) -c -m 444 -o $(BINOWN) -g $(BINGRP) $$i \ 293523Sache ${DESTDIR}/usr/include; done 304898Sache @cd ${.CURDIR}; cmp -s curses.h ${DESTDIR}/usr/include/ncurses.h || \ 319971Sbde $(INSTALL) -c -m 444 -o $(BINOWN) -g $(BINGRP) curses.h \ 324898Sache ${DESTDIR}/usr/include/ncurses.h 333410Sache 343523Sachekeys.tries: ${.CURDIR}/keys.list ${.CURDIR}/MKkeys.awk 353523Sache awk -f ${.CURDIR}/MKkeys.awk ${.CURDIR}/keys.list > keys.tries 363410Sache 373410Sache# in case you don't run make depend 383523Sachelib_options.o lib_options.so lib_options.po: keys.tries 393410Sache 403523Sachelib_keyname.c: ${.CURDIR}/keys.list ${.CURDIR}/MKkeyname.awk 413410Sache awk -f ${.CURDIR}/MKkeyname.awk ${.CURDIR}/keys.list > lib_keyname.c 423410Sache 433410SacheMAN3 = curs_addch.3 \ 443410Sache curs_addchst.3 \ 453410Sache curs_addstr.3 \ 463410Sache curs_attr.3 \ 473410Sache curs_beep.3 \ 483410Sache curs_bkgd.3 \ 493410Sache curs_border.3 \ 503410Sache curs_clear.3 \ 513410Sache curs_color.3 \ 523410Sache curs_delch.3 \ 533410Sache curs_delln.3 \ 543410Sache curs_getch.3 \ 553410Sache curs_getstr.3 \ 563410Sache curs_getyx.3 \ 573410Sache curs_inch.3 \ 583410Sache curs_inchstr.3 \ 593410Sache curs_initscr.3 \ 603410Sache curs_inopts.3 \ 613410Sache curs_insch.3 \ 623410Sache curs_insstr.3 \ 633410Sache curs_instr.3 \ 643410Sache curs_kernel.3 \ 653410Sache curs_move.3 \ 663410Sache curs_outopts.3 \ 673410Sache curs_overlay.3 \ 683410Sache curs_pad.3 \ 693410Sache curs_printw.3 \ 703410Sache curs_refresh.3 \ 713410Sache curs_scanw.3 \ 723410Sache curs_scr_dmp.3 \ 733410Sache curs_scroll.3 \ 743410Sache curs_slk.3 \ 753410Sache curs_termatt.3 \ 767962Sache curs_termin.3 \ 773410Sache curs_touch.3 \ 783410Sache curs_util.3 \ 793410Sache curs_window.3 \ 803410Sache ncurses.3 813410Sache 823410SacheMAN5 = term.5 terminfo.5 833410Sache 8413987SmppMLINKS+=curs_addch.3 addch.3 curs_addch.3 waddch.3 curs_addch.3 echochar.3 \ 8513987Smpp curs_addch.3 wechochar.3 curs_addch.3 mvaddch.3 \ 8613987Smpp curs_addch.3 mvwaddch.3 8713987SmppMLINKS+=curs_addchst.3 addchstr.3 curs_addchst.3 addchnstr.3 \ 8813987Smpp curs_addchst.3 waddchstr.3 curs_addchst.3 waddchnstr.3 \ 8913987Smpp curs_addchst.3 mvaddchstr.3 curs_addchst.3 mvaddchnstr.3 \ 9013987Smpp curs_addchst.3 mvwaddchstr.3 curs_addchst.3 mvwaddchnstr.3 9113987SmppMLINKS+=curs_addstr.3 addstr.3 curs_addstr.3 addnstr.3 \ 9213987Smpp curs_addstr.3 waddstr.3 curs_addstr.3 waddnstr.3 \ 9313987Smpp curs_addstr.3 mvaddstr.3 curs_addstr.3 mvaddnstr.3 \ 9413987Smpp curs_addstr.3 mvwaddstr.3 curs_addstr.3 mvwaddnstr.3 9513987SmppMLINKS+=curs_attr.3 attroff.3 curs_attr.3 wattroff.3 \ 9613987Smpp curs_attr.3 attron.3 curs_attr.3 wattron.3 \ 9713987Smpp curs_attr.3 attrset.3 curs_attr.3 wattrset.3 \ 9813987Smpp curs_attr.3 standend.3 curs_attr.3 wstandend.3 \ 9913987Smpp curs_attr.3 standout.3 curs_attr.3 wstandout.3 10013987SmppMLINKS+=curs_beep.3 beep.3 curs_beep.3 flash.3 10113987SmppMLINKS+=curs_bkgd.3 bkgdset.3 curs_bkgd.3 wbkgdset.3 \ 10213987Smpp curs_bkgd.3 bkgd.3 curs_bkgd.3 wbkgd.3 10313987SmppMLINKS+=curs_border.3 border.3 curs_border.3 wborder.3 curs_border.3 box.3 \ 10413987Smpp curs_border.3 hline.3 curs_border.3 whline.3 \ 10513987Smpp curs_border.3 vline.3 curs_border.3 wvline.3 10613987SmppMLINKS+=curs_clear.3 erase.3 curs_clear.3 werase.3 curs_clear.3 clear.3 \ 10713987Smpp curs_clear.3 wclear.3 curs_clear.3 clrtobot.3 \ 10813987Smpp curs_clear.3 wclrtobot.3 curs_clear.3 clrtoeol.3 \ 10913987Smpp curs_clear.3 wclrtoeol.3 11013987SmppMLINKS+=curs_color.3 start_color.3 curs_color.3 init_pair.3 \ 11113987Smpp curs_color.3 init_color.3 curs_color.3 has_colors.3 \ 11213987Smpp curs_color.3 can_change_color.3 curs_color.3 color_content.3 \ 11313987Smpp curs_color.3 pair_content.3 11413987SmppMLINKS+=curs_delch.3 delch.3 curs_delch.3 wdelch.3 curs_delch.3 mvdelch.3 \ 11513987Smpp curs_delch.3 mvwdelch.3 11613987SmppMLINKS+=curs_delln.3 deleteln.3 curs_delln.3 wdeleteln.3 \ 11713987Smpp curs_delln.3 insdelln.3 curs_delln.3 winsdelln.3 \ 11813987Smpp curs_delln.3 insertln.3 curs_delln.3 winsertln.3 11913987SmppMLINKS+=curs_getch.3 getch.3 curs_getch.3 wgetch.3 curs_getch.3 mvgetch.3 \ 12013987Smpp curs_getch.3 mvwgetch.3 curs_getch.3 ungetch.3 12113987SmppMLINKS+=curs_getstr.3 getstr.3 curs_getstr.3 wgetstr.3 \ 12213987Smpp curs_getstr.3 mvgetstr.3 curs_getstr.3 mvwgetstr.3 \ 12313987Smpp curs_getstr.3 wgetnstr.3 12413987SmppMLINKS+=curs_getyx.3 getyx.3 curs_getyx.3 pgetparyx.3 curs_getyx.3 getbegyx.3 \ 12513987Smpp curs_getyx.3 getmaxyx.3 12613987SmppMLINKS+=curs_inch.3 inch.3 curs_inch.3 winch.3 curs_inch.3 mvinch.3 \ 12713987Smpp curs_inch.3 mvwinch.3 12813987SmppMLINKS+=curs_inchstr.3 inchstr.3 curs_inchstr.3 inchnstr.3 \ 12913987Smpp curs_inchstr.3 winchstr.3 curs_inchstr.3 winchnstr.3 \ 13013987Smpp curs_inchstr.3 mvinchstr.3 curs_inchstr.3 mvinchnstr.3 \ 13113987Smpp curs_inchstr.3 mvwinchstr.3 curs_inchstr.3 mvwinchnstr.3 13213987SmppMLINKS+=curs_initscr.3 initscr.3 curs_initscr.3 newterm.3 \ 13313987Smpp curs_initscr.3 endwin.3 curs_initscr.3 isendwin.3 \ 13413987Smpp curs_initscr.3 set_term.3 curs_initscr.3 delscreen.3 13513987SmppMLINKS+=curs_inopts.3 cbreak.3 curs_inopts.3 nocbreak.3 curs_inopts.3 echo.3 \ 13613987Smpp curs_inopts.3 noecho.3 curs_inopts.3 halfdelay.3 \ 13713987Smpp curs_inopts.3 intrflush.3 curs_inopts.3 keypad.3 curs_inopts.3 meta.3 \ 13813987Smpp curs_inopts.3 nodelay.3 curs_inopts.3 notimeout.3 curs_inopts.3 raw.3 \ 13913987Smpp curs_inopts.3 noraw.3 curs_inopts.3 noqiflush.3 \ 14013987Smpp curs_inopts.3 qiflush.3 curs_inopts.3 timeout.3 \ 14113987Smpp curs_inopts.3 wtimeout.3 curs_inopts.3 typeahead.3 14213987SmppMLINKS+=curs_insch.3 insch.3 curs_insch.3 winsch.3 curs_insch.3 mvinsch.3 \ 14313987Smpp curs_insch.3 mvwinsch.3 14413987SmppMLINKS+=curs_insstr.3 insstr.3 curs_insstr.3 insnstr.3 \ 14513987Smpp curs_insstr.3 winsstr.3 curs_insstr.3 winsnstr.3 \ 14613987Smpp curs_insstr.3 mvinsstr.3 curs_insstr.3 mvinsnstr.3 \ 14713987Smpp curs_insstr.3 mvwinsstr.3 curs_insstr.3 mvwinsnstr.3 14813987SmppMLINKS+=curs_instr.3 instr.3 curs_instr.3 innstr.3 curs_instr.3 winstr.3 \ 14913987Smpp curs_instr.3 winnstr.3 curs_instr.3 mvinstr.3 curs_instr.3 mvinnstr.3 \ 15013987Smpp curs_instr.3 mvwinstr.3 curs_instr.3 mvwinnstr.3 15113987SmppMLINKS+=curs_kernel.3 def_prog_mode.3 curs_kernel.3 def_shell_mode.3 \ 15213987Smpp curs_kernel.3 reset_prog_mode.3 curs_kernel.3 reset_shell_mode.3 \ 15313987Smpp curs_kernel.3 resetty.3 curs_kernel.3 savetty.3 \ 15413987Smpp curs_kernel.3 getsyx.3 curs_kernel.3 setsyx.3 \ 15513987Smpp curs_kernel.3 ripoffline.3 curs_kernel.3 curs_set.3 \ 15613987Smpp curs_kernel.3 napms.3 15713987SmppMLINKS+=curs_move.3 move.3 curs_move.3 wmove.3 15813987SmppMLINKS+=curs_outopts.3 clearok.3 curs_outopts.3 idlok.3 \ 15913987Smpp curs_outopts.3 idcok.3 curs_outopts.3 immedok.3 \ 16013987Smpp curs_outopts.3 leaveok.3 curs_outopts.3 setscrreg.3 \ 16113987Smpp curs_outopts.3 wsetscrreg.3 curs_outopts.3 scrollok.3 \ 16213987Smpp curs_outopts.3 nl.3 curs_outopts.3 nonl.3 16313987SmppMLINKS+=curs_overlay.3 overlay.3 curs_overlay.3 overwrite.3 \ 16413987Smpp curs_overlay.3 copywin.3 16513987SmppMLINKS+=curs_pad.3 newpad.3 curs_pad.3 subpad.3 curs_pad.3 prefresh.3 \ 16613987Smpp curs_pad.3 pnoutrefresh.3 curs_pad.3 pechochar.3 16713987SmppMLINKS+=curs_printw.3 printw.3 curs_printw.3 wprintw.3 \ 16813987Smpp curs_printw.3 mvprintw.3 curs_printw.3 mvwprintw.3 \ 16913987Smpp curs_printw.3 vwprintw.3 17013987SmppMLINKS+=curs_refresh.3 refresh.3 curs_refresh.3 wrefresh.3 \ 17113987Smpp curs_refresh.3 wnoutrefresh.3 curs_refresh.3 doupdate.3 \ 17213987Smpp curs_refresh.3 redrawwin.3 curs_refresh.3 wredrawln.3 17313987SmppMLINKS+=curs_scanw.3 scanw.3 curs_scanw.3 wscanw.3 curs_scanw.3 mvscanw.3 \ 17413987Smpp curs_scanw.3 mvwscanw.3 curs_scanw.3 vwscanw.3 17513987SmppMLINKS+=curs_scr_dmp.3 scr_dump.3 curs_scr_dmp.3 scr_restore.3 \ 17613987Smpp curs_scr_dmp.3 scr_init.3 curs_scr_dmp.3 scr_set.3 17713987SmppMLINKS+=curs_scroll.3 scroll.3 curs_scroll.3 scrl.3 curs_scroll.3 wscrl.3 17813987SmppMLINKS+=curs_slk.3 slk_init.3 curs_slk.3 slk_set.3 curs_slk.3 slk_refresh.3 \ 17913987Smpp curs_slk.3 slk_noutrefresh.3 curs_slk.3 slk_label.3 \ 18013987Smpp curs_slk.3 slk_clear.3 curs_slk.3 slk_restore.3 \ 18113987Smpp curs_slk.3 slk_touch.3 curs_slk.3 slk_attron.3 \ 18213987Smpp curs_slk.3 slk_attrset.3 curs_slk.3 slk_attroff.3 18313987SmppMLINKS+=curs_termatt.3 baudrate.3 curs_termatt.3 erasechar.3 \ 18413987Smpp curs_termatt.3 has_ic.3 curs_termatt.3 has_il.3 \ 18513987Smpp curs_termatt.3 killchar.3 curs_termatt.3 longname.3 \ 18613987Smpp curs_termatt.3 termattrs.3 curs_termatt.3 termname.3 18715947Swosch 18815947Swosch# XXX name clash with termcap(3) 18915947Swosch# MLINKS+= curs_termin.3 tparm.3 19013987SmppMLINKS+=curs_termin.3 setupterm.3 curs_termin.3 setterm.3 \ 19113987Smpp curs_termin.3 set_curterm.3 curs_termin.3 del_curterm.3 \ 19215947Swosch curs_termin.3 restartterm.3 \ 19313987Smpp curs_termin.3 putp.3 curs_termin.3 vidputs.3 \ 19413987Smpp curs_termin.3 vidattr.3 curs_termin.3 mvcur.3 \ 19513987Smpp curs_termin.3 tigetflag.3 curs_termin.3 tigetnum.3 \ 19613987Smpp curs_termin.3 tigetstr.3 19713987SmppMLINKS+=curs_touch.3 touchwin.3 curs_touch.3 touchline.3 \ 19813987Smpp curs_touch.3 untouchwin.3 curs_touch.3 wtouchln.3 \ 19913987Smpp curs_touch.3 is_linetouched.3 curs_touch.3 is_wintouched.3 20013987SmppMLINKS+=curs_util.3 unctrl.3 curs_util.3 keyname.3 \ 20113987Smpp curs_util.3 filter.3 curs_util.3 use_env.3 \ 20213987Smpp curs_util.3 putwin.3 curs_util.3 getwin.3 \ 20313987Smpp curs_util.3 delay_output.3 curs_util.3 flushinp.3 20413987SmppMLINKS+=curs_window.3 newwin.3 curs_window.3 delwin.3 \ 20513987Smpp curs_window.3 mvwin.3 curs_window.3 subwin.3 \ 20613987Smpp curs_window.3 derwin.3 curs_window.3 mvderwin.3 \ 20713987Smpp curs_window.3 dupwin.3 curs_window.3 wsyncup.3 \ 20813987Smpp curs_window.3 syncok.3 curs_window.3 wcursyncup.3 \ 20913987Smpp curs_window.3 wsyncdown.3 21013987Smpp 2113410Sache.include <bsd.lib.mk> 212