solaris.mk (9b09309d) | solaris.mk (9168f84a) |
---|---|
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 --- 193 unchanged lines hidden (view full) --- 202 203define gb_LinkTarget__command_dynamiclink 204$(call gb_Helper_abbreviate_dirs,\ 205 mkdir -p $(dir $(1)) && \ 206 $(gb_CXX) \ 207 $(if $(filter Library,$(TARGETTYPE)),$(gb_Library_TARGETTYPEFLAGS)) \ 208 $(subst \d,$$,$(RPATH)) \ 209 $(T_LDFLAGS) \ | 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 --- 193 unchanged lines hidden (view full) --- 202 203define gb_LinkTarget__command_dynamiclink 204$(call gb_Helper_abbreviate_dirs,\ 205 mkdir -p $(dir $(1)) && \ 206 $(gb_CXX) \ 207 $(if $(filter Library,$(TARGETTYPE)),$(gb_Library_TARGETTYPEFLAGS)) \ 208 $(subst \d,$$,$(RPATH)) \ 209 $(T_LDFLAGS) \ |
210 $(foreach lib,$(LINKED_STATIC_LIBS),$(call gb_StaticLibrary_get_target,$(lib))) \ 211 $(patsubst lib%.so,-l%,$(foreach lib,$(LINKED_LIBS),$(call gb_Library_get_filename,$(lib)))) \ 212 $(patsubst %,-l%,$(EXTERNAL_LIBS)) \ | |
213 $(foreach object,$(COBJECTS),$(call gb_CObject_get_target,$(object))) \ 214 $(foreach object,$(CXXOBJECTS),$(call gb_CxxObject_get_target,$(object))) \ 215 $(foreach object,$(GENCXXOBJECTS),$(call gb_GenCxxObject_get_target,$(object))) \ | 210 $(foreach object,$(COBJECTS),$(call gb_CObject_get_target,$(object))) \ 211 $(foreach object,$(CXXOBJECTS),$(call gb_CxxObject_get_target,$(object))) \ 212 $(foreach object,$(GENCXXOBJECTS),$(call gb_GenCxxObject_get_target,$(object))) \ |
213 $(foreach lib,$(LINKED_STATIC_LIBS),$(call gb_StaticLibrary_get_target,$(lib))) \ 214 $(patsubst lib%.so,-l%,$(foreach lib,$(LINKED_LIBS),$(call gb_Library_get_filename,$(lib)))) \ 215 $(patsubst %,-l%,$(EXTERNAL_LIBS)) \ |
|
216 $(LIBS) \ 217 -o $(1)) 218endef 219 220define gb_LinkTarget__command_staticlink 221$(call gb_Helper_abbreviate_dirs,\ 222 mkdir -p $(dir $(1)) && \ 223 $(gb_AR) -rsu $(1) \ --- 194 unchanged lines hidden --- | 216 $(LIBS) \ 217 -o $(1)) 218endef 219 220define gb_LinkTarget__command_staticlink 221$(call gb_Helper_abbreviate_dirs,\ 222 mkdir -p $(dir $(1)) && \ 223 $(gb_AR) -rsu $(1) \ --- 194 unchanged lines hidden --- |