NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: mk-configure: lightweight autoconf replacement written for/in bmake
> Next release of mk-configure can be found here
> http://mova.org/~cheusov/pub/mk-configure/
I released mk-configure-0.9.0
HUGE amount of changes were made since previous release. Now
mk-configure provides a number of mkc.*.mk scripts working on top of
pkgsrc's mk files or Simon Gerraty's mk-files and therefore provides a
replacement not only for GNU autoconf but for GNU automake too. If
you've seen previous releases, it makes sense to reread README file.
Lots of new information is available there.
Lots of new mkc.*.mk files were added. They work ON TOP of bsd.*.mk
files and provide new functionality. See README. Both pkgsrc's version
of mk-files and Simon's mk-files are supported but the latter was not
tested yet.
Lots of examples (yes, hello_world applications :-) ) were created in
examples/ subdirectory. I think they cover significant part of
mk-configure's functionality.
Fixes in configure.mk
Other changes, see NEWS file.
Also, see TODO file
As always I packaged it in wip/mk-configure.
There are also a REAL-LIFE applications that uses mk-configure,
see wip/lmdbg (and wip/libstacktrace, will be created soon).
Simple real-life Makefile (wip/lmdbg):
######################################################################
# Autoconfiguration part. Stop using GNU autoconf! :-)
MKC_COMMON_DEFINES+= -D_ALL_SOURCE
MKC_COMMON_DEFINES+= -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
MKC_CHECK_FUNCS2+= memalign:malloc.h
MKC_CHECK_VARS+= __malloc_hook:malloc.h
MKC_CHECK_FUNCLIBS+= dlopen:dl
######################################################################
LIB= lmdbg
SRCS= lmdbg.c
SHLIB_MAJOR= 0
SHLIB_MINOR= 0
.include <mkc.configure.mk>
CFLAGS+= -DLMDBG_VERSION=\"$(VERSION)\" -I.
LDADD+= -lstacktrace_pic
.include "../libstacktrace/linkme.mk"
.include <mkc.lib.mk>
--
Best regards, Aleksey Cheusov.
Home |
Main Index |
Thread Index |
Old Index