Home | History | Annotate | Line # | Download | only in libcurses
Makefile revision 1.41
      1 #	$NetBSD: Makefile,v 1.41 2003/03/30 07:38:41 jdc Exp $
      2 #	@(#)Makefile	8.2 (Berkeley) 1/2/94
      3 
      4 .include <bsd.own.mk>
      5 
      6 CPPFLAGS+=#-DTFILE=\"/dev/ttyp0\"
      7 CPPFLAGS+=-I${.CURDIR} -I${NETBSDSRCDIR}/lib/libterm
      8 .if defined(DEBUG_CURSES)
      9 CFLAGS+=-g
     10 .if defined(FULL_DEBUG)
     11 CPPFLAGS+=-DDEBUG
     12 .endif
     13 .endif
     14 LIB=	curses
     15 SRCS=	acs.c addbytes.c addch.c addnstr.c attributes.c background.c bell.c \
     16 	border.c box.c clear.c clearok.c clrtobot.c clrtoeol.c color.c \
     17 	copywin.c cr_put.c ctrace.c cur_hash.c curs_set.c curses.c delch.c \
     18 	deleteln.c delwin.c erase.c flushok.c fullname.c getch.c getstr.c \
     19 	getyx.c id_subwins.c idlok.c idcok.c inch.c inchstr.c initscr.c \
     20 	insch.c insdelln.c insertln.c instr.c keypad.c leaveok.c line.c \
     21 	longname.c meta.c move.c mvwin.c newwin.c nodelay.c notimeout.c \
     22 	overlay.c overwrite.c pause.c printw.c putchar.c refresh.c resize.c \
     23 	scanw.c screen.c scroll.c scrollok.c setterm.c standout.c timeout.c \
     24 	toucholap.c touchwin.c tscroll.c tstp.c tty.c unctrl.c underscore.c
     25 
     26 MAN=	curses.3 curses_addch.3 curses_addstr.3 curses_attributes.3 \
     27 	curses_background.3 curses_border.3 curses_clear.3 curses_color.3 \
     28 	curses_cursor.3 curses_default_colors.3 curses_delch.3 \
     29 	curses_deleteln.3 curses_inch.3 curses_input.3 curses_insertch.3 \
     30 	curses_insertln.3 curses_insdelln.3 curses_line.3 curses_pad.3 \
     31 	curses_print.3 curses_refresh.3 curses_scanw.3 curses_screen.3 \
     32 	curses_scroll.3 curses_standout.3 curses_termcap.3 curses_touch.3 \
     33 	curses_tty.3 curses_underscore.3 curses_window.3
     34 INCS=	curses.h unctrl.h
     35 INCSDIR=/usr/include
     36 
     37 CPPFLAGS+=-DCM_N -DCM_GT -DCM_B -DCM_D
     38 SRCS+=	termcap.c tgoto.c tputs.c
     39 .PATH: ${NETBSDSRCDIR}/lib/libterm
     40 
     41 MLINKS+= curses_addch.3 addch.3 curses_addstr.3 addstr.3 \
     42 	 curses_addstr.3 addnstr.3 \
     43 	 curses_default_colors.3 assume_default_colors.3 \
     44 	 curses_attributes.3 attr_get.3 curses_attributes.3 attr_off.3 \
     45 	 curses_attributes.3 attr_on.3 curses_attributes.3 attr_set.3 \
     46 	 curses_attributes.3 attron.3 curses_attributes.3 attroff.3 \
     47 	 curses_attributes.3 attrset.3 curses_tty.3 beep.3 \
     48 	 curses_background.3 bkgd.3 curses_background.3 bkgdset.3 \
     49 	 curses_border.3 border.3 curses_border.3 box.3 \
     50 	 curses_color.3 can_change_colors.3 curses_tty.3 cbreak.3 \
     51 	 curses_clear.3 clear.3 curses_clear.3 clearok.3 \
     52 	 curses_clear.3 clrtobot.3 curses_clear.3 clrtoeol.3 \
     53 	 curses_color.3 color_content.3 curses_attributes.3 color_set.3 \
     54 	 curses_window.3 copywin.3 curses_tty.3 curs_set.3 \
     55 	 curses_tty.3 delay_output.3  curses_tty.3 def_prog_mode.3 \
     56 	 curses_tty.3 def_shell_mode.3 curses_delch.3 delch.3 \
     57 	 curses_deleteln.3 deleteln.3 curses_screen.3 delscreen.3 \
     58 	 curses_window.3 delwin.3 curses_window.3 derwin.3 \
     59 	 curses_refresh.3 doupdate.3 curses_window.3 dupwin.3 \
     60 	 curses_tty.3 echo.3 \
     61 	 curses_screen.3 endwin.3 curses_clear.3 erase.3 \
     62 	 curses_tty.3 erasechar.3 \
     63 	 curses_tty.3 flash.3 curses_tty.3 flushinp.3 \
     64 	 curses_refresh.3 flushok.3 \
     65 	 curses_termcap.3 fullname.3 curses_attributes.3 getattrs.3  \
     66 	 curses_background.3 getbkgd.3 curses_termcap.3 getcap.3 \
     67 	 curses_input.3 getch.3 curses_cursor.3 getcury.3 \
     68 	 curses_cursor.3 getcurx.3 curses_cursor.3 getbegy.3 \
     69 	 curses_cursor.3 getbegx.3 curses_cursor.3 getmaxy.3 \
     70 	 curses_cursor.3 getmaxx.3 curses_input.3 getnstr.3 \
     71 	 curses_cursor.3 getpary.3 curses_cursor.3 getparx.3 \
     72 	 curses_cursor.3 getparyx.3 curses_input.3 getstr.3 \
     73 	 curses_tty.3 gettmode.3 curses_cursor.3 getyx.3 \
     74 	 curses_color.3 has_colors.3 curses_tty.3 has_ic.3 \
     75 	 curses_tty.3 halfdelay.3 curses_tty.3 has_il.3 \
     76 	 curses_line.3 hline.3 curses_tty.3 idcok.3 \
     77 	 curses_tty.3 idlok.3 curses_inch.3 inch.3 \
     78 	 curses_inch.3 inchnstr.3 curses_inch.3 inchstr.3 \
     79 	 curses_inch.3 innstr.3 curses_color.3 init_color.3 \
     80 	 curses_color.3 init_pair.3 curses_screen.3 initscr.3 \
     81 	 curses_insertch.3 insch.3 curses_insdelln.3 insdelln.3 \
     82 	 curses_insertln.3 insertln.3 curses_inch.3 instr.3 \
     83 	 curses_tty.3 intrflush.3 curses_touch.3 is_linetouched.3 \
     84 	 curses_touch.3 is_wintouched.3 curses_screen.3 isendwin.3 \
     85 	 curses_input.3 keypad.3 curses_tty.3 killchar.3 \
     86 	 curses_refresh.3 leaveok.3 curses_termcap.3 longname.3 \
     87 	 curses_tty.3 meta.3 curses_cursor.3 move.3 \
     88 	 curses_cursor.3 mvcur.3 curses_window.3 mvderwin.3 \
     89 	 curses_input.3 mvgetnstr.3 curses_input.3 mvgetstr.3 \
     90 	 curses_line.3 mvhline.3 curses_line.3 mvvline.3 \
     91 	 curses_input.3 mvwgetnstr.3 curses_input.3 mvwgetstr.3 \
     92 	 curses_line.3 mvwhline.3 curses_line.3 mvwvline.3 \
     93 	 curses_tty.3 napms.3 curses_pad.3 newpad.3 \
     94 	 curses_screen.3 newterm.3 curses_window.3 newwin.3 \
     95 	 curses_tty.3 nl.3 curses_tty.3 nocbreak.3 \
     96 	 curses_input.3 nodelay.3 curses_tty.3 noecho.3 \
     97 	 curses_tty.3 nonl.3 curses_tty.3 noraw.3 \
     98 	 curses_input.3 notimeout.3 curses_window.3 overlay.3 \
     99 	 curses_window.3 overwrite.3 curses_color.3 pair_content.3 \
    100 	 curses_pad.3 pnoutrefresh.3 curses_pad.3 prefresh.3 \
    101 	 curses_print.3 printw.3 curses_tty.3 raw.3 \
    102 	 curses_refresh.3 refresh.3 curses_tty.3 reset_prog_mode.3 \
    103 	 curses_tty.3 reset_shell_mode.3 curses_tty.3 resetty.3 \
    104 	 curses_screen.3 resizeterm.3 curses_tty.3 savetty.3 \
    105 	 curses_scanw.3 scanw.3 curses_scroll.3 scrl.3 \
    106 	 curses_scroll.3 scroll.3 curses_scroll.3 scrollok.3 \
    107 	 curses_scroll.3 setscrreg.3 curses_screen.3 set_term.3 \
    108 	 curses_screen.3 setterm.3 curses_standout.3 standend.3 \
    109 	 curses_standout.3 standout.3 curses_color.3 start_color.3 \
    110 	 curses_pad.3 subpad.3 curses_window.3 subwin.3 \
    111 	 curses_input.3 timeout.3 curses_touch.3 touchline.3 \
    112 	 curses_touch.3 touchoverlap.3 curses_touch.3 touchwin.3 \
    113 	 curses_print.3 unctrl.3 curses_underscore.3 underend.3 \
    114 	 curses_underscore.3 underscore.3 curses_input.3 ungetch.3 \
    115 	 curses_touch.3 untouchwin.3 \
    116 	 curses_default_colors.3 use_default_colors.3 curses_line.3 vline.3 \
    117 	 curses_addch.3 waddch.3 curses_addstr.3 waddstr.3 \
    118 	 curses_attributes.3 wattr_get.3 curses_attributes.3 wattr_off.3 \
    119 	 curses_attributes.3 wattr_on.3 curses_attributes.3 wattr_set.3 \
    120 	 curses_attributes.3 wattron.3 curses_attributes.3 wattroff.3 \
    121 	 curses_attributes.3 wattrset.3 curses_background.3 wbkgd.3 \
    122 	 curses_background.3 wbkgdset.3 curses_border.3 wborder.3 \
    123 	 curses_clear.3 wclear.3 curses_clear.3 wclrtobot.3 \
    124 	 curses_clear.3 wclrtoeol.3 curses_attributes.3 wcolor_set.3 \
    125 	 curses_delch.3 wdelch.3 curses_deleteln.3 wdeleteln.3 \
    126 	 curses_clear.3 werase.3 curses_input.3 wgetch.3 \
    127 	 curses_input.3 wgetnstr.3 curses_input.3 wgetstr.3 \
    128 	 curses_line.3 whline.3 curses_inch.3 winch.3 \
    129 	 curses_inch.3 winchnstr.3 curses_inch.3 winchstr.3 \
    130 	 curses_inch.3 winnstr.3 curses_insertch.3 winsch.3 \
    131 	 curses_insdelln.3 winsdelln.3 curses_insertln.3 winsertln.3 \
    132 	 curses_inch.3 winstr.3 curses_cursor.3 wmove.3 \
    133 	 curses_refresh.3 wnoutrefresh.3 curses_print.3 wprintw.3 \
    134 	 curses_refresh.3 wrefresh.3 curses_window.3 wresize.3 \
    135 	 curses_scanw.3 wscanw.3 curses_scroll.3 wscrl.3 \
    136 	 curses_scroll.3 wsetscrreg.3 curses_standout.3 wstandend.3 \
    137 	 curses_standout.3 wstandout.3 curses_input.3 wtimeout.3 \
    138 	 curses_touch.3 wtouchln.3 curses_underscore.3 wunderend.3 \
    139 	 curses_underscore.3 wunderscore.3 curses_line.3 wvline.3
    140 
    141 .if make(install)
    142 SUBDIR+= PSD.doc
    143 .endif
    144 
    145 .include <bsd.lib.mk>
    146 .include <bsd.subdir.mk>
    147