source: CMT/HEAD/mgr/Unix.make @ 559

Last change on this file since 559 was 559, checked in by rybkin, 14 years ago

See C.L. 442

File size: 2.2 KB
Line 
1cppcomp   = $(CXX) -c -I$(inc) $(CXXFLAGS) $(CPPFLAGS) $(TARGET_ARCH)
2CXX = $(cpp)
3CXXFLAGS = $(cppflags)
4CPPFLAGS = $(pp_cppflags)
5
6cpplink = $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH)
7LDFLAGS = $(cpplinkflags)
8
9ifeq ($(STATIC),1)
10    cpplinkflags   += -static
11endif
12
13ifeq ($(M32),1)
14    TARGET_ARCH = -m32
15endif
16ifeq ($(M64),1)
17    TARGET_ARCH = -m64
18endif
19
20# in Makefile.core without -O2
21cpp = g++ -O2
22
23ifeq ($(CMTBIN),LinuxDebug)
24cpp = g++ -g
25endif
26
27ifeq ($(CMTBIN),Linux-i686Debug)
28cpp = g++ -g
29endif
30
31ifeq ($(CMTBIN),LinuxProf)
32cpp = g++ -g -pg
33endif
34
35ifeq ($(CMTBIN),Linux-i686Prof)
36cpp = g++ -g -pg
37endif
38
39
40ifeq ($(CMTBIN),LinuxInsure)
41cpp = insure -g
42endif
43
44ifeq ($(CMTBIN),OSF1DEB)
45cpp           = cxx -g3 -pg
46endif
47
48ifeq ($(CMTBIN),OSF1-alpha)
49cpp           = cxx
50endif
51
52ifeq ($(CMTBIN),SunOS-sun4u)
53cpp       = CC
54endif
55
56ifeq ($(CMTBIN),HP-UX)
57cpp       = aCC
58endif
59
60ifeq ($(CMTBIN),Darwin)
61cpp       = c++ -O2
62endif
63
64#ifeq ($(CMTBIN),OSF1)
65#remote_launch = rsh
66#else
67remote_launch = ssh
68#endif
69
70ifeq ($(CMTBIN),CYGWIN_NT-5.1-i686)
71cpp = g++ -O2 -Wno-deprecated
72cpp = g++ -g -Wno-deprecated
73endif
74
75ifeq ($(CMTBIN),LynxOS-PowerPC)
76cpp = g++
77endif
78
79ifeq ($(CMTBIN),AIX-002065204C00)
80cpp = g++ -O2 -Wno-deprecated
81endif
82
83
84src       = ../src/
85inc       = ../src/
86mgr       = ../mgr/
87# in Makefile.core
88# bin       = ../$(tag)/
89bin       = ../$(CMTBIN)/
90binshort  = ../$(CMTBIN)
91
92#cpp_silent =
93#cpp_echo = @--->
94#link_silent =
95#link_echo = @--->
96
97#SHELL     = /bin/sh
98
99#tag       =
100
101# CMT requirements
102application_suffix = .exe
103#cmtexe    = $(CMTROOT)/$(CMTBIN)/cmt.exe
104build_dependencies = $(cmtexe) -tag=$(tags) build dependencies
105
106ifndef CMTDEPENDENCIES
107ifneq (,$(findstring g++,$(cpp)))
108cppdepflags = -MM
109format_dependencies = $(CMTROOT)/mgr/cmt_format_deps.sh
110build_dependencies = :
111else ifneq (,$(findstring Darwin,$(CMTBIN)))
112cppdepflags = -MM
113format_dependencies = $(CMTROOT)/mgr/cmt_format_deps.sh
114build_dependencies = :
115endif
116endif
117
118ifndef SILENT
119ifndef ECHO
120ifndef QUIET
121ifndef VERBOSE
122# default settings to build CMT
123#   o do not print CMT messages
124#   o echo Make commands
125cmtmsg =
126makecmd = 1
127echo = @:
128silent =
129MAKEFLAGS = --no-print-directory
130endif
131endif
132endif
133endif
134
135CFLAGS = 
136PACKAGE_ROOT = $(CMTROOT)
137CMTINSTALLAREA = 
Note: See TracBrowser for help on using the repository browser.