X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Makefile;h=2a6a5dfa1bb776771006d377dc2b6a84e24772a6;hb=30a9ea29e92d4d079cd71b0ee8cdf2b2fd70c48f;hp=e0a2a23c3d08d75924333600e882c85eb6fa96c0;hpb=fa9b47fdfcfd055b2027f5aa49bfb68209a00e1b;p=org.ibex.core.git diff --git a/Makefile b/Makefile index e0a2a23..2a6a5df 100644 --- a/Makefile +++ b/Makefile @@ -30,11 +30,11 @@ gcc_path := $(shell pwd)/gcc/install gcc_optimizations := -O2 debug := gcc_flags := $(gcc_optimizations) $(debug) -Isrc/org/ijg -gcj_flags := -fCLASSPATH=bin +gcj_flags := -fCLASSPATH=src gcj := $(gcc_path)/bin/$(target)-gcj $(gcj_flags) $(gcc_flags) g++ := $(gcc_path)/bin/$(target)-g++ $(gcc_flags) gcc := $(gcc_path)/bin/$(target)-gcc $(gcc_flags) -gcjh := $(gcc_path)/bin/gcjh +gcjh := $(gcc_path)/bin/$(target)-gcjh as := $(gcc_path)/$(target)/bin/as ar := $(gcc_path)/$(target)/bin/ar @@ -161,10 +161,6 @@ $(java_headers): bin/%.h: bin/%.class sed s_/_._g | sed s/.class$$// | sed s/.java$$// |\ xargs $(gcjh) --classpath . -# special rule to stop GCJ from choking -bin-$(platform)/org/xwt/SpecialBoxProperty.java.o: src/org/xwt/SpecialBoxProperty - $(gcj) -c bin/org/xwt/SpecialBoxProperty*.class -o bin-$(platform)/org/xwt/SpecialBoxProperty.java.o - $(java_objects): bin-$(platform)/%.java.o: src/%.java @echo "compiling .java -> .o: $<" mkdir -p `dirname $@` @@ -229,7 +225,8 @@ Win32: platform=Win32 \ target=i686-pc-mingw32 \ target_bin=xwt.exe \ - platform_link="-Wl,--subsystem,windows -lcomdlg32" + platform_link="-Wl,--subsystem,windows -lcomdlg32" \ + platform_java_sources="Win32" Darwin: upstream echo -e "\\n=== Darwin ========================================="