Makefile.i386 (7627) | Makefile.i386 (8457) |
---|---|
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.61 1995/04/03 01:13:50 nate Exp $ | 3# $Id: Makefile.i386,v 1.62 1995/04/05 04:10:58 nate 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 --- 144 unchanged lines hidden (view full) --- 156# XXX this assumes that the options for NORMAL_C* and DRIVER_C* are identical. 157depend: assym.s param.c vnode_if.h ${BEFORE_DEPEND} 158 mkdep ${COPTS} ${CFILES} ${SYSTEM_CFILES} 159 mkdep -a ${COPTS} ${PARAM} -UKERNEL ${I386}/i386/genassym.c 160 MKDEP_CPP=${CPP} ; export MKDEP_CPP ; \ 161 mkdep -a -DLOCORE ${COPTS} ${SFILES} ${SYSTEM_SFILES} 162 163links: | 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 --- 144 unchanged lines hidden (view full) --- 156# XXX this assumes that the options for NORMAL_C* and DRIVER_C* are identical. 157depend: assym.s param.c vnode_if.h ${BEFORE_DEPEND} 158 mkdep ${COPTS} ${CFILES} ${SYSTEM_CFILES} 159 mkdep -a ${COPTS} ${PARAM} -UKERNEL ${I386}/i386/genassym.c 160 MKDEP_CPP=${CPP} ; export MKDEP_CPP ; \ 161 mkdep -a -DLOCORE ${COPTS} ${SFILES} ${SYSTEM_SFILES} 162 163links: |
164 egrep '#if' ${CFILES} | sed -f $S/conf/defines | \ | 164 egrep '#if' ${CFILES:Nswapkernel.c} | sed -f $S/conf/defines | \ |
165 sed -e 's/:.*//' -e 's/\.c/.o/' | sort -u > dontlink | 165 sed -e 's/:.*//' -e 's/\.c/.o/' | sort -u > dontlink |
166 echo ${CFILES} | tr -s ' ' '\12' | sed 's/\.c/.o/' | \ | 166 echo ${CFILES:Nswapkernel.c} | tr -s ' ' '\12' | sed 's/\.c/.o/' | \ |
167 sort -u | comm -23 - dontlink | \ 168 sed 's,../.*/\(.*.o\),rm -f \1;ln -s ../GENERIC/\1 \1,' > makelinks 169 sh makelinks && rm -f dontlink 170 171tags: 172 @echo "see $S/kern/Makefile for tags" 173 174install: --- 27 unchanged lines hidden --- | 167 sort -u | comm -23 - dontlink | \ 168 sed 's,../.*/\(.*.o\),rm -f \1;ln -s ../GENERIC/\1 \1,' > makelinks 169 sh makelinks && rm -f dontlink 170 171tags: 172 @echo "see $S/kern/Makefile for tags" 173 174install: --- 27 unchanged lines hidden --- |