summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1994-10-07 08:58:58 +0000
committerache <ache@FreeBSD.org>1994-10-07 08:58:58 +0000
commitfd61e543ea3d1aa79349c9ca933fc549e1fe2164 (patch)
tree6a024fa82f0dcaf0a5331d11c22d1485a457a929
parentc4c79c211eaabb6fb1e467c75c520919a77e599c (diff)
downloadFreeBSD-src-fd61e543ea3d1aa79349c9ca933fc549e1fe2164.zip
FreeBSD-src-fd61e543ea3d1aa79349c9ca933fc549e1fe2164.tar.gz
Moved from ports with several enhancements
-rw-r--r--lib/ncurses/ncurses/Makefile73
1 files changed, 73 insertions, 0 deletions
diff --git a/lib/ncurses/ncurses/Makefile b/lib/ncurses/ncurses/Makefile
new file mode 100644
index 0000000..a5c2911
--- /dev/null
+++ b/lib/ncurses/ncurses/Makefile
@@ -0,0 +1,73 @@
+LIB= ncurses
+INCDIR= /usr/include
+CFLAGS+= -Wall -DMYTINFO -DTERMIOS -DGOOD_SELECT -DBSDTABS
+SHARED_LDADD+= -lmytinfo
+SRCS= lib_kernel.c lib_pad.c\
+ lib_unctrl.c lib_raw.c lib_vidattr.c lib_trace.c lib_beep.c \
+ lib_doupdate.c lib_refresh.c lib_initscr.c lib_newwin.c lib_addch.c \
+ lib_addstr.c lib_scroll.c lib_clreol.c lib_touch.c lib_mvcur.c lib_keyname.c\
+ lib_delwin.c lib_endwin.c lib_clrbot.c lib_move.c lib_printw.c \
+ lib_scanw.c lib_erase.c lib_getch.c lib_options.c lib_acs.c lib_slk.c\
+ lib_box.c lib_clear.c lib_delch.c lib_deleteln.c lib_insch.c \
+ lib_insertln.c lib_getstr.c lib_mvwin.c lib_longname.c lib_tstp.c \
+ lib_newterm.c lib_set_term.c lib_overlay.c lib_scrreg.c lib_color.c \
+ lib_insstr.c lib_insdel.c lib_twait.c
+CLEANFILES+= lib_keyname.c ${.CURDIR}/keys.tries
+
+beforedepend: ${.CURDIR}/keys.tries
+
+beforeinstall:
+ @cd ${.CURDIR}; for i in ncurses.h nterm.h unctrl.h termcap.h; do \
+ cmp -s $$i ${DESTDIR}${INCDIR}/$$i || \
+ $(INSTALL) $(COPY) -m 444 -o $(BINOWN) -g $(BINGRP) $$i ${DESTDIR}$(INCDIR); done
+
+${.CURDIR}/keys.tries: keys.list MKkeys.awk
+ awk -f ${.CURDIR}/MKkeys.awk ${.CURDIR}/keys.list > ${.CURDIR}/keys.tries
+
+# in case you don't run make depend
+lib_options.o: ${.CURDIR}/keys.tries
+
+lib_keyname.c: keys.list MKkeyname.awk
+ awk -f ${.CURDIR}/MKkeyname.awk ${.CURDIR}/keys.list > lib_keyname.c
+
+MAN3 = curs_addch.3 \
+ curs_addchst.3 \
+ curs_addstr.3 \
+ curs_attr.3 \
+ curs_beep.3 \
+ curs_bkgd.3 \
+ curs_border.3 \
+ curs_clear.3 \
+ curs_color.3 \
+ curs_delch.3 \
+ curs_delln.3 \
+ curs_getch.3 \
+ curs_getstr.3 \
+ curs_getyx.3 \
+ curs_inch.3 \
+ curs_inchstr.3 \
+ curs_initscr.3 \
+ curs_inopts.3 \
+ curs_insch.3 \
+ curs_insstr.3 \
+ curs_instr.3 \
+ curs_kernel.3 \
+ curs_move.3 \
+ curs_outopts.3 \
+ curs_overlay.3 \
+ curs_pad.3 \
+ curs_printw.3 \
+ curs_refresh.3 \
+ curs_scanw.3 \
+ curs_scr_dmp.3 \
+ curs_scroll.3 \
+ curs_slk.3 \
+ curs_termatt.3 \
+ curs_touch.3 \
+ curs_util.3 \
+ curs_window.3 \
+ ncurses.3
+
+MAN5 = term.5 terminfo.5
+
+.include <bsd.lib.mk>
OpenPOWER on IntegriCloud