Makefile.i386 (2112) | Makefile.i386 (2232) |
---|---|
1# Copyright 1990 W. Jolitz 2# from: @(#)Makefile.i386 7.1 5/10/91 | 1# Copyright 1990 W. Jolitz 2# from: @(#)Makefile.i386 7.1 5/10/91 |
3# $Id: Makefile.i386,v 1.28 1994/08/13 03:49:32 wollman Exp $ | 3# $Id: Makefile.i386,v 1.29 1994/08/18 22:34:36 wollman Exp $ |
4# 5# Makefile for FreeBSD 6# 7# This makefile is constructed from a machine description: 8# config machineid 9# Most changes should be made in the machine description 10# /sys/i386/conf/``machineid'' 11# after which you should do --- 59 unchanged lines hidden (view full) --- 71 rm -f $*.s 72 73%OBJS 74 75%CFILES 76 77%LOAD 78 | 4# 5# Makefile for FreeBSD 6# 7# This makefile is constructed from a machine description: 8# config machineid 9# Most changes should be made in the machine description 10# /sys/i386/conf/``machineid'' 11# after which you should do --- 59 unchanged lines hidden (view full) --- 71 rm -f $*.s 72 73%OBJS 74 75%CFILES 76 77%LOAD 78 |
79libkern.a: 80 -@if [ X${PROF} = X ]; \ 81 then ln -s $S/libkern/obj/libkern.a libkern.a; \ 82 else ln -s $S/libkern/obj/libkern_p.a libkern.a; \ 83 fi; \ 84 echo ln -s $S/libkern/obj/libkern.a libkern.a | 79# This is slightly different from before in that if you define PROF 80# to anything, it will assume profiling. Don't do "PROF=" to turn 81# profiling off! 82.if exists($S/libkern/obj) 83LIBKERNP=$S/libkern/obj 84.else 85LIBKERNP=$S/libkern 86.fi 87.if defined(PROF) 88LIBKERN=${LIBKERNP}/libkern_p.a 89.else 90LIBKERN=${LIBKERNP}/libkern.a 91.fi |
85 | 92 |
93libkern.a: ${LIBKERN} 94 ln -s ${LIBKERN} libkern.a 95 echo ln -s ${LIBKERN} libkern.a 96 97${LIBKERN}: 98 @(cd $S/libkern; make) 99 |
|
86clean: 87 rm -f eddep *kernel tags *.o locore.i [a-uw-z]*.s \ 88 errs linterrs makelinks genassym ,assym.s stamp-assym 89 90#lint: /tmp param.c 91# @lint -hbxn -I. -DGENERIC -Dvolatile= ${COPTS} ${PARAM} \ 92# ${I386}/i386/Locore.c ${CFILES} ioconf.c param.c | \ 93# grep -v 'struct/union .* never defined' | \ --- 100 unchanged lines hidden --- | 100clean: 101 rm -f eddep *kernel tags *.o locore.i [a-uw-z]*.s \ 102 errs linterrs makelinks genassym ,assym.s stamp-assym 103 104#lint: /tmp param.c 105# @lint -hbxn -I. -DGENERIC -Dvolatile= ${COPTS} ${PARAM} \ 106# ${I386}/i386/Locore.c ${CFILES} ioconf.c param.c | \ 107# grep -v 'struct/union .* never defined' | \ --- 100 unchanged lines hidden --- |