Makefile revision 1.1
11.1Spgoyette# $NetBSD: Makefile,v 1.1 2016/06/09 04:44:19 pgoyette Exp $ 21.1Spgoyette# 31.1Spgoyette 41.1Spgoyette.include "../Makefile.inc" 51.1Spgoyette 61.1Spgoyette.PATH: ${S}/external/bsd/ipf/netinet 71.1Spgoyette 81.1SpgoyetteKMOD= ipl # Use "formal" name of ipfilter device to enable autoload 91.1Spgoyette 101.1Spgoyette# Options for opt_ipfilter.h 111.1Spgoyette 121.1SpgoyetteCPPFLAGS+= -DIPFILTER_LOG # logging of ip packets 131.1Spgoyette#CPPFLAGS+= -DIPFILTER_DEFAULT_BLOCK 141.1Spgoyette#CPPFLAGS+= -DIPFILTER_BPF # BPF opcodes in rules 151.1Spgoyette#CPPFLAGS+= -DIPFILTER_CKSUM # check layer 4 checksums 161.1Spgoyette#CPPFLAGS+= -DIPFILTER_COMPILED # support for compiled IPF rules 171.1SpgoyetteCPPFLAGS+= -DIPFILTER_LOOKUP # support for ippool(8) 181.1Spgoyette#CPPFLAGS+= -DIPFILTER_SCAN # scanning of packet contents 191.1Spgoyette#CPPFLAGS+= -DIPFILTER_SYNC # synchronisation of state 201.1SpgoyetteCPPFLAGS+= -DIPFILTER_COMPAT # IPFilter version compat. 211.1Spgoyette 221.1Spgoyette# IPFILTER_LOGSIZE # size of logging buffer 231.1Spgoyette# IPSTATE_MAX # maximum number of references to state table entry 241.1Spgoyette# IPSTATE_SIZE # size of state hash table 251.1Spgoyette# NAT_TABLE_MAX # maximum number of NAT state entries 261.1Spgoyette# NAT_TABLE_SZ # size of NAT state hash table 271.1Spgoyette# NAT_SIZE # size of nat rules hash table 281.1Spgoyette# RDR_SIZE # size of rdr rules hash table 291.1Spgoyette# HOSTMAP_SIZE # size of hostmap hash table 301.1Spgoyette 311.1SpgoyetteCPPFLAGS+= -I$S/external/bsd/ipf 321.1Spgoyette 331.1Spgoyette# Other options: 341.1Spgoyette 351.1SpgoyetteCPPFLAGS+= -DINET # opt_inet.h 361.1SpgoyetteCPPFLAGS+= -DINET6 # opt_inet.h 371.1SpgoyetteCPPFLAGS+= -DIPSEC # opt_ipsec.h 381.1Spgoyette 391.1SpgoyetteSRCS+= fil.c 401.1SpgoyetteSRCS+= ip_auth.c 411.1SpgoyetteSRCS+= ip_dstlist.c 421.1SpgoyetteSRCS+= ip_fil_netbsd.c 431.1SpgoyetteSRCS+= ip_frag.c 441.1SpgoyetteSRCS+= ip_htable.c 451.1SpgoyetteSRCS+= ip_log.c 461.1SpgoyetteSRCS+= ip_lookup.c 471.1SpgoyetteSRCS+= ip_nat.c 481.1SpgoyetteSRCS+= ip_nat6.c 491.1SpgoyetteSRCS+= ip_pool.c 501.1SpgoyetteSRCS+= ip_proxy.c 511.1SpgoyetteSRCS+= ip_scan.c 521.1SpgoyetteSRCS+= ip_state.c 531.1SpgoyetteSRCS+= ip_sync.c 541.1SpgoyetteSRCS+= ip_fil_compat.c 551.1SpgoyetteSRCS+= radix_ipf.c 561.1Spgoyette 571.1Spgoyette.include <bsd.kmodule.mk> 58