CustomTarget.mk (b63233d8) | CustomTarget.mk (05b23b56) |
---|---|
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 --- 42 unchanged lines hidden (view full) --- 51$(if $(filter $(2),$(gb_CustomTarget_REPOSITORYNAMES)),,\ 52 $(error CustomTarget: no or invalid repository given; known repositories: \ 53 $(gb_JavaClassSet_REPOSITORYNAMES))) 54gb_CustomTarget_REPO_$(1) := $(2) 55$(call gb_CustomTarget_get_target,$(1)) : \ 56 $(call gb_CustomTarget__get_makefile,$($(2)),$(1)) 57$(call gb_CustomTarget_get_workdir,$(1))/% : \ 58 $(call gb_CustomTarget_get_target,$(1)) | 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 --- 42 unchanged lines hidden (view full) --- 51$(if $(filter $(2),$(gb_CustomTarget_REPOSITORYNAMES)),,\ 52 $(error CustomTarget: no or invalid repository given; known repositories: \ 53 $(gb_JavaClassSet_REPOSITORYNAMES))) 54gb_CustomTarget_REPO_$(1) := $(2) 55$(call gb_CustomTarget_get_target,$(1)) : \ 56 $(call gb_CustomTarget__get_makefile,$($(2)),$(1)) 57$(call gb_CustomTarget_get_workdir,$(1))/% : \ 58 $(call gb_CustomTarget_get_target,$(1)) |
59$(eval $(call gb_Module_register_target,$(call gb_CustomTarget_get_target,$(1)),$(call gb_CustomTarget_get_clean_target,$(1)))) |
|
59endef 60 61 62define gb_CustomTarget_add_dependency 63$(eval $(call gb_CustomTarget_get_target,$(1)) : \ 64 $($(gb_CustomTarget_REPO_$(1)))/$(2)) 65endef 66 --- 14 unchanged lines hidden --- | 60endef 61 62 63define gb_CustomTarget_add_dependency 64$(eval $(call gb_CustomTarget_get_target,$(1)) : \ 65 $($(gb_CustomTarget_REPO_$(1)))/$(2)) 66endef 67 --- 14 unchanged lines hidden --- |