2013-12-06 12:04:52 +01:00
|
|
|
# $NetBSD: Makefile,v 1.45 2013/11/28 22:34:17 christos Exp $
|
Upgrading build system to new NetBSD revision
The tested targets are the followgin ones:
* tools
* distribution
* sets
* release
The remaining NetBSD targets have not been disabled nor tested
*at all*. Try them at your own risk, they may reboot the earth.
For all compliant Makefiles, objects and generated files are put in
MAKEOBJDIR, which means you can now keep objects between two branch
switching. Same for DESTDIR, please refer to build.sh options.
Regarding new or modifications of Makefiles a few things:
* Read share/mk/bsd.README
* If you add a subdirectory, add a Makefile in it, and have it called
by the parent through the SUBDIR variable.
* Do not add arbitrary inclusion which crosses to another branch of
the hierarchy; If you can't do without it, put a comment on why.
If possible, do not use inclusion at all.
* Use as much as possible the infrastructure, it is here to make
life easier, do not fight it.
Sets and package are now used to track files.
We have one set called "minix", composed of one package called "minix-sys"
2012-09-12 09:37:05 +02:00
|
|
|
|
2012-03-13 02:37:22 +01:00
|
|
|
.include <bsd.own.mk>
|
2012-10-18 17:22:21 +02:00
|
|
|
|
2013-12-03 11:35:03 +01:00
|
|
|
SUBDIR= byacc file flex less \
|
|
|
|
libarchive mdocml \
|
|
|
|
|
|
|
|
|
Upgrading build system to new NetBSD revision
The tested targets are the followgin ones:
* tools
* distribution
* sets
* release
The remaining NetBSD targets have not been disabled nor tested
*at all*. Try them at your own risk, they may reboot the earth.
For all compliant Makefiles, objects and generated files are put in
MAKEOBJDIR, which means you can now keep objects between two branch
switching. Same for DESTDIR, please refer to build.sh options.
Regarding new or modifications of Makefiles a few things:
* Read share/mk/bsd.README
* If you add a subdirectory, add a Makefile in it, and have it called
by the parent through the SUBDIR variable.
* Do not add arbitrary inclusion which crosses to another branch of
the hierarchy; If you can't do without it, put a comment on why.
If possible, do not use inclusion at all.
* Use as much as possible the infrastructure, it is here to make
life easier, do not fight it.
Sets and package are now used to track files.
We have one set called "minix", composed of one package called "minix-sys"
2012-09-12 09:37:05 +02:00
|
|
|
.if (${MKATF} != "no")
|
|
|
|
SUBDIR+= atf
|
|
|
|
.endif
|
2012-10-26 15:22:39 +02:00
|
|
|
.if (${MKCRYPTO} != "no")
|
2013-02-26 09:24:42 +01:00
|
|
|
SUBDIR+= pkg_install
|
2012-10-26 15:22:39 +02:00
|
|
|
.endif
|
|
|
|
# IP Filter
|
|
|
|
.if (${MKIPFILTER} != "no")
|
|
|
|
SUBDIR+=ipf
|
|
|
|
.endif
|
Upgrading build system to new NetBSD revision
The tested targets are the followgin ones:
* tools
* distribution
* sets
* release
The remaining NetBSD targets have not been disabled nor tested
*at all*. Try them at your own risk, they may reboot the earth.
For all compliant Makefiles, objects and generated files are put in
MAKEOBJDIR, which means you can now keep objects between two branch
switching. Same for DESTDIR, please refer to build.sh options.
Regarding new or modifications of Makefiles a few things:
* Read share/mk/bsd.README
* If you add a subdirectory, add a Makefile in it, and have it called
by the parent through the SUBDIR variable.
* Do not add arbitrary inclusion which crosses to another branch of
the hierarchy; If you can't do without it, put a comment on why.
If possible, do not use inclusion at all.
* Use as much as possible the infrastructure, it is here to make
life easier, do not fight it.
Sets and package are now used to track files.
We have one set called "minix", composed of one package called "minix-sys"
2012-09-12 09:37:05 +02:00
|
|
|
.if (${MKISCSI} != "no")
|
|
|
|
SUBDIR+= iscsi
|
|
|
|
.endif
|
2013-02-26 09:24:42 +01:00
|
|
|
.if (defined(__MINIX) && ${MKGCCCMDS} == "yes")
|
|
|
|
.if (${MKKYUA} != "no")
|
|
|
|
SUBDIR+= lutok kyua-testers kyua-cli kyua-atf-compat
|
|
|
|
.endif
|
|
|
|
.endif # (defined(__MINIX) && ${MKGCCCMDS} == "yes")
|
Upgrading build system to new NetBSD revision
The tested targets are the followgin ones:
* tools
* distribution
* sets
* release
The remaining NetBSD targets have not been disabled nor tested
*at all*. Try them at your own risk, they may reboot the earth.
For all compliant Makefiles, objects and generated files are put in
MAKEOBJDIR, which means you can now keep objects between two branch
switching. Same for DESTDIR, please refer to build.sh options.
Regarding new or modifications of Makefiles a few things:
* Read share/mk/bsd.README
* If you add a subdirectory, add a Makefile in it, and have it called
by the parent through the SUBDIR variable.
* Do not add arbitrary inclusion which crosses to another branch of
the hierarchy; If you can't do without it, put a comment on why.
If possible, do not use inclusion at all.
* Use as much as possible the infrastructure, it is here to make
life easier, do not fight it.
Sets and package are now used to track files.
We have one set called "minix", composed of one package called "minix-sys"
2012-09-12 09:37:05 +02:00
|
|
|
.if (${MKLDAP} != "no")
|
|
|
|
SUBDIR+= openldap
|
|
|
|
.endif
|
2013-12-06 12:04:52 +01:00
|
|
|
.if (${MKLIBCXX} != "no")
|
|
|
|
SUBDIR+= libc++
|
|
|
|
.endif
|
Upgrading build system to new NetBSD revision
The tested targets are the followgin ones:
* tools
* distribution
* sets
* release
The remaining NetBSD targets have not been disabled nor tested
*at all*. Try them at your own risk, they may reboot the earth.
For all compliant Makefiles, objects and generated files are put in
MAKEOBJDIR, which means you can now keep objects between two branch
switching. Same for DESTDIR, please refer to build.sh options.
Regarding new or modifications of Makefiles a few things:
* Read share/mk/bsd.README
* If you add a subdirectory, add a Makefile in it, and have it called
by the parent through the SUBDIR variable.
* Do not add arbitrary inclusion which crosses to another branch of
the hierarchy; If you can't do without it, put a comment on why.
If possible, do not use inclusion at all.
* Use as much as possible the infrastructure, it is here to make
life easier, do not fight it.
Sets and package are now used to track files.
We have one set called "minix", composed of one package called "minix-sys"
2012-09-12 09:37:05 +02:00
|
|
|
.if (${MKLLVM} != "no")
|
|
|
|
SUBDIR+= llvm
|
|
|
|
.endif
|
|
|
|
.if (${MKPCC} != "no")
|
|
|
|
SUBDIR+= pcc
|
|
|
|
.endif
|
2012-10-18 17:22:21 +02:00
|
|
|
|
2013-12-06 12:04:52 +01:00
|
|
|
SUBDIR+= nvi
|
|
|
|
|
2012-03-13 02:37:22 +01:00
|
|
|
.include <bsd.subdir.mk>
|