kern.post.mk (714b6aa6ff3543eaf3a20e94a4590b3ac7bd9fae) kern.post.mk (0b3178a45cd08a2387bff09a2844deacc97ae1e7)
1# kern.post.mk
2#
3# Unified Makefile for building kenrels. This includes all the definitions
4# that need to be included after all the % directives, except %RULES and
5# things that act like they are part of %RULES
6#
7# Most make variables should not be defined in this file. Instead, they
8# should be defined in the kern.pre.mk so that port makefiles can

--- 62 unchanged lines hidden (view full) ---

71
72# this rule stops ./assym.s in .depend from causing problems
73./assym.s: assym.s
74
75assym.s: $S/kern/genassym.sh genassym.o
76 NM=${NM} OBJFORMAT=elf sh $S/kern/genassym.sh genassym.o > ${.TARGET}
77
78genassym.o: $S/$M/$M/genassym.c
1# kern.post.mk
2#
3# Unified Makefile for building kenrels. This includes all the definitions
4# that need to be included after all the % directives, except %RULES and
5# things that act like they are part of %RULES
6#
7# Most make variables should not be defined in this file. Instead, they
8# should be defined in the kern.pre.mk so that port makefiles can

--- 62 unchanged lines hidden (view full) ---

71
72# this rule stops ./assym.s in .depend from causing problems
73./assym.s: assym.s
74
75assym.s: $S/kern/genassym.sh genassym.o
76 NM=${NM} OBJFORMAT=elf sh $S/kern/genassym.sh genassym.o > ${.TARGET}
77
78genassym.o: $S/$M/$M/genassym.c
79 ${CC} -c ${CFLAGS} $S/$M/$M/genassym.c
79 ${CC} -c ${CFLAGS:N-fno-common} $S/$M/$M/genassym.c
80
81${SYSTEM_OBJS} genassym.o vers.o: opt_global.h
82
83kernel-depend:
84.if defined(EXTRA_KERNELDEP)
85 ${EXTRA_KERNELDEP}
86.endif
87 rm -f .olddep

--- 144 unchanged lines hidden ---
80
81${SYSTEM_OBJS} genassym.o vers.o: opt_global.h
82
83kernel-depend:
84.if defined(EXTRA_KERNELDEP)
85 ${EXTRA_KERNELDEP}
86.endif
87 rm -f .olddep

--- 144 unchanged lines hidden ---