-
Notifications
You must be signed in to change notification settings - Fork 1
/
makefile-config
78 lines (58 loc) · 1.48 KB
/
makefile-config
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#####################################################################
# This file defines where various build tools live and gets included
# in each of the makefiles.
#
#
# OS : is the Operative System (Windows, Linux, Unix, etc.)
# JDK_HOME : is the directory where the JDK is installed
#
#####################################################################
# Selects the proper OS
OS= Linux
#OS= Windows
# Selects the proper shell
# On MS-DOS systems, COMSPEC variable refers to the default shell (usually c:\windows\command.com)
#SHELL= COMSPEC
SHELL= sh
# Selects the proper make tool
MAKE= make
#MAKE= c:\programmi\bin\make
# Selects the proper jdk home
ifeq (${OS},Windows)
JDK_HOME= C:/Programmi/Java/jdk1.6.0_10
else
JDK_HOME= /user/local/jdk1.4.2
endif
# Sets the bin path
#JDK_BIN=$(JDK_HOME)/bin/
JDK_BIN=
# Selects the proper java tools
JAVA= $(JDK_BIN)java
JAVAC= $(JDK_BIN)javac
JAVADOC= $(JDK_BIN)javadoc
JAR= $(JDK_BIN)jar
JARSIGNER=$(JDK_BIN)jarsigner
# Tries to select the proper make-dir command
ifeq (${SHELL},$(COMSPEC))
MKDIR= mkdir
else
MKDIR= mkdir -p
endif
# Tries to select the proper remove command
ifeq (${SHELL},$(COMSPEC))
RM= del
else
RM= rm -f
endif
# Tries to select the proper copy command
ifeq (${SHELL},$(COMSPEC))
CP= copy
else
CP= cp
endif
# Tries to select the proper rename/move command
ifeq (${SHELL},$(COMSPEC))
MV= move
else
MV= mv
endif