aboutsummaryrefslogtreecommitdiff
path: root/gnu/lib
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/lib')
-rw-r--r--gnu/lib/Makefile9
-rw-r--r--gnu/lib/Makefile.inc1
-rw-r--r--gnu/lib/libdialog/Makefile20
-rw-r--r--gnu/lib/libdialog/Makefile.depend18
-rw-r--r--gnu/lib/libdialog/dlg_config.h126
-rw-r--r--gnu/lib/tests/Makefile4
-rw-r--r--gnu/lib/tests/Makefile.depend10
7 files changed, 188 insertions, 0 deletions
diff --git a/gnu/lib/Makefile b/gnu/lib/Makefile
new file mode 100644
index 000000000000..1f92672b49b1
--- /dev/null
+++ b/gnu/lib/Makefile
@@ -0,0 +1,9 @@
+.include <src.opts.mk>
+
+SUBDIR=
+SUBDIR.${MK_DIALOG}+= libdialog
+SUBDIR.${MK_TESTS}+= tests
+
+SUBDIR_PARALLEL=
+
+.include <bsd.subdir.mk>
diff --git a/gnu/lib/Makefile.inc b/gnu/lib/Makefile.inc
new file mode 100644
index 000000000000..01b5f23410c8
--- /dev/null
+++ b/gnu/lib/Makefile.inc
@@ -0,0 +1 @@
+.include "../Makefile.inc"
diff --git a/gnu/lib/libdialog/Makefile b/gnu/lib/libdialog/Makefile
new file mode 100644
index 000000000000..0b32a75e4a23
--- /dev/null
+++ b/gnu/lib/libdialog/Makefile
@@ -0,0 +1,20 @@
+DIALOG= ${SRCTOP}/contrib/dialog
+
+LIB= dialog
+SHLIB_MAJOR= 10
+SRCS= argv.c arrows.c buildlist.c buttons.c calendar.c checklist.c \
+ columns.c dlg_keys.c editbox.c fselect.c formbox.c guage.c \
+ help.c inputbox.c inputstr.c menubox.c mixedform.c \
+ mixedgauge.c mouse.c mousewget.c msgbox.c pause.c prgbox.c \
+ progressbox.c rangebox.c rc.c tailbox.c textbox.c timebox.c \
+ trace.c treeview.c ttysize.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
+
+LIBADD= tinfow ncursesw m
+
+CFLAGS+= -I${.CURDIR} -I${DIALOG} -D_XOPEN_SOURCE_EXTENDED
+.PATH: ${DIALOG}
+WARNS?= 1
+
+.include <bsd.lib.mk>
diff --git a/gnu/lib/libdialog/Makefile.depend b/gnu/lib/libdialog/Makefile.depend
new file mode 100644
index 000000000000..bb081b18d395
--- /dev/null
+++ b/gnu/lib/libdialog/Makefile.depend
@@ -0,0 +1,18 @@
+# Autogenerated - do NOT edit!
+
+DIRDEPS = \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+ lib/libcompiler_rt \
+ lib/msun \
+ lib/ncurses/ncurses \
+ lib/ncurses/tinfo \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/gnu/lib/libdialog/dlg_config.h b/gnu/lib/libdialog/dlg_config.h
new file mode 100644
index 000000000000..dce4e4609092
--- /dev/null
+++ b/gnu/lib/libdialog/dlg_config.h
@@ -0,0 +1,126 @@
+/* dlg_config.h. Generated automatically by configure. */
+/*
+ * The configure script expands this as a set of definitions
+ */
+
+#define CURSES_WACS_ARRAY _nc_wacs
+#define CURSES_WACS_SYMBOLS 1
+#define DIALOG_PATCHDATE 20210117
+#define DIALOG_VERSION "1.3"
+#ifndef GCC_NORETURN
+#define GCC_NORETURN __attribute__((noreturn))
+#endif
+#define GCC_PRINTF 1
+#ifndef GCC_PRINTFLIKE
+#define GCC_PRINTFLIKE(fmt,var) __attribute__((format(printf,fmt,var)))
+#endif
+#define GCC_SCANF 1
+#ifndef GCC_SCANFLIKE
+#define GCC_SCANFLIKE(fmt,var) __attribute__((format(scanf,fmt,var)))
+#endif
+#ifndef GCC_UNUSED
+#define GCC_UNUSED __attribute__((unused))
+#endif
+#define HAVE_ALLOCA 1
+#define HAVE_BTOWC 1
+#define HAVE_COLOR 1
+#define HAVE_DIRENT_H 1
+#define HAVE_DLG_FORMBOX 1
+#define HAVE_DLG_GAUGE 1
+#define HAVE_DLG_MIXEDFORM 1
+#define HAVE_DLG_TAILBOX 1
+#define HAVE_DLG_TRACE 1
+#define HAVE_FEOF_UNLOCKED 1
+#define HAVE_FLUSHINP 1
+#define HAVE_FSEEKO 1
+#define HAVE_GETATTRS 1
+#define HAVE_GETBEGX 1
+#define HAVE_GETBEGY 1
+#define HAVE_GETBEGYX 1
+#define HAVE_GETCURX 1
+#define HAVE_GETCURY 1
+#define HAVE_GETCWD 1
+#define HAVE_GETEGID 1
+#define HAVE_GETEUID 1
+#define HAVE_GETGID 1
+#define HAVE_GETMAXX 1
+#define HAVE_GETMAXY 1
+#define HAVE_GETMAXYX 1
+#define HAVE_GETPAGESIZE 1
+#define HAVE_GETPARX 1
+#define HAVE_GETPARY 1
+#define HAVE_GETPARYX 1
+#define HAVE_GETUID 1
+#define HAVE_ICONV 1
+#define HAVE_INTTYPES_H 1
+#define HAVE_LANGINFO_CODESET 1
+#define HAVE_LC_MESSAGES 1
+#define HAVE_LIMITS_H 1
+#define HAVE_LOCALE_H 1
+#define HAVE_MBLEN 1
+#define HAVE_MBRLEN 1
+#define HAVE_MBRTOWC 1
+#define HAVE_MBSTATE_T 1
+#define HAVE_MBTOWC 1
+#define HAVE_MEMORY_H 1
+#define HAVE_MIXEDGAUGE 1
+#define HAVE_MKTIME 1
+#define HAVE_MMAP 1
+#define HAVE_MUNMAP 1
+#define HAVE_NCURSES_H 1
+#define HAVE_NL_TYPES_H 1
+#define HAVE_PUTENV 1
+#define HAVE_RC_FILE 1
+#define HAVE_RC_FILE2 1
+#define HAVE_SEARCH_H 1
+#define HAVE_SETENV 1
+#define HAVE_SETLOCALE 1
+#define HAVE_SIZECHANGE 1
+#define HAVE_STDDEF_H 1
+#define HAVE_STDINT_H 1
+#define HAVE_STDLIB_H 1
+#define HAVE_STPCPY 1
+#define HAVE_STRCASECMP 1
+#define HAVE_STRCHR 1
+#define HAVE_STRDUP 1
+#define HAVE_STRFTIME 1
+#define HAVE_STRINGS_H 1
+#define HAVE_STRING_H 1
+#define HAVE_STRTOUL 1
+#define HAVE_SYS_IOCTL_H 1
+#define HAVE_SYS_PARAM_H 1
+#define HAVE_SYS_STAT_H 1
+#define HAVE_SYS_TYPES_H 1
+#define HAVE_SYS_WAIT_H 1
+#define HAVE_TERMIOS_H 1
+#define HAVE_TERM_H 1
+#define HAVE_TSEARCH 1
+#define HAVE_TYPE_CHTYPE 1
+#define HAVE_UNCTRL_H 1
+#define HAVE_UNISTD_H 1
+#define HAVE_USE_DEFAULT_COLORS 1
+#define HAVE_WAITPID 1
+#define HAVE_WCHGAT 1
+#define HAVE_WCSRTOMBS 1
+#define HAVE_WCSTOMBS 1
+#define HAVE_WCTOB 1
+#define HAVE_WCTOMB 1
+#define HAVE_WCURSYNCUP 1
+#define HAVE_WGETPARENT 1
+#define HAVE_WGET_WCH 1
+#define HAVE_WHIPTAIL 1
+#define HAVE_WSYNCUP 1
+#define HAVE_XDIALOG 1
+#define HAVE_XDIALOG2 1
+#define ICONV_CONST
+#define MIXEDCASE_FILENAMES 1
+#define NCURSES 1
+#define NEED_WCHAR_H 1
+#define PACKAGE "dialog"
+#define RETSIGTYPE void
+#define STDC_HEADERS 1
+#define SYSTEM_NAME "FreeBSD"
+#define TIME_WITH_SYS_TIME 1
+#define TYPE_CHTYPE_IS_SCALAR 1
+#define USE_WIDE_CURSES 1
+#define WIDEC_CURSES 1
diff --git a/gnu/lib/tests/Makefile b/gnu/lib/tests/Makefile
new file mode 100644
index 000000000000..29b1b564beca
--- /dev/null
+++ b/gnu/lib/tests/Makefile
@@ -0,0 +1,4 @@
+.PATH: ${SRCTOP}/tests
+KYUAFILE= yes
+
+.include <bsd.test.mk>
diff --git a/gnu/lib/tests/Makefile.depend b/gnu/lib/tests/Makefile.depend
new file mode 100644
index 000000000000..11aba52f82cf
--- /dev/null
+++ b/gnu/lib/tests/Makefile.depend
@@ -0,0 +1,10 @@
+# Autogenerated - do NOT edit!
+
+DIRDEPS = \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif