Makefile revision 734b6a94890be549309b21156f8ed6d4561cac51
3e02c9e33656dcd9c364633d42dd785d3e6fdd66Automatic Updater# ident "%Z%%M% %I% %E% SMI"
3e02c9e33656dcd9c364633d42dd785d3e6fdd66Automatic Updater# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
c6fb85f9500350e5ce58c9a24f5d264c8a8bd6f4Automatic Updater# Use is subject to license terms.
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan HuntROUTEDOBJS= common.o if.o input.o main.o output.o parms.o radix.o \
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# in.routed uses ancillary data features available through
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# the Open Group's Networking Services standard. The following
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# pre-processor definitions enable these features.
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt_D_XOPEN_EXTN = -D_XOPEN_SOURCE=500 -D__EXTENSIONS__
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# Turning on __EXTENSIONS__ breaks lint, and we need __EXTENSIONS__.
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# This is really a lint problem, so around the breakage.
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan HuntLINTFLAGS += -erroff=E_FUNC_DECL_VAR_ARG2 -erroff=E_INCONS_VAL_TYPE_DECL2 \
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt -erroff=E_INCONS_ARG_DECL2 -erroff=E_INCONS_ARG_USED2
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# Message catalog
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# This needs to be done because of SPARC/x86 differences. On x86,
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# double has required alignment of only 4 bytes, but on SPARC it's 8
8ec3c085233cedb22b05da36e2773c8f357a7e45Automatic Updater# bytes. This means that sockaddr_in can be casted to
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# sockaddr_storage without complaint on x86, but requires a
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# suppression directive on SPARC.