@echo -e "\n\033[1mwrapping .xwar -> .o: builtin.res.o\033[0m"
@(echo "unsigned int builtin_xwar_length = "; \
@echo -e "\n\033[1mwrapping .xwar -> .o: builtin.res.o\033[0m"
@(echo "unsigned int builtin_xwar_length = "; \
@echo -e "\n\033[1mwrapping .mips -> .o: freetype.res.o\033[0m"
@(echo "unsigned int freetype_mips_length = "; \
@echo -e "\n\033[1mwrapping .mips -> .o: freetype.res.o\033[0m"
@(echo "unsigned int freetype_mips_length = "; \
echo \;; \
echo "unsigned char freetype_mips[] = {"; \
hexdump -ve '"0x" 1/1 "%x,\n"' build/mips/freetype.mips; \
echo \;; \
echo "unsigned char freetype_mips[] = {"; \
hexdump -ve '"0x" 1/1 "%x,\n"' build/mips/freetype.mips; \
# having the individual .o's depend on the .java's (otherwise every .o gets recompiled when one .java changes)
gcj: .compile .vendor .install_gcc-3.3_$(target) $(target_bin)
# having the individual .o's depend on the .java's (otherwise every .o gets recompiled when one .java changes)
gcj: .compile .vendor .install_gcc-3.3_$(target) $(target_bin)
@echo -e "\n\033[1marchiving .class -> .jar: build/JVM/xwt.jar\033[0m"
mkdir -p build/JVM
echo -e "Manifest-Version: 1.0\nMain-Class: org.xwt.Main\n" > build/JVM/.manifest
@echo -e "\n\033[1marchiving .class -> .jar: build/JVM/xwt.jar\033[0m"
mkdir -p build/JVM
echo -e "Manifest-Version: 1.0\nMain-Class: org.xwt.Main\n" > build/JVM/.manifest
- cd build/class/org/xwt/; ln -s ../../../xwar/org/xwt/builtin.xwar # HACK
- cd build/class/org/xwt/; ln -s ../../../mips/freetype.mips # HACK
+ cd build/class/org/xwt/; ln -fs ../../../xwar/builtin.xwar # HACK
+ cd build/class/org/xwt/; ln -fs ../../../mips/freetype.mips # HACK
cd build/class; $(jar) cfm ../JVM/xwt.jar ../JVM/.manifest `find .`;
rm build/class/org/xwt/builtin.xwar
rm build/class/org/xwt/freetype.mips
cd build/class; $(jar) cfm ../JVM/xwt.jar ../JVM/.manifest `find .`;
rm build/class/org/xwt/builtin.xwar
rm build/class/org/xwt/freetype.mips