-SUBDIRS = include host external source patch contrib
+SUBDIRS = include host external source patch loader bits
+
ACLOCAL_AMFLAGS = -I m4
-source: include host external patch contrib
+source: include host external patch
external: include host
+loader: external
+
install:
@echo "Please don't call the install target directly, it doesn't work."
@exit 1
-all-local:
+all-local: external loader source bits
mkdir -p out
mkdir -p out@prefix@
mkdir -p out@libdir@/module
cp external/bits/*.bin out@libexecdir@/
cp host/termfont.bin out@datarootdir@/
cp patch/*.vco out@sbindir@
- cp contrib/*.vco out@bindir@
+ cp external/contrib_patch/*.vco out@bindir@
cat host/generate_localeemu.sh.in | sed "s|\@localedir\@|@localedir@|g" > out/generate_localeemu.sh
chmod +x out/generate_localeemu.sh
cat host/o3ds_firm.sh.in | sed "s|\@libdir\@|@libdir@|g" > out/o3ds_firm.sh
test "$enable_chainloader" = "no" && CHAINLOADER=0
AC_DEFINE_UNQUOTED([CHAINLOADER], [$CHAINLOADER])
-AC_CONFIG_FILES([Makefile source/Makefile external/Makefile include/Makefile])
+AC_CONFIG_FILES([Makefile boot/Makefile external/Makefile include/Makefile])
AC_CONFIG_SUBDIRS([external/libctr9])
+++ /dev/null
-.PHONY: all
-all: build
-
-.PHONY: build
-build: clean $(patsubst %.pco, %.vco, $(wildcard *.pco))
-
-.PHONY: install
-install:
-
-%.vco: %.pco
- ../host/bytecode_asm.py $< $@
-
-clean:
- rm -f *.vco
+++ /dev/null
-# $name Test Suite (DO NOT ENABLE)
-# $desc THIS IS FOR INTERNAL USE ONLY BY UNIT TESTS. DO NOT ENABLE IT.
-# $title 0000000000000000
-# $ver 00
-# $uuid FF
-
-find "test"
-abortnf
-set "best"
-