b5ad6294bb
to work at least for the non-hairy stuff. The main wrinkle here is that a whole mess of include files get installed and under different names. An earlier version of this built a shadow include tree first in the obj directory, but this depends on the 'make includes' functionality. More tweaking is certainly going to be needed.
26 lines
427 B
Makefile
26 lines
427 B
Makefile
# $FreeBSD$
|
|
|
|
SUBDIR= csu libgcc libdialog libregex libreadline
|
|
|
|
.if ${OBJFORMAT} == aout
|
|
.if !defined(NOLIBC_R)
|
|
SUBDIR+= libgcc_r
|
|
.endif
|
|
.endif
|
|
|
|
# libsupc++ uses libstdc++ headers, although 'make includes' should
|
|
# have taken care of that already.
|
|
.if !defined(NO_CXX)
|
|
SUBDIR+= libstdc++ libsupc++
|
|
.endif
|
|
|
|
.if !defined(NO_OBJC)
|
|
SUBDIR+= libobjc
|
|
.endif
|
|
|
|
.if !defined(NO_FORTRAN)
|
|
SUBDIR+= libg2c
|
|
.endif
|
|
|
|
.include <bsd.subdir.mk>
|