RepositoryExternal.mk (de1049b5) RepositoryExternal.mk (4f44d7cd)
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

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

453$(call gb_LinkTarget_add_linked_libs,$(1),\
454 serf-1 \
455)
456endef
457
458endif # SYSTEM_SERF
459
460
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

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

453$(call gb_LinkTarget_add_linked_libs,$(1),\
454 serf-1 \
455)
456endef
457
458endif # SYSTEM_SERF
459
460
461ifeq ($(SYSTEM_CURL),YES)
462
463define gb_LinkTarget__use_curl
464$(call gb_LinkTarget_add_defs,$(1),\
465 -DSYSTEM_CURL \
466)
467$(call gb_LinkTarget_set_include,$(1),\
468 $$(INCLUDE) \
469 $(CURL_CFLAGS) \
470)
471$(call gb_LinkTarget_add_libs,$(1),$(CURL_LIBS))
472endef
473
474else # !SYSTEM_CURL
475
476$(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO, \
477 curl \
478))
479
480define gb_LinkTarget__use_curl
481$(call gb_LinkTarget_add_linked_libs,$(1),\
482 curl \
483)
484endef
485
486endif # SYSTEM_CURL
487
488
461# vim: set noet sw=4 ts=4:
489# vim: set noet sw=4 ts=4: