1994-10-11 23:30:51 +00:00
|
|
|
# Makefile for libdialog
|
1996-08-11 17:21:20 +00:00
|
|
|
# $Id: Makefile,v 1.16 1996/02/09 16:19:16 mpp Exp $
|
1994-10-11 23:30:51 +00:00
|
|
|
|
|
|
|
LIB= dialog
|
1995-12-23 01:10:20 +00:00
|
|
|
MAN3= dialog.3
|
|
|
|
|
1995-05-04 09:45:29 +00:00
|
|
|
SHLIB_MAJOR= 3
|
|
|
|
SHLIB_MINOR= 0
|
1994-10-11 23:30:51 +00:00
|
|
|
SRCS= kernel.c rc.c checklist.c inputbox.c menubox.c msgbox.c \
|
1995-02-15 19:44:08 +00:00
|
|
|
lineedit.c radiolist.c textbox.c yesno.c prgbox.c raw_popen.c \
|
1995-04-20 17:39:37 +00:00
|
|
|
fselect.c ui_objects.c dir.c notify.c help.c gauge.c
|
1994-10-11 23:30:51 +00:00
|
|
|
|
1994-10-28 05:36:38 +00:00
|
|
|
CFLAGS+= -I${.CURDIR} -Wall -Wstrict-prototypes -DLOCALE
|
1994-10-11 23:30:51 +00:00
|
|
|
|
1996-08-13 12:46:10 +00:00
|
|
|
LDADD+= -lncurses -lmytinfo
|
|
|
|
DPADD+= ${LIBNCURSES} ${LIBMYTINFO}
|
|
|
|
|
1994-10-11 23:30:51 +00:00
|
|
|
beforeinstall:
|
|
|
|
-cd ${.CURDIR}; cmp -s dialog.h ${DESTDIR}/usr/include/dialog.h || \
|
1995-08-06 12:24:38 +00:00
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 dialog.h \
|
1995-04-21 10:15:31 +00:00
|
|
|
${DESTDIR}/usr/include
|
1994-10-11 23:30:51 +00:00
|
|
|
|
1996-02-09 00:45:45 +00:00
|
|
|
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_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 \
|
1996-02-09 16:20:10 +00:00
|
|
|
dialog.3 get_helpline.3 dialog.3 restore_helpline.3 \
|
|
|
|
dialog.3 dialog_msgbox.3
|
1996-02-09 00:45:45 +00:00
|
|
|
|
1994-10-11 23:30:51 +00:00
|
|
|
.include <bsd.lib.mk>
|