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

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

481$(call gb_LinkTarget_add_linked_libs,$(1),\
482 curl \
483)
484endef
485
486endif # SYSTEM_CURL
487
488
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

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

481$(call gb_LinkTarget_add_linked_libs,$(1),\
482 curl \
483)
484endef
485
486endif # SYSTEM_CURL
487
488
489ifeq ($(SYSTEM_COINMP),YES)
490
491define gb_LinkTarget__use_coinmp
492$(call gb_LinkTarget_add_defs,$(1),\
493 -DSYSTEM_COINMP \
494)
495$(call gb_LinkTarget_set_include,$(1),\
496 $$(INCLUDE) \
497 $(COINMP_CFLAGS) \
498)
499$(call gb_LinkTarget_add_libs,$(1),$(COINMP_LIBS))
500endef
501
502else # !SYSTEM_COINMP
503
504$(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO, \
505 CoinMP \
506 CoinUtils \
507 Clp \
508 Cbc \
509 Osi \
510 OsiClp \
511 Cgl \
512 CbcSolver \
513))
514
515define gb_LinkTarget__use_coinmp
516$(call gb_LinkTarget_set_include,$(1),\
517 $$(INCLUDE) \
518 -I$(OUTDIR)/inc/coinmp \
519)
520$(call gb_LinkTarget_add_linked_libs,$(1),\
521 CoinMP \
522 CoinUtils \
523 Clp \
524 Cbc \
525 Osi \
526 OsiClp \
527 Cgl \
528 CbcSolver \
529)
530endef
531
532endif # SYSTEM_COINMP
533
489# vim: set noet sw=4 ts=4:
534# vim: set noet sw=4 ts=4: