"Fossies" - the Fresh Open Source Software Archive 
Member "speech_tools/config/compilers/gcc_defaults.mak" (4 Sep 2017, 4715 Bytes) of package /linux/misc/speech_tools-2.5.0-release.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Make source code syntax highlighting (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
See also the last
Fossies "Diffs" side-by-side code changes report for "gcc_defaults.mak":
2.4-release_vs_2.5.0-release.
1 ###########################################################################
2 ## ##
3 ## Centre for Speech Technology Research ##
4 ## University of Edinburgh, UK ##
5 ## Copyright (c) 1996 ##
6 ## All Rights Reserved. ##
7 ## ##
8 ## Permission is hereby granted, free of charge, to use and distribute ##
9 ## this software and its documentation without restriction, including ##
10 ## without limitation the rights to use, copy, modify, merge, publish, ##
11 ## distribute, sublicense, and/or sell copies of this work, and to ##
12 ## permit persons to whom this work is furnished to do so, subject to ##
13 ## the following conditions: ##
14 ## 1. The code must retain the above copyright notice, this list of ##
15 ## conditions and the following disclaimer. ##
16 ## 2. Any modifications must be clearly marked as such. ##
17 ## 3. Original authors' names are not deleted. ##
18 ## 4. The authors' names are not used to endorse or promote products ##
19 ## derived from this software without specific prior written ##
20 ## permission. ##
21 ## ##
22 ## THE UNIVERSITY OF EDINBURGH AND THE CONTRIBUTORS TO THIS WORK ##
23 ## DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ##
24 ## ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT ##
25 ## SHALL THE UNIVERSITY OF EDINBURGH NOR THE CONTRIBUTORS BE LIABLE ##
26 ## FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES ##
27 ## WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN ##
28 ## AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ##
29 ## ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF ##
30 ## THIS SOFTWARE. ##
31 ## ##
32 ###########################################################################
33 ## ##
34 ## Author: Richard Caley (rjc@cstr.ed.ac.uk) ##
35 ## Date: Thu Oct 2 1997 ##
36 ## -------------------------------------------------------------------- ##
37 ## Settings for GCC. ##
38 ## ##
39 ###########################################################################
40
41 CC=gcc
42 CXX=gcc
43 ifeq ($(OSTYPE),Darwin)
44 CXX=g++
45 endif
46
47 COMPILER_DESC=FSF gcc
48 COMPILER_VERSION_COMMAND=$(CXX) -v 2>&1 | tail -1 | sed -e 's/^....//'
49
50 CFLAGS = $(GCC_SYSTEM_OPTIONS) $(CC_OTHER_FLAGS)
51 CXXFLAGS = $(GCC_SYSTEM_OPTIONS) -fno-implicit-templates $(CC_OTHER_FLAGS) $(OMP_OPTS) $(OMP_DEFS)
52
53 DEBUG_CCFLAGS = -g
54 DEBUG_CXXFLAGS = -g
55 DEBUG_LINKFLAGS = -g
56
57 WARN_CCFLAGS = -Wall
58 WARN_CXXFLAGS = -Wall
59 WARN_LINKFLAGS = -Wall
60
61 VERBOSE_CCFLAGS =
62 VERBOSE_CXXFLAGS =
63 VERBOSE_LINKFLAGS =
64
65 OPTIMISE_CCFLAGS = -O$(OPTIMISE)
66 OPTIMISE_CXXFLAGS = -O$(OPTIMISE)
67 OPTIMISE_LINKFLAGS = -O$(OPTIMISE)
68
69 PROFILE_DEFAULT = gprof
70
71 PROFILE_prof_CCFLAGS = -p
72 PROFILE_prof_CXXFLAGS = -p
73 PROFILE_prof_LINKFLAGS = -p
74
75 PROFILE_gprof_CCFLAGS = -pg
76 PROFILE_gprof_CXXFLAGS = -pg
77 PROFILE_gprof_LINKFLAGS = -pg
78
79 SHARED_CCFLAGS = -fPIC
80 SHARED_CXXFLAGS = -fPIC
81 SHARED_LINKFLAGS =
82
83 ifndef GCC_MAKE_SHARED_LIB
84 # Older versions of gcc might have required -fno-shared-data
85 # MAKE_SHARED_LIB = $(CXX) -shared -fno-shared-data -o XXX
86 MAKE_SHARED_LIB = $(CXX) -shared -o XXX
87 else
88 MAKE_SHARED_LIB = $(GCC_MAKE_SHARED_LIB)
89 endif
90
91 #-shared -R$(MAIN_LIBRARY_DIR)
92
93 STATIC_CCFLAGS =
94 STATIC_CXXFLAGS =
95 STATIC_LINKFLAGS = -static
96
97 TEMPLATE_SPECIFIC = -DINSTANTIATE_TEMPLATES
98 TEMPLATE_ARGS =
99
100 ## The -lgcc here is redundant - gcc does this anyway - but it
101 ## helps java know what needs to be loaded.
102
103 COMPILERLIBS= $(COMPILER_LIBS_DIR:%=-L%) -lstdc++ $(OMP_OPTS)
104
105 ## special ways of doing things, blank means default
106
107 MAKE_DEPEND_C = $(CC) -MM $(INCLUDES) $(TEMPLATES) $(TEMPLATE_SPECIFIC)
108 MAKE_DEPEND_CXX = $(CC) -MM $(INCLUDES) $(TEMPLATES) $(TEMPLATE_SPECIFIC)
109 BUILD_LIB = $(AR) cruv
110 INDEX_LIB = $(RANLIB)
111
112
113