make/linux/makefiles/adlc.make

changeset 3989
282abd0fd878
parent 3518
719f7007c8e8
child 4095
45535ab90688
equal deleted inserted replaced
3988:8e69438de9c6 3989:282abd0fd878
1 # 1 #
2 # Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved. 2 # Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved.
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 # 4 #
5 # This code is free software; you can redistribute it and/or modify it 5 # This code is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License version 2 only, as 6 # under the terms of the GNU General Public License version 2 only, as
7 # published by the Free Software Foundation. 7 # published by the Free Software Foundation.
131 131
132 # Get a unique temporary directory name, so multiple makes can run in parallel. 132 # Get a unique temporary directory name, so multiple makes can run in parallel.
133 # Note that product files are updated via "mv", which is atomic. 133 # Note that product files are updated via "mv", which is atomic.
134 TEMPDIR := $(OUTDIR)/mktmp$(shell echo $$$$) 134 TEMPDIR := $(OUTDIR)/mktmp$(shell echo $$$$)
135 135
136 # Debuggable by default 136 ifneq ($(DEBUG_BINARIES), true)
137 CFLAGS += -g 137 # Debuggable by default (unless already done by DEBUG_BINARIES)
138 CFLAGS += -g
139 endif
138 140
139 # Pass -D flags into ADLC. 141 # Pass -D flags into ADLC.
140 ADLCFLAGS += $(SYSDEFS) 142 ADLCFLAGS += $(SYSDEFS)
141 143
142 # Note "+="; it is a hook so flags.make can add more flags, like -g or -DFOO. 144 # Note "+="; it is a hook so flags.make can add more flags, like -g or -DFOO.

mercurial