X-Git-Url: https://git.saurik.com/apple/network_cmds.git/blobdiff_plain/f47db663cb3ae4d2fc391bb3acf9d0c2b38a41b7..b8dff1509d79abed3d82c4d8bfb2e73c7d0f1d1a:/netstat.tproj/Makefile diff --git a/netstat.tproj/Makefile b/netstat.tproj/Makefile index 88786fd..feb1448 100644 --- a/netstat.tproj/Makefile +++ b/netstat.tproj/Makefile @@ -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 inet6.c ipsec.c main.c mbuf.c mroute.c mroute6.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