os2.mk (44c25570) | os2.mk (62c6e450) |
---|---|
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 --- 95 unchanged lines hidden (view full) --- 104 -I$(JAVA_HOME)/include \ 105 -I$(JAVA_HOME)/include/os2 106 107# -fvisibility-inlines-hidden \ 108# -fvisibility=hidden \ 109# 110 111gb_STDLIBS = \ | 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 --- 95 unchanged lines hidden (view full) --- 104 -I$(JAVA_HOME)/include \ 105 -I$(JAVA_HOME)/include/os2 106 107# -fvisibility-inlines-hidden \ 108# -fvisibility=hidden \ 109# 110 111gb_STDLIBS = \ |
112 stdc444 \ | 112 z \ 113 stdc++ \ |
113 114ifneq ($(EXTERNAL_WARNINGS_NOT_ERRORS),TRUE) 115gb_CFLAGS_WERROR := -Werror 116gb_CXXFLAGS_WERROR := -Werror 117endif 118 119gb_LinkTarget_EXCEPTIONFLAGS := \ 120 -DEXCEPTIONS_ON \ --- 181 unchanged lines hidden (view full) --- 302gb_LinkTarget_INCLUDE_STL := $(filter %/stl, $(subst -I. , ,$(SOLARINC))) 303 304gb_LinkTarget_get_pdbfile = $(call gb_LinkTarget_get_target,)pdb/$(1).pdb 305 306DLLBASE8 = $(call substr,$(notdir $(DLLTARGET:.dll=)),1,8) 307DLLTARGET8 = $(dir $(DLLTARGET))$(DLLBASE8)$(gb_Library_DLLEXT) 308DLLDEF8 = $(dir $(DLLTARGET))$(DLLBASE8).def 309 | 114 115ifneq ($(EXTERNAL_WARNINGS_NOT_ERRORS),TRUE) 116gb_CFLAGS_WERROR := -Werror 117gb_CXXFLAGS_WERROR := -Werror 118endif 119 120gb_LinkTarget_EXCEPTIONFLAGS := \ 121 -DEXCEPTIONS_ON \ --- 181 unchanged lines hidden (view full) --- 303gb_LinkTarget_INCLUDE_STL := $(filter %/stl, $(subst -I. , ,$(SOLARINC))) 304 305gb_LinkTarget_get_pdbfile = $(call gb_LinkTarget_get_target,)pdb/$(1).pdb 306 307DLLBASE8 = $(call substr,$(notdir $(DLLTARGET:.dll=)),1,8) 308DLLTARGET8 = $(dir $(DLLTARGET))$(DLLBASE8)$(gb_Library_DLLEXT) 309DLLDEF8 = $(dir $(DLLTARGET))$(DLLBASE8).def 310 |
310 #EMXEXPRSP=$(call var2filecr,$(shell $(gb_MKTEMP)),1, \ 311 $(call gb_Helper_convert_native,$(foreach object,$(CXXOBJECTS),$(call gb_CxxObject_get_target,$(object))) \ 312 $(foreach object,$(GENCXXOBJECTS),$(call gb_GenCxxObject_get_target,$(object))) \ 313 $(foreach object,$(COBJECTS),$(call gb_CObject_get_target,$(object)))) \ 314 ) && \ 315 emxexp @$${EMXEXPRSP} >> $(DLLDEF8) && \ 316 echo EXPORTS >> $(DLLDEF8) && \ 317 318 | |
319define gb_LinkTarget__command_dynamiclinkexecutable 320$(call gb_Output_announce,$(2),$(true),LNK,4) 321$(call gb_Helper_abbreviate_dirs_native,\ 322 mkdir -p $(dir $(1)) && \ 323 rm -f $(1) && \ 324 $(if $(DLLTARGET), echo LIBRARY $(DLLBASE8) INITINSTANCE TERMINSTANCE > $(DLLDEF8) &&) \ 325 $(if $(DLLTARGET), echo DATA MULTIPLE >> $(DLLDEF8) &&) \ 326 RESPONSEFILE=$(call var2filecr,$(shell $(gb_MKTEMP)),1, \ 327 $(call gb_Helper_convert_native,$(foreach object,$(CXXOBJECTS),$(call gb_CxxObject_get_target,$(object))) \ 328 $(foreach object,$(GENCXXOBJECTS),$(call gb_GenCxxObject_get_target,$(object))) \ 329 $(foreach object,$(COBJECTS),$(call gb_CObject_get_target,$(object))) \ 330 $(PCHOBJS))) && \ 331 $(gb_LINK) \ 332 $(if $(filter Library CppunitTest,$(TARGETTYPE)),$(gb_Library_TARGETTYPEFLAGS)) \ 333 $(if $(filter StaticLibrary,$(TARGETTYPE)),$(gb_StaticLibrary_TARGETTYPEFLAGS)) \ 334 $(if $(filter Executable,$(TARGETTYPE)),$(gb_Executable_TARGETTYPEFLAGS)) \ 335 $(LDFLAGS) \ 336 @$${RESPONSEFILE} \ | 311define gb_LinkTarget__command_dynamiclinkexecutable 312$(call gb_Output_announce,$(2),$(true),LNK,4) 313$(call gb_Helper_abbreviate_dirs_native,\ 314 mkdir -p $(dir $(1)) && \ 315 rm -f $(1) && \ 316 $(if $(DLLTARGET), echo LIBRARY $(DLLBASE8) INITINSTANCE TERMINSTANCE > $(DLLDEF8) &&) \ 317 $(if $(DLLTARGET), echo DATA MULTIPLE >> $(DLLDEF8) &&) \ 318 RESPONSEFILE=$(call var2filecr,$(shell $(gb_MKTEMP)),1, \ 319 $(call gb_Helper_convert_native,$(foreach object,$(CXXOBJECTS),$(call gb_CxxObject_get_target,$(object))) \ 320 $(foreach object,$(GENCXXOBJECTS),$(call gb_GenCxxObject_get_target,$(object))) \ 321 $(foreach object,$(COBJECTS),$(call gb_CObject_get_target,$(object))) \ 322 $(PCHOBJS))) && \ 323 $(gb_LINK) \ 324 $(if $(filter Library CppunitTest,$(TARGETTYPE)),$(gb_Library_TARGETTYPEFLAGS)) \ 325 $(if $(filter StaticLibrary,$(TARGETTYPE)),$(gb_StaticLibrary_TARGETTYPEFLAGS)) \ 326 $(if $(filter Executable,$(TARGETTYPE)),$(gb_Executable_TARGETTYPEFLAGS)) \ 327 $(LDFLAGS) \ 328 @$${RESPONSEFILE} \ |
329 -L/@unixroot/usr/lib \ |
|
337 $(if $(DLLTARGET), $(DLLDEF8)) \ 338 $(NATIVERES) \ 339 $(patsubst %.lib,-l%,$(foreach lib,$(LINKED_LIBS),$(call gb_Library_get_filename,$(lib)))) \ 340 $(patsubst %,-l%,$(EXTERNAL_LIBS)) \ 341 $(foreach lib,$(LINKED_STATIC_LIBS),$(call gb_StaticLibrary_get_target,$(lib))) \ 342 $(if $(DLLTARGET),-o $(DLLTARGET8), -o $(1) ); \ 343 RC=$$?; rm $${RESPONSEFILE} \ 344 $(if $(DLLTARGET),; emximp -p2048 -o $(1) $(DLLTARGET8) ) \ --- 56 unchanged lines hidden (view full) --- 401 402gb_Library_FILENAMES :=\ 403 $(foreach lib,$(gb_Library_TARGETS),$(lib):$(gb_Library_SYSPRE)$(lib)$(gb_Library_PLAINEXT)) \ 404 405gb_Library_DLLEXT := .dll 406gb_Library_MAJORVER := 407gb_Library_RTEXT := $(gb_Library_DLLEXT) 408ifeq ($(gb_PRODUCT),$(true)) | 330 $(if $(DLLTARGET), $(DLLDEF8)) \ 331 $(NATIVERES) \ 332 $(patsubst %.lib,-l%,$(foreach lib,$(LINKED_LIBS),$(call gb_Library_get_filename,$(lib)))) \ 333 $(patsubst %,-l%,$(EXTERNAL_LIBS)) \ 334 $(foreach lib,$(LINKED_STATIC_LIBS),$(call gb_StaticLibrary_get_target,$(lib))) \ 335 $(if $(DLLTARGET),-o $(DLLTARGET8), -o $(1) ); \ 336 RC=$$?; rm $${RESPONSEFILE} \ 337 $(if $(DLLTARGET),; emximp -p2048 -o $(1) $(DLLTARGET8) ) \ --- 56 unchanged lines hidden (view full) --- 394 395gb_Library_FILENAMES :=\ 396 $(foreach lib,$(gb_Library_TARGETS),$(lib):$(gb_Library_SYSPRE)$(lib)$(gb_Library_PLAINEXT)) \ 397 398gb_Library_DLLEXT := .dll 399gb_Library_MAJORVER := 400gb_Library_RTEXT := $(gb_Library_DLLEXT) 401ifeq ($(gb_PRODUCT),$(true)) |
409gb_Library_STLEXT := stlp45$(gb_Library_DLLEXT) | 402gb_Library_STLEXT := stdc++$(gb_Library_DLLEXT) |
410else 411gb_Library_STLEXT := stlp45_stldebug$(gb_Library_DLLEXT) 412endif 413gb_Library_OOOEXT := $(gb_Library_DLLEXT) 414gb_Library_UNOEXT := .uno$(gb_Library_DLLEXT) 415gb_Library_UNOVEREXT := $(gb_Library_MAJORVER)$(gb_Library_DLLEXT) 416gb_Library_RTVEREXT := $(gb_Library_MAJORVER)$(gb_Library_RTEXT) 417 --- 257 unchanged lines hidden --- | 403else 404gb_Library_STLEXT := stlp45_stldebug$(gb_Library_DLLEXT) 405endif 406gb_Library_OOOEXT := $(gb_Library_DLLEXT) 407gb_Library_UNOEXT := .uno$(gb_Library_DLLEXT) 408gb_Library_UNOVEREXT := $(gb_Library_MAJORVER)$(gb_Library_DLLEXT) 409gb_Library_RTVEREXT := $(gb_Library_MAJORVER)$(gb_Library_RTEXT) 410 --- 257 unchanged lines hidden --- |