solaris.mk (7871dc3e) solaris.mk (44c25570)
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

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

196
197define gb_LinkTarget__command_dynamiclink
198$(call gb_Helper_abbreviate_dirs,\
199 mkdir -p $(dir $(1)) && \
200 $(gb_CXX) \
201 $(if $(filter Library CppunitTest,$(TARGETTYPE)),$(gb_Library_TARGETTYPEFLAGS)) \
202 $(subst \d,$$,$(RPATH)) $(LDFLAGS) \
203 $(patsubst lib%.so,-l%,$(foreach lib,$(LINKED_LIBS),$(call gb_Library_get_filename,$(lib)))) \
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

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

196
197define gb_LinkTarget__command_dynamiclink
198$(call gb_Helper_abbreviate_dirs,\
199 mkdir -p $(dir $(1)) && \
200 $(gb_CXX) \
201 $(if $(filter Library CppunitTest,$(TARGETTYPE)),$(gb_Library_TARGETTYPEFLAGS)) \
202 $(subst \d,$$,$(RPATH)) $(LDFLAGS) \
203 $(patsubst lib%.so,-l%,$(foreach lib,$(LINKED_LIBS),$(call gb_Library_get_filename,$(lib)))) \
204 $(patsubst %,-l%,$(EXTERNAL_LIBS)) \
204 $(foreach object,$(COBJECTS),$(call gb_CObject_get_target,$(object))) \
205 $(foreach object,$(CXXOBJECTS),$(call gb_CxxObject_get_target,$(object))) \
206 $(foreach object,$(GENCXXOBJECTS),$(call gb_GenCxxObject_get_target,$(object))) \
207 $(foreach lib,$(LINKED_STATIC_LIBS),$(call gb_StaticLibrary_get_target,$(lib))) \
208 -o $(1))
209endef
210
211define gb_LinkTarget__command_staticlink

--- 189 unchanged lines hidden ---
205 $(foreach object,$(COBJECTS),$(call gb_CObject_get_target,$(object))) \
206 $(foreach object,$(CXXOBJECTS),$(call gb_CxxObject_get_target,$(object))) \
207 $(foreach object,$(GENCXXOBJECTS),$(call gb_GenCxxObject_get_target,$(object))) \
208 $(foreach lib,$(LINKED_STATIC_LIBS),$(call gb_StaticLibrary_get_target,$(lib))) \
209 -o $(1))
210endef
211
212define gb_LinkTarget__command_staticlink

--- 189 unchanged lines hidden ---