8a585590ef
Don't forget to use 'make beforeinstall'...
18 lines
462 B
Makefile
18 lines
462 B
Makefile
# Makefile for libdialog
|
|
# $Id: Makefile,v 1.2 1994/10/12 01:54:38 ache Exp $
|
|
|
|
LIB= dialog
|
|
SRCS= kernel.c rc.c checklist.c inputbox.c menubox.c msgbox.c \
|
|
radiolist.c textbox.c yesno.c
|
|
|
|
CFLAGS+= -Wall -Wstrict-prototypes -DLOCALE
|
|
|
|
LDADD+= -lncurses -lmytinfo
|
|
|
|
beforeinstall:
|
|
-cd ${.CURDIR}; cmp -s dialog.h ${DESTDIR}/usr/include/dialog.h || \
|
|
install -c -o ${BINOWN} -g ${BINGRP} -m 444 dialog.h \
|
|
${DESTDIR}/usr/include
|
|
|
|
.include <bsd.lib.mk>
|