Makefile revision 81232
1139804Simp# Makefile for libdialog 2103785Sjeff# $FreeBSD: head/gnu/lib/libdialog/Makefile 81232 2001-08-07 12:13:22Z ru $ 3205959Slstewart 4205959SlstewartLIB= dialog 5103785SjeffMAN= dialog.3 6103785Sjeff 7205959SlstewartSHLIB_MAJOR= 4 8205959SlstewartSHLIB_MINOR= 0 9205959SlstewartSRCS= kernel.c rc.c checklist.c inputbox.c menubox.c msgbox.c \ 10205959Slstewart lineedit.c radiolist.c textbox.c yesno.c prgbox.c raw_popen.c \ 11103785Sjeff fselect.c ui_objects.c dir.c notify.c help.c gauge.c tree.c 12103785Sjeff 13103785SjeffEXAMPLES= Makefile check1.c check2.c check3.c dselect.c fselect.c \ 14103785Sjeff ftree1.c ftree1.test ftree2.c ftree2.test gauge.c input1.c \ 15103785Sjeff input2.c menu1.c menu2.c menu3.c msg.c prgbox.c radio1.c \ 16103785Sjeff radio2.c radio3.c text.c tree.c yesno.c 17103785Sjeff 18103785SjeffCFLAGS+= -I${.CURDIR} -Wall -Wstrict-prototypes -DLOCALE 19103785Sjeff 20103785SjeffLDADD+= -lncurses 21103785SjeffDPADD+= ${LIBNCURSES} 22103785Sjeff 23103785Sjeffbeforeinstall: 24103785Sjeff ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/dialog.h \ 25103785Sjeff ${DESTDIR}/usr/include 26103785Sjeff 27103785Sjeff.if !defined(NOHTML) 28103785Sjeffafterinstall: 29103785Sjeff.for file in ${EXAMPLES} 30103785Sjeff ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \ 31103785Sjeff ${.CURDIR}/TESTS/${file} ${DESTDIR}/usr/share/examples/libdialog 32103785Sjeff.endfor 33116182Sobrien.endif 34116182Sobrien 35116182SobrienMLINKS+=dialog.3 draw_shadow.3 dialog.3 draw_box.3 \ 36205959Slstewart dialog.3 line_edit.3 dialog.3 strheight.3 \ 37205959Slstewart dialog.3 strwidth.3 dialog.3 dialog_create_rc.3 \ 38103785Sjeff dialog.3 dialog_yesno.3 dialog.3 dialog_noyes.3 \ 39103785Sjeff dialog.3 dialog_prgbox.3 \ 40103785Sjeff dialog.3 dialog_textbox.3 dialog.3 dialog_menu.3 \ 41103785Sjeff dialog.3 dialog_checklist.3 dialog.3 dialog_radiolist.3 \ 42103785Sjeff dialog.3 dialog_inputbox.3 dialog.3 dialog_clear_norefresh.3 \ 43157233Sjhb dialog.3 dialog_clear.3 dialog.3 dialog_update.3 \ 44103785Sjeff dialog.3 dialog_fselect.3 dialog.3 dialog_notify.3 \ 45103785Sjeff dialog.3 dialog_mesgbox.3 dialog.3 dialog_gauge.3 \ 46103785Sjeff dialog.3 init_dialog.3 dialog.3 end_dialog.3 \ 47103785Sjeff dialog.3 use_helpfile.3 dialog.3 use_helpline.3 \ 48103785Sjeff dialog.3 get_helpline.3 dialog.3 restore_helpline.3 \ 49103785Sjeff dialog.3 dialog_msgbox.3 dialog.3 dialog_ftree.3 \ 50103785Sjeff dialog.3 dialog_tree.3 51103785Sjeff 52103785Sjeff.include <bsd.lib.mk> 53103785Sjeff