summaryrefslogtreecommitdiffstats
path: root/gnu/lib/libdialog/Makefile
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2011-01-12 14:55:02 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2011-01-12 14:55:02 +0000
commit3d4e8889889e5e36302454225999f7e146d3219c (patch)
treefa315b999f531039df54ab7af8e99f7e8daad77c /gnu/lib/libdialog/Makefile
parentb905920a72950a63c9782b4911d252bfac08db6e (diff)
downloadFreeBSD-src-3d4e8889889e5e36302454225999f7e146d3219c.zip
FreeBSD-src-3d4e8889889e5e36302454225999f7e146d3219c.tar.gz
Update dialog to version 20100428. This changes the license under which
dialog is distributed from GPLv2 to LGPLv2 and introduces a number of new features and a new and better libdialog API. The existing libdialog will be kept temporarily as libodialog for compatibility purposes until sade, sysinstall and tzsetup have been either updated or replaced. __FreeBSD_version is now 900030. Discussed on: -current Approved by: core Obtained from: http://invisible-island.net/dialog
Diffstat (limited to 'gnu/lib/libdialog/Makefile')
-rw-r--r--gnu/lib/libdialog/Makefile58
1 files changed, 15 insertions, 43 deletions
diff --git a/gnu/lib/libdialog/Makefile b/gnu/lib/libdialog/Makefile
index 49e9d0f..5d1c84b 100644
--- a/gnu/lib/libdialog/Makefile
+++ b/gnu/lib/libdialog/Makefile
@@ -1,47 +1,19 @@
-# Makefile for libdialog
# $FreeBSD$
-.include <bsd.own.mk>
-
-LIB= dialog
-INCS= dialog.h
-MAN= dialog.3
-
-SHLIB_MAJOR= 7
-SRCS= kernel.c rc.c checklist.c inputbox.c menubox.c msgbox.c \
- lineedit.c radiolist.c textbox.c yesno.c prgbox.c raw_popen.c \
- fselect.c ui_objects.c dir.c notify.c help.c gauge.c tree.c
-
-EXAMPLES= Makefile check1.c check2.c check3.c dselect.c fselect.c \
- ftree1.c ftree1.test ftree2.c ftree2.test gauge.c input1.c \
- input2.c menu1.c menu2.c menu3.c msg.c prgbox.c radio1.c \
- radio2.c radio3.c text.c tree.c yesno.c
-
-CFLAGS+= -I${.CURDIR} -Wall -Wstrict-prototypes -DLOCALE
-
-DPADD= ${LIBNCURSES}
-LDADD= -lncurses
-
-.if ${MK_HTML} != "no"
-FILES= ${EXAMPLES:C;^;${.CURDIR}/TESTS/;}
-FILESDIR= ${SHAREDIR}/examples/libdialog
-.endif
-
-MLINKS+=dialog.3 draw_shadow.3 dialog.3 draw_box.3 \
- dialog.3 line_edit.3 dialog.3 strheight.3 \
- dialog.3 strwidth.3 dialog.3 dialog_create_rc.3 \
- dialog.3 dialog_yesno.3 dialog.3 dialog_noyes.3 \
- dialog.3 dialog_prgbox.3 \
- dialog.3 dialog_textbox.3 dialog.3 dialog_menu.3 \
- dialog.3 dialog_checklist.3 dialog.3 dialog_radiolist.3 \
- dialog.3 dialog_inputbox.3 dialog.3 dialog_clear_norefresh.3 \
- dialog.3 dialog_clear.3 dialog.3 dialog_update.3 \
- dialog.3 dialog_fselect.3 dialog.3 dialog_notify.3 \
- dialog.3 dialog_mesgbox.3 dialog.3 dialog_gauge.3 \
- dialog.3 init_dialog.3 dialog.3 end_dialog.3 \
- dialog.3 use_helpfile.3 dialog.3 use_helpline.3 \
- dialog.3 get_helpline.3 dialog.3 restore_helpline.3 \
- dialog.3 dialog_msgbox.3 dialog.3 dialog_ftree.3 \
- dialog.3 dialog_tree.3
+DIALOG= ${.CURDIR}/../../../contrib/dialog
+
+LIB= dialog
+SHLIB_MAJOR= 7
+SRCS= arrows.c buttons.c calendar.c checklist.c columns.c dlg_keys.c \
+ editbox.c fselect.c formbox.c guage.c inputbox.c inputstr.c \
+ menubox.c mixedform.c mixedgauge.c mouse.c mousewget.c \
+ msgbox.c pause.c progressbox.c rc.c tailbox.c textbox.c \
+ timebox.c trace.c ui_getc.c util.c version.c yesno.c
+INCS= dialog.h dlg_colors.h dlg_config.h dlg_keys.h
+MAN= dialog.3
+
+CFLAGS+= -I${.CURDIR} -I${DIALOG}
+.PATH: ${DIALOG}
+WARNS?= 3
.include <bsd.lib.mk>
OpenPOWER on IntegriCloud