Permalink
Browse files

Add helper batch files for Windows.

  • Loading branch information...
1 parent 6ee303a commit a6fd15d10390c3821aff28cf7734944e81ae9b14 @ltratt committed Dec 18, 2007
View
@@ -37,6 +37,12 @@ install: all
${INSTALL} -c -m 555 convergei ${DESTDIR}${bindir}
${INSTALL} -c -m 555 convergel ${DESTDIR}${bindir}
${INSTALL} -c -m 555 convergep ${DESTDIR}${bindir}
+ifeq (@PLATFORM@, MinGW)
+ ${INSTALL} -c -m 555 ../platform/MinGW/convergec.bat ${DESTDIR}${bindir}
+ ${INSTALL} -c -m 555 ../platform/MinGW/convergei.bat ${DESTDIR}${bindir}
+ ${INSTALL} -c -m 555 ../platform/MinGW/convergel.bat ${DESTDIR}${bindir}
+ ${INSTALL} -c -m 555 ../platform/MinGW/convergep.bat ${DESTDIR}${bindir}
+endif
${INSTALL} -d ${DESTDIR}${conlibdir}/Compiler
${INSTALL} -d ${DESTDIR}${conlibdir}/Compiler/Targets
${foreach obj,${COMPILER_OBJS:.cvb=.cv},${INSTALL} -c -m 444 ${obj} ${DESTDIR}${conlibdir}/${obj};}
View
@@ -112,6 +112,7 @@ case $operating_system in
AC_MSG_RESULT(MINGW)
mingw=1
AC_DEFINE(CON_PLATFORM_MINGW, [], [Define if you are running on the MinGW platform. Note that you can can only define one CON_PLATFORM_* variable.])
+ AC_SUBST(PLATFORM, MinGW)
AC_SUBST(EXEC_EXT, ".exe")
AC_DEFINE(CON_OSNAME, "MINGW");;
*) AC_MSG_ERROR([Unknown platform "$operating_system"]);;
View
@@ -27,6 +27,9 @@ all: cvd_to_html
install:
${INSTALL} -d ${DESTDIR}${bindir}
${INSTALL} -c -m 555 cvd_to_html ${DESTDIR}${bindir}
+ifeq (@PLATFORM@, MinGW)
+ ${INSTALL} -c -m 555 ../platform/MinGW/cvd_to_html.bat ${DESTDIR}${bindir}
+endif
${INSTALL} -d ${DESTDIR}${condocsdir}/modules_html
${INSTALL} -c -m 444 modules_html/*.html ${DESTDIR}${condocsdir}/modules_html
@@ -0,0 +1,2 @@
+@echo off
+%~dp0converge %~dp0convergec %*
@@ -0,0 +1,2 @@
+@echo off
+%~dp0converge %~dp0convergei %*
@@ -0,0 +1,2 @@
+@echo off
+%~dp0converge %~dp0convergel %*
@@ -0,0 +1,2 @@
+@echo off
+%~dp0converge %~dp0convergep %*
@@ -0,0 +1,3 @@
+@echo off
+%~dp0converge %~dp0cvd_to_html %*
+

0 comments on commit a6fd15d

Please sign in to comment.