forked from zeroc-ice/ice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
49 lines (37 loc) · 1008 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# **********************************************************************
#
# Copyright (c) 2003-2018 ZeroC, Inc. All rights reserved.
#
# This copy of Ice is licensed to you under the terms described in the
# ICE_LICENSE file included in this distribution.
#
# **********************************************************************
ifeq ($(GRADLE),)
GRADLE = ./gradlew
endif
ifneq ($(prefix),)
GRADLEARGS += -Pprefix=$(prefix)
endif
ifneq ($(DESTDIR),)
GRADLEARGS += -PDESTDIR=$(DESTDIR)
endif
ifneq ($(install_javadir),)
GRADLEARGS += -Dorg.gradle.project.jarDir=$(install_javadir)
endif
ifneq ($(install_bindir),)
GRADLEARGS += -Dorg.gradle.project.binDir=$(install_bindir)
endif
all:
$(GRADLE) $(GRADLEARGS) build
tests:
$(GRADLE) $(GRADLEARGS) :test:assemble
srcs:
$(GRADLE) $(GRADLEARGS) dist
distclean clean:
$(GRADLE) $(GRADLEARGS) clean
install::
$(GRADLE) $(GRADLEARGS) install
install-icegridgui::
$(GRADLE) $(GRADLEARGS) :IceGridGUI:install
test::
@python ./allTests.py