]> git.saurik.com Git - apple/configd.git/blobdiff - IPMonitorControl/Makefile
configd-963.200.27.tar.gz
[apple/configd.git] / IPMonitorControl / Makefile
index 3830ae6b4a68f515beec144424e943ec2d81fe2b..7119dcc5086e67b8c164dae068fef67536e6f04a 100644 (file)
@@ -5,7 +5,7 @@
 ifeq ($(PLATFORM),iphoneos)
 # iOS internal SDK
 CORETELEPHONY=-framework CoreTelephony
-ARCHS=armv7
+ARCHS=arm64
 endif
 
 ifeq ($(PLATFORM),macosx)
@@ -29,11 +29,13 @@ CC = xcrun -sdk $(SDK) cc
 PF_INC = -F$(SYSROOT)/System/Library/PrivateFrameworks
 endif
 
-SC_PRIV=-DUSE_SYSTEMCONFIGURATION_PRIVATE_HEADERS
 ARCH_FLAGS=$(foreach a,$(ARCHS),-arch $(a))
 
 if_rank_assert: IPMonitorControlServer.c IPMonitorControl.c main.c
-       $(CC) $(SC_PRIV) -DTEST_IPMONITOR_CONTROL -I$(SYSROOT)/System/Library/Frameworks/System.framework/PrivateHeaders $(ARCH_FLAGS) -isysroot $(SYSROOT) $(PF_INC) -framework CoreFoundation -framework SystemConfiguration -Wall -g -o $@ $^
+       $(CC) -DTEST_IPMONITOR_CONTROL -I$(SYSROOT)/System/Library/Frameworks/System.framework/PrivateHeaders $(ARCH_FLAGS) -isysroot $(SYSROOT) $(PF_INC) -framework CoreFoundation -framework SystemConfiguration -Wall -g -o $@ $^
+
+IPMonitorAWDReportTest: IPMonitorAWDReport.m
+       $(CC) -isysroot $(SYSROOT) $(ARCH_FLAGS) -g  -Wall -DTEST_IPMONITOR_AWD_REPORT -framework Foundation -weak_framework WirelessDiagnostics -framework CoreFoundation -framework SystemConfiguration -framework ProtocolBuffer $(PF_INC) -I AWD AWD/AWDIPMonitorInterfaceAdvisoryReport.m -o $@ $^
 
 clean:
        rm -rf *.dSYM *~ *.o if_rank_assert