Support for clang compiler was implemented. Documentation and presentation were updated. There are new projects using mk-configure. mkc_install is always used for installing mk-configure. This simplifies an installation process on non-BSD platforms. WARNS variable: support for icc was added. New variable LEXLIB library responsible for -ll/-lfl was introduced. See examples/hello_calc2. mkc_check_compiler: in order to differentiate icc from gcc, the check for Intel C/C++ compiler is run first. New target "filelist" that outputs a list of files for the whole project was introduced. Makefile: mk-configure's mk files are unconditionally installed to its own directory in order to avoid potential conflicts with system-wide sys.mk on BSD platforms. mkc.configure.mk: HAVE_FUNCLIB.main is always set to 1. mkc_check_funclibs is not run for checking presense of function "main" in libc. New variable MKCHECKS was introduced. Useless rule ".sh:" was removed.
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.29 2010/10/24 15:52:23 cheusov Exp $
|
|
#
|
|
|
|
DISTNAME= mk-configure-0.21.0
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mk-configure/} \
|
|
http://mova.org/~cheusov/pub/mk-configure/
|
|
|
|
MAINTAINER= vle@gmx.net
|
|
HOMEPAGE= http://sourceforge.net/projects/mk-configure
|
|
COMMENT= Lightweight but powerful replacement for GNU autotools
|
|
|
|
LICENSE= modified-bsd
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_LANGUAGES= # no languages
|
|
|
|
DOC_FILES= README NEWS ChangeLog TODO FAQ COPYRIGHT \
|
|
doc/presentation.pdf
|
|
|
|
MAKE_ENV+= MANDIR=${PREFIX}/${PKGMANDIR} BMAKE=${MAKE}
|
|
|
|
AUTO_MKDIRS= yes
|
|
|
|
PKGDOCDIR= share/doc/mk-configure
|
|
EGDIR= share/examples/mk-configure
|
|
|
|
post-install:
|
|
.for i in ${DOC_FILES}
|
|
${INSTALL_DATA} ${WRKSRC}/"${i}" ${DESTDIR}${PREFIX}/${PKGDOCDIR}
|
|
.endfor
|
|
cp -Rp ${WRKSRC}/examples/* ${DESTDIR}${PREFIX}/${EGDIR}
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == SunOS && exists(/usr/xpg4/bin/awk)
|
|
REPLACE_INTERPRETER+= awk
|
|
REPLACE.awk.old= /usr/bin/awk
|
|
REPLACE.awk.new= /usr/xpg4/bin/awk
|
|
REPLACE_FILES.awk= mkc_check_version
|
|
.endif
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|