1993-12-28 13:59:05 +03:00
|
|
|
# $Id: Makefile.inc,v 1.6 1993/12/28 11:56:38 davidb Exp $
|
1993-10-13 08:55:19 +03:00
|
|
|
#
|
|
|
|
# NOTE: $S must correspond to the top of the 'sys' tree
|
|
|
|
|
|
|
|
KERNDIR= $S/lib/libkern
|
|
|
|
|
1993-12-28 13:59:05 +03:00
|
|
|
KERNLIBDIR!=cd $(KERNDIR); \
|
|
|
|
printf "xxx:\n\techo \$${.OBJDIR}\n" | make -r -s -f - xxx
|
1993-10-13 08:55:19 +03:00
|
|
|
|
|
|
|
KERNLIB= $(KERNLIBDIR)/libkern.a
|
|
|
|
KERNLIB_PROF= $(KERNLIBDIR)/libkern_p.a
|
|
|
|
|
1993-10-13 09:17:16 +03:00
|
|
|
$(KERNLIB): .NOTMAIN __always_make_kernlib
|
1993-10-13 08:55:19 +03:00
|
|
|
@echo making sure the kern library is up to date...
|
1993-12-22 07:58:02 +03:00
|
|
|
@(cd $(KERNDIR) ; $(MAKE))
|
1993-10-13 08:55:19 +03:00
|
|
|
|
1993-10-13 09:17:16 +03:00
|
|
|
$(KERNLIB_PROF): .NOTMAIN __always_make_kernlib
|
1993-10-13 08:55:19 +03:00
|
|
|
@echo making sure the profiled kern library is up to date...
|
1993-12-22 07:58:02 +03:00
|
|
|
@(cd $(KERNDIR) ; $(MAKE))
|
1993-10-13 08:55:19 +03:00
|
|
|
|
1993-10-13 09:17:16 +03:00
|
|
|
__always_make_kernlib: .NOTMAIN
|