[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / src / lib / libform

File: [local] / src / lib / libform / Makefile (download)

Revision 1.17, Tue Oct 17 09:52:10 2023 UTC (7 months, 3 weeks ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, HEAD
Changes since 1.16: +12 -9 lines

Update ncurses and associated libraries (form, panel, menu) to
6.4-20230826 (from 5.7-20081102).

Based on result from Thomas Dickey's ncu2openbsd script and then
modified. Switches to the upstream tput. Major bump for the ncurses
libraries and for libedit and libreadline.

Help from tb, millert.

ok deraadt sthen

# $OpenBSD: Makefile,v 1.17 2023/10/17 09:52:10 nicm Exp $

LIB=	form
SRCS=	fld_arg.c fld_attr.c fld_current.c fld_def.c fld_dup.c \
	fld_ftchoice.c fld_ftlink.c fld_info.c fld_just.c fld_link.c \
	fld_max.c fld_move.c fld_newftyp.c fld_opts.c fld_pad.c fld_page.c \
	fld_stat.c fld_type.c fld_user.c frm_cursor.c frm_data.c frm_def.c \
	frm_driver.c frm_hook.c frm_opts.c frm_page.c frm_post.c \
	frm_req_name.c frm_scale.c frm_sub.c frm_user.c frm_win.c \
	fty_alnum.c fty_alpha.c fty_enum.c fty_generic.c fty_int.c \
	fty_ipv4.c fty_num.c fty_regex.c
HDRS=	form.h
CFLAGS+=-I${.CURDIR}/../libcurses -I${.CURDIR}/../libmenu -D_XOPEN_SOURCE_EXTENDED -DNDEBUG
MAN=	form.3 form_cursor.3 form_data.3 form_driver.3 form_field.3 \
	form_field_attributes.3 form_field_buffer.3 form_field_info.3 \
	form_field_just.3 form_field_new.3 form_field_opts.3 \
	form_field_userptr.3 form_field_validation.3 form_fieldtype.3 \
	form_hook.3 form_new.3 form_new_page.3 form_opts.3 form_page.3 \
	form_post.3 form_requestname.3 form_userptr.3 form_variables.3 \
	form_win.3

includes:
	@cd ${.CURDIR}; for i in ${HDRS}; do \
	  cmp -s $$i ${DESTDIR}/usr/include/$$i || \
	  ${INSTALL} ${INSTALL_COPY} -m 444 -o $(BINOWN) -g $(BINGRP) $$i \
	  ${DESTDIR}/usr/include; done

.include <bsd.own.mk>

afterinstall:
	-cd ${DESTDIR}${LIBDIR}; \
	for i in ${_LIBS}; do \
	    ln -f $$i `echo $$i | sed 's/form/formw/'`; \
	done

.include <bsd.lib.mk>