target.mk (534c536d) | target.mk (922b79ca) |
---|---|
1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance --- 13 unchanged lines hidden (view full) --- 22 23 24MKFILENAME:=TARGET.MK 25 26# ------------------------------------------------------------------ 27# INCLUDE-Path 28# ------------------------------------------------------------------ 29 | 1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance --- 13 unchanged lines hidden (view full) --- 22 23 24MKFILENAME:=TARGET.MK 25 26# ------------------------------------------------------------------ 27# INCLUDE-Path 28# ------------------------------------------------------------------ 29 |
30.IF "$(TARGET)"=="" 31target_empty=warn_target_empty 32.ENDIF 33 34.IF "$(PRJNAME)" == "binfilter" 35CDEFS+=-DBINFILTER_COMPAT 36.ENDIF 37 |
|
30.IF "$(STL_OS2_BUILDING)" != "" 31CDEFS+=-DSTL_OS2_BUILDING 32.ENDIF 33.IF "$(VISIBILITY_HIDDEN)" != "" 34.IF "$(COMNAME)" == "gcc3" && "$(HAVE_GCC_VISIBILITY_FEATURE)" == "TRUE" 35.IF "$(GUI)" != "OS2" 36CFLAGS += -fvisibility=hidden 37.ENDIF 38.ELIF "$(COMNAME)" == "sunpro5" && "$(CCNUMVER)" >= "00050005" 39CFLAGS += -xldscope=hidden 40.ENDIF 41.ENDIF 42 | 38.IF "$(STL_OS2_BUILDING)" != "" 39CDEFS+=-DSTL_OS2_BUILDING 40.ENDIF 41.IF "$(VISIBILITY_HIDDEN)" != "" 42.IF "$(COMNAME)" == "gcc3" && "$(HAVE_GCC_VISIBILITY_FEATURE)" == "TRUE" 43.IF "$(GUI)" != "OS2" 44CFLAGS += -fvisibility=hidden 45.ENDIF 46.ELIF "$(COMNAME)" == "sunpro5" && "$(CCNUMVER)" >= "00050005" 47CFLAGS += -xldscope=hidden 48.ENDIF 49.ENDIF 50 |
43.IF "$(TARGET)"=="" 44target_empty=warn_target_empty 45.ENDIF 46 | |
47# all use solarinc 48# no standalone -I flags!! 49INCEXT*=. 50INCPRE*=. 51INCPOST*=. 52.IF "$(BOOTSTRAP_SERVICE)"!="TRUE" && "$(NO_OFFUH)"=="" 53UNOINCLUDES=$(SOLARINCDIR)/offuh 54.ENDIF # "$(BOOTSTRAP_SERVICE)"!="TRUE" && "$(NO_OFFUH)"=="" 55SOLARINC+=$(JDKINCS) 56# make sure INCLUDE isn't set 57INCLUDE:= 58.EXPORT : INCLUDE 59.IF "$(PRJINC)"!="" 60INCLUDE!:=-I. $(INCPRE:^"-I":s/-I-I/-I/) -I$(INCLOCAL) $(INCLOCPRJ:^"-I":s/-I-I/-I/) -I$(INCPCH) -I$(INC) -I$(INCGUI) -I$(INCCOM) $(SOLARINC) $(null,$(UNOINCLUDES) $(NULL) -I$(UNOINCLUDES)) -I$(INCEXT) -I$(PRJ)/res -I$(INCPOST) 61.ELSE # "$(PRJINC)"!="" 62INCLUDE!:=-I. $(INCPRE:^"-I":s/-I-I/-I/) -I$(INCLOCAL) -I$(INCPCH) -I$(INC) -I$(INCGUI) -I$(INCCOM) $(SOLARINC) $(null,$(UNOINCLUDES) $(NULL) -I$(UNOINCLUDES)) -I$(INCEXT) -I$(PRJ)/res -I$(INCPOST) 63.ENDIF # "$(PRJINC)"!="" 64INCLUDE_C=$(subst,/stl$(SPACECHAR),dont_use_stl$(SPACECHAR) $(INCLUDE)) 65.EXPORT : LIB | 51# all use solarinc 52# no standalone -I flags!! 53INCEXT*=. 54INCPRE*=. 55INCPOST*=. 56.IF "$(BOOTSTRAP_SERVICE)"!="TRUE" && "$(NO_OFFUH)"=="" 57UNOINCLUDES=$(SOLARINCDIR)/offuh 58.ENDIF # "$(BOOTSTRAP_SERVICE)"!="TRUE" && "$(NO_OFFUH)"=="" 59SOLARINC+=$(JDKINCS) 60# make sure INCLUDE isn't set 61INCLUDE:= 62.EXPORT : INCLUDE 63.IF "$(PRJINC)"!="" 64INCLUDE!:=-I. $(INCPRE:^"-I":s/-I-I/-I/) -I$(INCLOCAL) $(INCLOCPRJ:^"-I":s/-I-I/-I/) -I$(INCPCH) -I$(INC) -I$(INCGUI) -I$(INCCOM) $(SOLARINC) $(null,$(UNOINCLUDES) $(NULL) -I$(UNOINCLUDES)) -I$(INCEXT) -I$(PRJ)/res -I$(INCPOST) 65.ELSE # "$(PRJINC)"!="" 66INCLUDE!:=-I. $(INCPRE:^"-I":s/-I-I/-I/) -I$(INCLOCAL) -I$(INCPCH) -I$(INC) -I$(INCGUI) -I$(INCCOM) $(SOLARINC) $(null,$(UNOINCLUDES) $(NULL) -I$(UNOINCLUDES)) -I$(INCEXT) -I$(PRJ)/res -I$(INCPOST) 67.ENDIF # "$(PRJINC)"!="" 68INCLUDE_C=$(subst,/stl$(SPACECHAR),dont_use_stl$(SPACECHAR) $(INCLUDE)) 69.EXPORT : LIB |
70 |
|
66# --- Compiler ----------------------------------------------------- 67 68.IF "$(RC_SUBDIRS)"!="" 69SUBDIRS:=$(RC_SUBDIRS) 70SUBDIRSDEPS=$(RC_SUBDIRSDEPS) 71.ENDIF 72 73.INCLUDE : pstrules.mk --- 2010 unchanged lines hidden --- | 71# --- Compiler ----------------------------------------------------- 72 73.IF "$(RC_SUBDIRS)"!="" 74SUBDIRS:=$(RC_SUBDIRS) 75SUBDIRSDEPS=$(RC_SUBDIRSDEPS) 76.ENDIF 77 78.INCLUDE : pstrules.mk --- 2010 unchanged lines hidden --- |