diff options
author | kato <kato@FreeBSD.org> | 2000-04-05 12:54:13 +0000 |
---|---|---|
committer | kato <kato@FreeBSD.org> | 2000-04-05 12:54:13 +0000 |
commit | 2bf92db1cd1236f211745bd6b4b0e18a1ba665a0 (patch) | |
tree | ee1cfade47dedc33b8511aa16cd40efaee01e5f3 /sys | |
parent | c1fd39206e1fc95985fc17e999388470d4ee6a7e (diff) | |
download | FreeBSD-src-2bf92db1cd1236f211745bd6b4b0e18a1ba665a0.zip FreeBSD-src-2bf92db1cd1236f211745bd6b4b0e18a1ba665a0.tar.gz |
Synced with sys/conf/Makefile.i386 revision 1.181.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/conf/Makefile.pc98 | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/sys/conf/Makefile.pc98 b/sys/conf/Makefile.pc98 index 88b74a0..51cf3d6 100644 --- a/sys/conf/Makefile.pc98 +++ b/sys/conf/Makefile.pc98 @@ -75,6 +75,9 @@ NORMAL_C_C= ${CC} -c ${CFLAGS} ${PROF} ${.IMPSRC} NORMAL_S= ${CC} -c ${ASM_CFLAGS} ${.IMPSRC} PROFILE_C= ${CC} -c ${CFLAGS} ${.IMPSRC} +NORMAL_M= perl5 $S/kern/makedevops.pl -c $<; \ + ${CC} -c ${CFLAGS} ${PROF} ${.PREFIX}.c + GEN_CFILES= $S/$M/$M/genassym.c # setdef0.c and setdef1.c are intentionally # omitted from SYSTEM_CFILES. They include setdefs.h, a header which @@ -120,14 +123,21 @@ ${FULLKERNEL}: ${SYSTEM_DEP} vers.o ${SYSTEM_LD_TAIL} .if !exists(.depend) -${SYSTEM_OBJS}: vnode_if.h ${BEFORE_DEPEND:M*.h} +${SYSTEM_OBJS}: vnode_if.h ${BEFORE_DEPEND:M*.h} ${MFILES:T:S/.m$/.h/} .endif +.for mfile in ${MFILES} +${mfile:T:S/.m$/.h/}: ${mfile} + perl5 $S/kern/makedevops.pl -h ${mfile} +.endfor + clean: rm -f *.o *.so *.So *.ko *.s eddep errs genassym \ ${FULLKERNEL} ${KERNEL} linterrs makelinks param.c \ setdef[01].c setdefs.h tags \ - vers.c vnode_if.c vnode_if.h ${CLEAN} + vers.c vnode_if.c vnode_if.h \ + ${MFILES:T:S/.m$/.c/} ${MFILES:T:S/.m$/.h/} \ + ${CLEAN} #lint: /tmp param.c # @lint -hbxn -DGENERIC -Dvolatile= ${COPTS} \ @@ -170,7 +180,8 @@ genassym.o: $S/$M/$M/genassym.c ${SYSTEM_OBJS} genassym.o vers.o: opt_global.h depend: assym.s param.c vnode_if.h ${BEFORE_DEPEND} \ - ${CFILES} ${SYSTEM_CFILES} ${GEN_CFILES} ${SFILES} ${SYSTEM_SFILES} + ${CFILES} ${SYSTEM_CFILES} ${GEN_CFILES} ${SFILES} \ + ${SYSTEM_SFILES} ${MFILES:T:S/.m$/.h/} rm -f .newdep mkdep -a -f .newdep ${CFLAGS} ${CFILES} ${SYSTEM_CFILES} ${GEN_CFILES} env MKDEP_CPP="${CC} -E" \ |