aboutsummaryrefslogtreecommitdiff
path: root/libiberty/configure.bat
diff options
context:
space:
mode:
Diffstat (limited to 'libiberty/configure.bat')
-rw-r--r--libiberty/configure.bat15
1 files changed, 15 insertions, 0 deletions
diff --git a/libiberty/configure.bat b/libiberty/configure.bat
new file mode 100644
index 0000000..ed33777
--- /dev/null
+++ b/libiberty/configure.bat
@@ -0,0 +1,15 @@
+@echo off
+if "%1" == "h8/300" goto h8300
+
+echo Configuring libiberty for go32
+copy Makefile.dos Makefile
+echo #define NEED_sys_siglist 1 >> config.h
+echo #define NEED_psignal 1 >> config.h
+update alloca-normal.h alloca-conf.h
+goto exit
+
+:h8300
+echo Configuring libiberty for H8/300
+copy Makefile.dos Makefile
+
+:exit