RepositoryExternal.mk (7f6ffbef) RepositoryExternal.mk (1c25f252)
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

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

697$(call gb_LinkTarget_add_linked_static_libs,$(1),hunspell)
698else
699$(call gb_LinkTarget_add_linked_static_libs,$(1),hunspell-1.3)
700endif
701endef
702
703endif # SYSTEM_HUNSPELL
704
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

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

697$(call gb_LinkTarget_add_linked_static_libs,$(1),hunspell)
698else
699$(call gb_LinkTarget_add_linked_static_libs,$(1),hunspell-1.3)
700endif
701endef
702
703endif # SYSTEM_HUNSPELL
704
705
706
707ifeq ($(SYSTEM_PYTHON),YES)
708
709define gb_LinkTarget__use_python
710$(call gb_LinkTarget_set_include,$(1),\
711 $$(INCLUDE) \
712 $(filter -I%,$(PYTHON_CFLAGS)) \
713)
714$(call gb_LinkTarget_add_defs,$(1),\
715 $(filter-out -I%,$(PYTHON_CFLAGS)) \
716)
717$(call gb_LinkTarget_add_libs,$(1),\
718 $(PYTHON_LIBS) \
719)
720endef
721
722else # !SYSTEM_PYTHON
723
724include $(SRCDIR)/python/pyversion.mk
725
726define gb_LinkTarget__use_python
727$(call gb_LinkTarget_set_include,$(1),\
728 $$(INCLUDE) \
729 -I$(OUTDIR)/inc/python \
730)
731$(call gb_LinkTarget_add_libs,$(1),$(PYTHONLIB))
732endef
733
734endif # SYSTEM_PYTHON
735
705# vim: set noet sw=4 ts=4:
736# vim: set noet sw=4 ts=4: