mirror of
https://github.com/dreamlayers/netbsd-mopd.git
synced 2026-01-13 23:26:50 +00:00
* Don't bother prefixing commands with a line of ${_MKCMD}\
and instead rely upon "make -s". This is less intrusive on
all the Makefiles than the former. Idea from David Laight.
* Rename the variables use to print messages. The scheme now is:
_MKMSG_FOO Run _MKMSG 'foo'
_MKTARGET_FOO Run _MKMSG_FOO ${.TARGET}
From discussion with Alistair Crooks.
21 lines
443 B
Makefile
21 lines
443 B
Makefile
# $NetBSD: Makefile,v 1.8 2003/10/21 10:01:22 lukem Exp $
|
|
|
|
NOLINT= # defined
|
|
NOPIC= # defined
|
|
NOPROFILE= # defined
|
|
|
|
LIB= common
|
|
SRCS= cmp.c device.c dl.c file.c get.c log.c loop-bsd.c mopdef.c nma.c pf.c \
|
|
print.c put.c rc.c version.c
|
|
CLEANFILES= version.c
|
|
|
|
version.c: VERSION
|
|
${_MKTARGET_CREATE}
|
|
rm -f version.c; \
|
|
sed 's/.*/char version[] = "&";/' ${.ALLSRC} > version.c
|
|
|
|
# only needed during build
|
|
libinstall::
|
|
|
|
.include <bsd.lib.mk>
|