Makefile revision 74861
13515Sache# Makefile for libdialog 250472Speter# $FreeBSD: head/gnu/lib/libdialog/Makefile 74861 2001-03-27 14:59:06Z ru $ 33515Sache 43515SacheLIB= dialog 574861SruMAN= dialog.3 612983Sjkh 751794SmarcelSHLIB_MAJOR= 4 839698SjkhSHLIB_MINOR= 0 93515SacheSRCS= kernel.c rc.c checklist.c inputbox.c menubox.c msgbox.c \ 106458Sache lineedit.c radiolist.c textbox.c yesno.c prgbox.c raw_popen.c \ 1139677Sjkh fselect.c ui_objects.c dir.c notify.c help.c gauge.c tree.c 123515Sache 1355755SphantomEXAMPLES= Makefile check1.c check2.c check3.c dselect.c fselect.c \ 1455755Sphantom ftree1.c ftree1.test ftree2.c ftree2.test gauge.c input1.c \ 1555755Sphantom input2.c menu1.c menu2.c menu3.c msg.c prgbox.c radio1.c \ 1655755Sphantom radio2.c radio3.c text.c tree.c yesno.c 1755755Sphantom 183957SjkhCFLAGS+= -I${.CURDIR} -Wall -Wstrict-prototypes -DLOCALE 193515Sache 2065915SacheLDADD+= -lncurses 2165915SacheDPADD+= ${LIBNCURSES} 2217575Sjkh 233515Sachebeforeinstall: 2417935Speter ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/dialog.h \ 257974Sjkh ${DESTDIR}/usr/include 2655813Sgreen 2755816Sgreen.if !defined(NOHTML) 2855813Sgreenafterinstall: 2955792Sjkh.for file in ${EXAMPLES} 3055792Sjkh ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \ 3155792Sjkh ${.CURDIR}/TESTS/${file} ${DESTDIR}/usr/share/examples/libdialog 3255792Sjkh.endfor 3355816Sgreen.endif 343515Sache 3513987SmppMLINKS+=dialog.3 draw_shadow.3 dialog.3 draw_box.3 \ 3613987Smpp dialog.3 line_edit.3 dialog.3 strheight.3 \ 3713987Smpp dialog.3 strwidth.3 dialog.3 dialog_create_rc.3 \ 3813987Smpp dialog.3 dialog_yesno.3 dialog.3 dialog_prgbox.3 \ 3913987Smpp dialog.3 dialog_textbox.3 dialog.3 dialog_menu.3 \ 4013987Smpp dialog.3 dialog_checklist.3 dialog.3 dialog_radiolist.3 \ 4113987Smpp dialog.3 dialog_inputbox.3 dialog.3 dialog_clear_norefresh.3 \ 4213987Smpp dialog.3 dialog_clear.3 dialog.3 dialog_update.3 \ 4313987Smpp dialog.3 dialog_fselect.3 dialog.3 dialog_notify.3 \ 4413987Smpp dialog.3 dialog_mesgbox.3 dialog.3 dialog_gauge.3 \ 4513987Smpp dialog.3 init_dialog.3 dialog.3 end_dialog.3 \ 4613987Smpp dialog.3 use_helpfile.3 dialog.3 use_helpline.3 \ 4714003Smpp dialog.3 get_helpline.3 dialog.3 restore_helpline.3 \ 4839888Sjkh dialog.3 dialog_msgbox.3 dialog.3 dialog_ftree.3 \ 4939888Sjkh dialog.3 dialog_tree.3 5013987Smpp 513515Sache.include <bsd.lib.mk> 52