Ant.mk (41f03cd9) Ant.mk (f9bad0d2)
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

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

45
46FORCE:
47
48
49# registers target and clean target
50# adds jar files to DeliverLogTarget
51# adds dependency for outdir target to workdir target (pattern rule for delivery is in Package.mk)
52define gb_Ant_Ant
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

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

45
46FORCE:
47
48
49# registers target and clean target
50# adds jar files to DeliverLogTarget
51# adds dependency for outdir target to workdir target (pattern rule for delivery is in Package.mk)
52define gb_Ant_Ant
53ifeq ($(OS),WNT)
54$(call gb_Ant_get_target,$(1)) : ANTBUILDFILE := `cygpath -m $(2)`
55$(call gb_Ant_get_clean_target,$(1)) : ANTBUILDFILE := `cygpath -m $(2)`
56else
53$(call gb_Ant_get_target,$(1)) : ANTBUILDFILE := $(2)
54$(call gb_Ant_get_clean_target,$(1)) : ANTBUILDFILE := $(2)
57$(call gb_Ant_get_target,$(1)) : ANTBUILDFILE := $(2)
58$(call gb_Ant_get_clean_target,$(1)) : ANTBUILDFILE := $(2)
59endif
55$(eval $(call gb_Module_register_target,$(call gb_Jar_get_outdir_target,$(1)),$(call gb_Ant_get_clean_target,$(1))))
56$(call gb_Deliver_add_deliverable,$(call gb_Jar_get_outdir_target,$(1)),$(call gb_Ant_get_target,$(1)),$(1))
57$(call gb_Jar_get_outdir_target,$(1)) : $(call gb_Ant_get_target,$(1))
58
59endef
60
61
62# possible directories for jar files containing UNO services

--- 20 unchanged lines hidden ---
60$(eval $(call gb_Module_register_target,$(call gb_Jar_get_outdir_target,$(1)),$(call gb_Ant_get_clean_target,$(1))))
61$(call gb_Deliver_add_deliverable,$(call gb_Jar_get_outdir_target,$(1)),$(call gb_Ant_get_target,$(1)),$(1))
62$(call gb_Jar_get_outdir_target,$(1)) : $(call gb_Ant_get_target,$(1))
63
64endef
65
66
67# possible directories for jar files containing UNO services

--- 20 unchanged lines hidden ---