Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Nov 1999 23:48:21 -0700
From:      Warner Losh <imp@village.org>
To:        new-bus@freebsd.org
Subject:   Makefile module cleanup
Message-ID:  <199911180648.XAA22839@harmony.village.org>

next in thread | raw e-mail | index | archive | help

Right now nearly every makefile in the sys/modules tree has code that
looks like:

S	= ${.CURDIR}/../..
SRCS=   ... device_if.h bus_if.h isa_if.h
CLEANS+= device_if.h bus_if.h isa_if.h

device_if.h: $S/kern/makedevops.pl $S/kern/device_if.m
	perl $S/kern/makedevops.pl -h $S/kern/device_if.m

bus_if.h: $S/kern/makedevops.pl $S/kern/bus_if.m
	perl $S/kern/makedevops.pl -h $S/kern/bus_if.m

isa_if.h: $S/kern/makedevops.pl $S/isa/isa_if.m
	perl $S/kern/makedevops.pl -h $S/isa/isa_if.m


Are there plans to make this more modular?  I've cut and paste this
same makefile code abotu 10 times now :-<.

Warner


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-new-bus" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911180648.XAA22839>