Mercurial > hg > graal-compiler
annotate src/share/tools/hsdis/Makefile @ 11839:0e2cceed1caf
Temporarily move encodeDeoptActionAndReason to MetaAccessProvider
Add AbstractDeoptimizeNode.getActionAndReason
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Mon, 30 Sep 2013 16:09:40 +0200 |
parents | f36e073d56a4 |
children | c9f0adfb4a8b |
rev | line source |
---|---|
100
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
1 # |
9152 | 2 # Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved. |
100
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
4 # |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
5 # This code is free software; you can redistribute it and/or modify it |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
6 # under the terms of the GNU General Public License version 2 only, as |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
7 # published by the Free Software Foundation. |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
8 # |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
9 # This code is distributed in the hope that it will be useful, but WITHOUT |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
11 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
12 # version 2 for more details (a copy is included in the LICENSE file that |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
13 # accompanied this code). |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
14 # |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
15 # You should have received a copy of the GNU General Public License version |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
16 # 2 along with this work; if not, write to the Free Software Foundation, |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
18 # |
1552
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
844
diff
changeset
|
19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
844
diff
changeset
|
20 # or visit www.oracle.com if you need additional information or have any |
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
844
diff
changeset
|
21 # questions. |
9152 | 22 # |
100
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
23 # |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
24 |
720
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
25 # Single gnu makefile for solaris, linux and windows (windows requires cygwin and mingw) |
100
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
26 |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
27 # Default arch; it is changed below as needed. |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
28 ARCH = i386 |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
29 OS = $(shell uname) |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
30 |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
31 ## OS = SunOS ## |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
32 ifeq ($(OS),SunOS) |
720
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
33 CPU = $(shell uname -p) |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
34 ARCH1=$(CPU:i586=i386) |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
35 ARCH=$(ARCH1:i686=i386) |
100
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
36 OS = solaris |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
37 CC = cc |
720
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
38 CFLAGS += -KPIC |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
39 ifdef LP64 |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
40 ifeq ($(ARCH),sparc) |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
41 ARCH = sparcv9 |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
42 endif |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
43 ifeq ($(ARCH),i386) |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
44 ARCH = amd64 |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
45 endif |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
46 endif |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
47 CFLAGS/sparcv9 += -xarch=v9 |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
48 CFLAGS/amd64 += -m64 |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
49 CFLAGS += $(CFLAGS/$(ARCH)) |
100
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
50 DLDFLAGS += -G |
720
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
51 LDFLAGS += -ldl |
100
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
52 OUTFLAGS += -o $@ |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
53 LIB_EXT = .so |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
54 else |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
55 ## OS = Linux ## |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
56 ifeq ($(OS),Linux) |
720
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
57 ifneq ($(MINGW),) |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
58 LIB_EXT = .dll |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
59 CPPFLAGS += -I$(TARGET_DIR)/include |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
60 LDFLAGS += -L$(TARGET_DIR)/lib |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
61 OS=windows |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
62 ifneq ($(findstring x86_64-,$(MINGW)),) |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
63 ARCH=amd64 |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
64 else |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
65 ARCH=i386 |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
66 endif |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
67 CC = $(MINGW)-gcc |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
68 CONFIGURE_ARGS= --host=$(MINGW) --target=$(MINGW) |
9152 | 69 else #linux |
720
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
70 CPU = $(shell uname -m) |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
71 ARCH1=$(CPU:x86_64=amd64) |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
72 ARCH=$(ARCH1:i686=i386) |
6782 | 73 ifdef LP64 |
74 CFLAGS/sparcv9 += -m64 | |
75 CFLAGS/amd64 += -m64 | |
76 else | |
77 ARCH=$(ARCH1:amd64=i386) | |
720
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
78 CFLAGS/i386 += -m32 |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
79 CFLAGS/sparc += -m32 |
6782 | 80 endif |
720
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
81 CFLAGS += $(CFLAGS/$(ARCH)) |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
82 CFLAGS += -fPIC |
100
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
83 OS = linux |
720
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
84 LIB_EXT = .so |
100
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
85 CC = gcc |
720
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
86 endif |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
87 CFLAGS += -O |
100
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
88 DLDFLAGS += -shared |
720
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
89 LDFLAGS += -ldl |
100
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
90 OUTFLAGS += -o $@ |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
91 ## OS = Windows ## |
6782 | 92 else # !SunOS, !Linux => Darwin or Windows |
93 ifeq ($(OS),Darwin) | |
94 CPU = $(shell uname -m) | |
95 ARCH1=$(CPU:x86_64=amd64) | |
96 ARCH=$(ARCH1:i686=i386) | |
97 ifdef LP64 | |
98 CFLAGS/sparcv9 += -m64 | |
99 CFLAGS/amd64 += -m64 | |
100 else | |
101 ARCH=$(ARCH1:amd64=i386) | |
102 CFLAGS/i386 += -m32 | |
103 CFLAGS/sparc += -m32 | |
104 endif # LP64 | |
105 CFLAGS += $(CFLAGS/$(ARCH)) | |
106 CFLAGS += -fPIC | |
107 OS = macosx | |
108 LIB_EXT = .dylib | |
109 CC = gcc | |
110 CFLAGS += -O | |
111 # CFLAGS += -DZ_PREFIX | |
112 DLDFLAGS += -shared | |
113 DLDFLAGS += -lz | |
114 LDFLAGS += -ldl | |
115 OUTFLAGS += -o $@ | |
116 else #Windows | |
720
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
117 OS = windows |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
118 CC = gcc |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
119 CFLAGS += /nologo /MD /W3 /WX /O2 /Fo$(@:.dll=.obj) /Gi- |
6782 | 120 CFLAGS += LIBARCH=\"$(LIBARCH)\" |
100
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
121 DLDFLAGS += /dll /subsystem:windows /incremental:no \ |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
122 /export:decode_instruction |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
123 OUTFLAGS += /link /out:$@ |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
124 LIB_EXT = .dll |
6782 | 125 endif # Darwin |
100
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
126 endif # Linux |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
127 endif # SunOS |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
128 |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
129 LIBARCH = $(ARCH) |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
130 ifdef LP64 |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
131 LIBARCH64/sparc = sparcv9 |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
132 LIBARCH64/i386 = amd64 |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
133 LIBARCH64 = $(LIBARCH64/$(ARCH)) |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
134 ifneq ($(LIBARCH64),) |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
135 LIBARCH = $(LIBARCH64) |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
136 endif # LIBARCH64/$(ARCH) |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
137 endif # LP64 |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
138 |
720
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
139 JDKARCH=$(LIBARCH:i386=i586) |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
140 |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
141 ifeq ($(BINUTILS),) |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
142 # Pop all the way out of the workspace to look for binutils. |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
143 # ...You probably want to override this setting. |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
144 BINUTILSDIR = $(shell cd build/binutils;pwd) |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
145 else |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
146 BINUTILSDIR = $(shell cd $(BINUTILS);pwd) |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
147 endif |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
148 |
6782 | 149 CPPFLAGS += -I$(BINUTILSDIR)/include -I$(BINUTILSDIR)/bfd -I$(TARGET_DIR)/bfd |
720
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
150 CPPFLAGS += -DLIBARCH_$(LIBARCH) -DLIBARCH=\"$(LIBARCH)\" -DLIB_EXT=\"$(LIB_EXT)\" |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
151 |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
152 TARGET_DIR = build/$(OS)-$(JDKARCH) |
100
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
153 TARGET = $(TARGET_DIR)/hsdis-$(LIBARCH)$(LIB_EXT) |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
154 |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
155 SOURCE = hsdis.c |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
156 |
720
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
157 LIBRARIES = $(TARGET_DIR)/bfd/libbfd.a \ |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
158 $(TARGET_DIR)/opcodes/libopcodes.a \ |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
159 $(TARGET_DIR)/libiberty/libiberty.a |
100
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
160 |
720
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
161 DEMO_TARGET = $(TARGET_DIR)/hsdis-demo |
100
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
162 DEMO_SOURCE = hsdis-demo.c |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
163 |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
164 .PHONY: all clean demo both |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
165 |
720
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
166 all: $(TARGET) |
100
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
167 |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
168 both: all all64 |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
169 |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
170 %64: |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
171 $(MAKE) LP64=1 ${@:%64=%} |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
172 |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
173 demo: $(TARGET) $(DEMO_TARGET) |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
174 |
720
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
175 $(LIBRARIES): $(TARGET_DIR) $(TARGET_DIR)/Makefile |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
176 if [ ! -f $@ ]; then cd $(TARGET_DIR); make all-opcodes; fi |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
177 |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
178 $(TARGET_DIR)/Makefile: |
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
179 (cd $(TARGET_DIR); CC=$(CC) CFLAGS="$(CFLAGS)" $(BINUTILSDIR)/configure --disable-nls $(CONFIGURE_ARGS)) |
100
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
180 |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
181 $(TARGET): $(SOURCE) $(LIBS) $(LIBRARIES) $(TARGET_DIR) |
720
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
182 $(CC) $(OUTFLAGS) $(CPPFLAGS) $(CFLAGS) $(SOURCE) $(DLDFLAGS) $(LIBRARIES) |
100
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
183 |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
184 $(DEMO_TARGET): $(DEMO_SOURCE) $(TARGET) $(TARGET_DIR) |
720
67a2f5ba5582
6684007: PrintAssembly plugin not available for linux or windows
never
parents:
100
diff
changeset
|
185 $(CC) $(OUTFLAGS) -DTARGET_DIR=\"$(TARGET_DIR)\" $(CPPFLAGS) -g $(CFLAGS/$(ARCH)) $(DEMO_SOURCE) $(LDFLAGS) |
100
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
186 |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
187 $(TARGET_DIR): |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
188 [ -d $@ ] || mkdir -p $@ |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
189 |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
190 clean: |
c7c777385a15
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
diff
changeset
|
191 rm -rf $(TARGET_DIR) |