xref: /freebsd/gnu/lib/libdialog/Makefile (revision c211e812bba315376315cb58f3764e198675b23c)
13728ed9cSAndrey A. Chernov# Makefile for libdialog
2c211e812SMike Pritchard# $Id: Makefile,v 1.14 1995/12/23 01:10:14 jkh Exp $
33728ed9cSAndrey A. Chernov
43728ed9cSAndrey A. ChernovLIB=    dialog
5fa8dc2c0SJordan K. HubbardMAN3=	dialog.3
6fa8dc2c0SJordan K. Hubbard
78c18198aSAndrey A. ChernovSHLIB_MAJOR= 3
88c18198aSAndrey A. ChernovSHLIB_MINOR= 0
93728ed9cSAndrey A. ChernovSRCS=   kernel.c rc.c checklist.c inputbox.c menubox.c msgbox.c \
10895aadbcSAndrey A. Chernov	lineedit.c radiolist.c textbox.c yesno.c prgbox.c raw_popen.c \
117f6e7c13SAndrey A. Chernov	fselect.c ui_objects.c dir.c notify.c help.c gauge.c
123728ed9cSAndrey A. Chernov
13faa28a39SJordan K. HubbardCFLAGS+= -I${.CURDIR} -Wall -Wstrict-prototypes -DLOCALE
143728ed9cSAndrey A. Chernov
15ad371209SAndrey A. ChernovLDADD+= -lncurses -lmytinfo
16895aadbcSAndrey A. ChernovDPADD+= ${LIBNCURSES} ${LIBMYTINFO}
173728ed9cSAndrey A. Chernov
183728ed9cSAndrey A. Chernovbeforeinstall:
193728ed9cSAndrey A. Chernov	-cd ${.CURDIR}; cmp -s dialog.h ${DESTDIR}/usr/include/dialog.h || \
2048cfb668SBruce Evans	      ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 dialog.h \
213728ed9cSAndrey A. Chernov	      ${DESTDIR}/usr/include
223728ed9cSAndrey A. Chernov
23c211e812SMike PritchardMLINKS+=dialog.3 draw_shadow.3 dialog.3 draw_box.3 \
24c211e812SMike Pritchard	dialog.3 line_edit.3 dialog.3 strheight.3 \
25c211e812SMike Pritchard	dialog.3 strwidth.3 dialog.3 dialog_create_rc.3 \
26c211e812SMike Pritchard	dialog.3 dialog_yesno.3 dialog.3 dialog_prgbox.3 \
27c211e812SMike Pritchard	dialog.3 dialog_textbox.3 dialog.3 dialog_menu.3 \
28c211e812SMike Pritchard	dialog.3 dialog_checklist.3 dialog.3 dialog_radiolist.3 \
29c211e812SMike Pritchard	dialog.3 dialog_inputbox.3 dialog.3 dialog_clear_norefresh.3 \
30c211e812SMike Pritchard	dialog.3 dialog_clear.3 dialog.3 dialog_update.3 \
31c211e812SMike Pritchard	dialog.3 dialog_fselect.3 dialog.3 dialog_notify.3 \
32c211e812SMike Pritchard	dialog.3 dialog_mesgbox.3 dialog.3 dialog_gauge.3 \
33c211e812SMike Pritchard	dialog.3 init_dialog.3 dialog.3 end_dialog.3 \
34c211e812SMike Pritchard	dialog.3 use_helpfile.3 dialog.3 use_helpline.3 \
35c211e812SMike Pritchard	dialog.3 get_helpline.3 dialog.3 restore_helpline.3
36c211e812SMike Pritchard
373728ed9cSAndrey A. Chernov.include <bsd.lib.mk>
38