freebsd-dev/sys/modules/if_tap/Makefile
Poul-Henning Kamp db90128160 Avoid the modules madness I inadvertently introduced by making the
cloning infrastructure standard in kern_conf.  Modules are now
the same with or without devfs support.

If you need to detect if devfs is present, in modules or elsewhere,
check the integer variable "devfs_present".

This happily removes an ugly hack from kern/vfs_conf.c.

This forces a rename of the eventhandler and the standard clone
helper function.

Include <sys/eventhandler.h> in <sys/conf.h>: it's a helper #include
like <sys/queue.h>

Remove all #includes of opt_devfs.h they no longer matter.
2000-09-02 19:17:34 +00:00

15 lines
286 B
Makefile

# Copyright (C) 1999-2000 by Maksim Yevmenkin <m_evmenkin@yahoo.com>
#
# $FreeBSD$
.PATH: ${.CURDIR}/../../net
KMOD= if_tap
SRCS= if_tap.c opt_inet.h vnode_if.h
CLEANFILES+= opt_devfs.h opt_inet.h vnode_if.h
opt_inet.h:
echo "#define INET 1" > opt_inet.h
.include <bsd.kmod.mk>