Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
75c0816e8295e180f4bc7f10db3d0d880383bc1cMark Andrews# Use is subject to license terms.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein#ident "%Z%%M% %I% %E% SMI"
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# This makefile drives the production of the ipf driver
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# kernel module.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# sparc architecture dependent
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater# Path to the base of the uts directory tree (usually /usr/src/uts).
e21a2904f02a03fa06b6db04d348f65fe9c67b2bMark Andrews# Define the module and object file sets.
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews# Include common rules.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Define targets
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# lint pass one enforcement and OS version
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinCPPFLAGS += -DIPFILTER_LKM -DIPFILTER_LOG -DIPFILTER_LOOKUP
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinCPPFLAGS += -DSUNDDI -DSOLARIS2=$(MINOR:sh) -DIRE_ILL_CN
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Default build targets.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Include common targets.