os2.mk (1bb309c6) os2.mk (6bf52fda)
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

--- 317 unchanged lines hidden (view full) ---

326define gb_LinkTarget__command_dynamiclinkexecutable
327$(call gb_Output_announce,$(2),$(true),LNK,4)
328$(call gb_Helper_abbreviate_dirs_native,\
329 mkdir -p $(dir $(1)) && \
330 rm -f $(1) && \
331 $(if $(DLLTARGET), echo LIBRARY $(DLLBASE) INITINSTANCE TERMINSTANCE > $(DLLDEF) &&) \
332 $(if $(DLLTARGET), echo DATA MULTIPLE >> $(DLLDEF) &&) \
333 RESPONSEFILE=$(call var2filecr,$(shell $(gb_MKTEMP)),1, \
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

--- 317 unchanged lines hidden (view full) ---

326define gb_LinkTarget__command_dynamiclinkexecutable
327$(call gb_Output_announce,$(2),$(true),LNK,4)
328$(call gb_Helper_abbreviate_dirs_native,\
329 mkdir -p $(dir $(1)) && \
330 rm -f $(1) && \
331 $(if $(DLLTARGET), echo LIBRARY $(DLLBASE) INITINSTANCE TERMINSTANCE > $(DLLDEF) &&) \
332 $(if $(DLLTARGET), echo DATA MULTIPLE >> $(DLLDEF) &&) \
333 RESPONSEFILE=$(call var2filecr,$(shell $(gb_MKTEMP)),1, \
334 $(call gb_Helper_convert_native,$(foreach object,$(CXXOBJECTS),$(call gb_CxxObject_get_target,$(object))) \
334 $(call gb_Helper_convert_native,\
335 $(foreach object,$(CXXOBJECTS),$(call gb_CxxObject_get_target,$(object))) \
335 $(foreach object,$(GENCXXOBJECTS),$(call gb_GenCxxObject_get_target,$(object))) \
336 $(foreach object,$(COBJECTS),$(call gb_CObject_get_target,$(object))) \
336 $(foreach object,$(GENCXXOBJECTS),$(call gb_GenCxxObject_get_target,$(object))) \
337 $(foreach object,$(COBJECTS),$(call gb_CObject_get_target,$(object))) \
338 $(foreach object,$(ASMOBJECTS),$(call gb_AsmObject_get_target,$(object))) \
337 $(PCHOBJS))) && \
338 $(if $(DLLTARGET), echo EXPORTS >> $(DLLDEF) &&) \
339 $(if $(DLLTARGET), emxexp @$${RESPONSEFILE} | fix_exp_file | sort | uniq | fix_def_ord >> $(DLLDEF) &&) \
340 $(gb_LINK) \
341 $(if $(filter Library,$(TARGETTYPE)),$(gb_Library_TARGETTYPEFLAGS)) \
342 $(if $(filter StaticLibrary,$(TARGETTYPE)),$(gb_StaticLibrary_TARGETTYPEFLAGS)) \
343 $(if $(filter Executable,$(TARGETTYPE)),$(gb_Executable_TARGETTYPEFLAGS)) \
344 $(if $(VERSIONMAP),$(gb_Library_VERSIONMAPFLAG) $(VERSIONMAP)) \

--- 301 unchanged lines hidden ---
339 $(PCHOBJS))) && \
340 $(if $(DLLTARGET), echo EXPORTS >> $(DLLDEF) &&) \
341 $(if $(DLLTARGET), emxexp @$${RESPONSEFILE} | fix_exp_file | sort | uniq | fix_def_ord >> $(DLLDEF) &&) \
342 $(gb_LINK) \
343 $(if $(filter Library,$(TARGETTYPE)),$(gb_Library_TARGETTYPEFLAGS)) \
344 $(if $(filter StaticLibrary,$(TARGETTYPE)),$(gb_StaticLibrary_TARGETTYPEFLAGS)) \
345 $(if $(filter Executable,$(TARGETTYPE)),$(gb_Executable_TARGETTYPEFLAGS)) \
346 $(if $(VERSIONMAP),$(gb_Library_VERSIONMAPFLAG) $(VERSIONMAP)) \

--- 301 unchanged lines hidden ---