Summary: ObjC++ models are a copy (symlink) into the ObjC ones, albeit with different compile time flags. However, the resulting procnames are identical, and we are left with only one copy of models anyway. This means that only one version (chosen arbitrarily by the build order) is used for analysis. This diff deletes the ObjC++ version. Reviewed By: jvillard Differential Revision: D23704266 fbshipit-source-id: 1dc94251fmaster
							parent
							
								
									22e25fda76
								
							
						
					
					
						commit
						3f737cbd49
					
				| @ -1,34 +0,0 @@ | |||||||
| # Copyright (c) Facebook, Inc. and its affiliates.
 |  | ||||||
| #
 |  | ||||||
| # This source code is licensed under the MIT license found in the
 |  | ||||||
| # LICENSE file in the root directory of this source tree.
 |  | ||||||
| 
 |  | ||||||
| MODELS_DIR = ../.. |  | ||||||
| include $(MODELS_DIR)/models-config.make |  | ||||||
| 
 |  | ||||||
| MM_SOURCES=$(wildcard *.mm) |  | ||||||
| M_SOURCES=$(shell find -L . -name "*.m") |  | ||||||
| C_SOURCES=$(shell find -L . -name "*.c") |  | ||||||
| OBJECTS=$(patsubst %.m,%_cxx.o, $(M_SOURCES)) $(patsubst %.c,%_cxx.o, $(C_SOURCES)) $(patsubst %.mm,%.o, $(MM_SOURCES)) |  | ||||||
| # let infer override CC by letting the shell resolve its location according to PATH
 |  | ||||||
| CXX=clang++ |  | ||||||
| 
 |  | ||||||
| OBJC_TARGET = x86_64-apple-darwin14 |  | ||||||
| 
 |  | ||||||
| CXXFLAGS += -Wno-deprecated-objc-isa-usage --target=$(OBJC_TARGET) -x objective-c++ -c -mios-simulator-version-min=8.2 -isysroot $(XCODE_ISYSROOT) |  | ||||||
| 
 |  | ||||||
| all: $(OBJECTS) |  | ||||||
| 
 |  | ||||||
| clean: |  | ||||||
| 	$(QUIET)rm -rf $(OBJECTS) |  | ||||||
| 
 |  | ||||||
| %.o: %.mm |  | ||||||
| 	$(CXX) $(CXXFLAGS) $< -o $@ |  | ||||||
| 
 |  | ||||||
| %_cxx.o: %.m |  | ||||||
| 	$(CXX) $(CXXFLAGS) $< -o $@ |  | ||||||
| 
 |  | ||||||
| %_cxx.o: %.c |  | ||||||
| 	$(CXX) $(CXXFLAGS) $< -o $@ |  | ||||||
| 
 |  | ||||||
| .PHONY: all clean |  | ||||||
| @ -1 +0,0 @@ | |||||||
| ../../objc/src |  | ||||||
					Loading…
					
					
				
		Reference in new issue