Home | History | Annotate | Line # | Download | only in libkern
Makefile.inc revision 1.4
      1  1.4  cgd #	$Id: Makefile.inc,v 1.4 1993/10/23 02:33:19 cgd Exp $
      2  1.1  cgd #
      3  1.1  cgd #	NOTE: $S must correspond to the top of the 'sys' tree
      4  1.1  cgd 
      5  1.1  cgd KERNDIR=	$S/lib/libkern
      6  1.1  cgd 
      7  1.4  cgd .if exists($(KERNDIR)/obj.${MACHINE})
      8  1.4  cgd KERNLIBDIR=	$(KERNDIR)/obj.${MACHINE}
      9  1.1  cgd .else
     10  1.1  cgd KERNLIBDIR=	$(KERNDIR)
     11  1.1  cgd .endif
     12  1.1  cgd 
     13  1.1  cgd KERNLIB=	$(KERNLIBDIR)/libkern.a
     14  1.1  cgd KERNLIB_PROF=	$(KERNLIBDIR)/libkern_p.a
     15  1.1  cgd 
     16  1.2  cgd $(KERNLIB):		.NOTMAIN __always_make_kernlib
     17  1.1  cgd 	@echo making sure the kern library is up to date...
     18  1.3  cgd 	@(cd $(KERNDIR) ; make)
     19  1.1  cgd 
     20  1.2  cgd $(KERNLIB_PROF):	.NOTMAIN __always_make_kernlib
     21  1.1  cgd 	@echo making sure the profiled kern library is up to date...
     22  1.3  cgd 	@(cd $(KERNDIR) ; make)
     23  1.1  cgd 
     24  1.2  cgd __always_make_kernlib:	.NOTMAIN
     25