]> git.saurik.com Git - apple/network_cmds.git/blobdiff - netstat.tproj/Makefile
network_cmds-306.tar.gz
[apple/network_cmds.git] / netstat.tproj / Makefile
index a009e3642073dcad93fac2c8271e323e72df2254..feb1448b7d81959644b75eb45865fd8ebb14cf31 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Generated by the NeXT Project Builder.
+# Generated by the Apple Project Builder.
 #
 # NOTE: Do NOT change this file -- Project Builder maintains it.
 #
@@ -12,10 +12,16 @@ NAME = netstat
 PROJECTVERSION = 2.8
 PROJECT_TYPE = Tool
 
+Embedded=$(shell tconf --test TARGET_OS_EMBEDDED)
+
 HFILES = netstat.h
 
-CFILES = data.c if.c inet.c iso.c main.c mbuf.c mroute.c route.c\
-         tp_astring.c unix.c
+CFILES = data.c if.c inet.c inet6.c ipsec.c main.c mcast.c mbuf.c\
+         route.c tp_astring.c unix.c
+
+ifeq "$(Embedded)" "NO"
+CFILES += mroute.c mroute6.c
+endif
 
 OTHERSRCS = Makefile.preamble Makefile Makefile.postamble netstat.1\
             DERIVED_FILES
@@ -33,7 +39,7 @@ PROF_LIBS = $(LIBS)
 
 
 HEADER_PATHS =\
-               -I$(NEXT_ROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/System.framework/PrivateHeaders/bsd/netat
+               -I$(NEXT_ROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/System.framework/PrivateHeaders/
 
 
 NEXTSTEP_OBJCPLUS_COMPILER = /usr/bin/cc