This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Autotools build system

svn path=/trunk/win32-installers/; revision=115680
  • Loading branch information...
btaylor committed Oct 13, 2008
1 parent 2320e38 commit 03aebb1ea37d6c575902d4f779f547c797bed880
View
@@ -0,0 +1,4 @@
+SUBDIRS = \
+ modules \
+ runtime-en \
+ sdk-en
View
@@ -0,0 +1,4 @@
+aclocal
+automake --add-missing --foreign
+autoconf
+./configure --enable-maintainer-mode "$@" \
View
@@ -0,0 +1,38 @@
+AC_INIT(README)
+AC_CANONICAL_SYSTEM
+AC_PREREQ(2.13)
+AM_INIT_AUTOMAKE(win32-installers, 0.1)
+AM_MAINTAINER_MODE
+AC_PROG_INSTALL
+
+AC_PATH_PROG(CANDLE, candle, no)
+if test "x$CANDLE" = "xno" ; then
+ AC_MSG_ERROR(['No candle found'])
+fi
+
+
+AC_PATH_PROG(LIGHT, light, no)
+if test "x$LIGHT" = "xno" ; then
+ AC_MSG_ERROR(['No light found'])
+fi
+
+AC_SUBST(CANDLE)
+AC_SUBST(LIGHT)
+
+AC_OUTPUT([
+Makefile
+modules/Makefile
+modules/aspell-lib/Makefile
+modules/glade-2-dev/Makefile
+modules/glade-2-lib/Makefile
+modules/gtk+-2.0-dev/Makefile
+modules/gtk+-2.0-lib/Makefile
+modules/mono-cairo-dev/Makefile
+modules/mono-cairo-lib/Makefile
+modules/poppler-lib/Makefile
+modules/vte-lib/Makefile
+modules/vte-sharp-dev/Makefile
+modules/vte-sharp-lib/Makefile
+runtime-en/Makefile
+sdk-en/Makefile
+])
View
@@ -1,12 +0,0 @@
-<?xml version="1.0"?>
-<project name="Gtk# Installer" default="build">
- <target name="*">
- <nant target="${target::get-current-target()}">
- <buildfiles>
- <include name="modules/*.build" />
- <include name="runtime-en/*.build" />
- <include name="sdk-en/*.build" />
- </buildfiles>
- </nant>
- </target>
-</project>
View
@@ -0,0 +1,12 @@
+SUBDIRS = \
+ aspell-lib/ \
+ glade-2-dev/ \
+ glade-2-lib/ \
+ gtk+-2.0-dev/ \
+ gtk+-2.0-lib/ \
+ mono-cairo-dev/ \
+ mono-cairo-lib/ \
+ poppler-lib/ \
+ vte-lib/ \
+ vte-sharp-dev/ \
+ vte-sharp-lib/
@@ -0,0 +1,7 @@
+MODULE = aspell-lib
+CANDLE_FLAGS =
+LIGHT_FLAGS =
+
+$(MODULE).msm: $(MODULE).wxs
+ candle $(CANDLE_FLAGS) $(MODULE).wxs
+ light $(LIGHT_FLAGS) $(MODULE).wixobj
@@ -1,4 +0,0 @@
-<?xml version="1.0"?>
-<project name="aspell-lib" default="build">
- <include buildfile="../../build/module.include" />
-</project>
@@ -0,0 +1,7 @@
+MODULE = glade-2-dev
+CANDLE_FLAGS =
+LIGHT_FLAGS =
+
+$(MODULE).msm: $(MODULE).wxs
+ candle $(CANDLE_FLAGS) $(MODULE).wxs
+ light $(LIGHT_FLAGS) $(MODULE).wixobj
@@ -1,4 +0,0 @@
-<?xml version="1.0"?>
-<project name="glade-2-dev" default="build">
- <include buildfile="../../build/module.include" />
-</project>
@@ -0,0 +1,7 @@
+MODULE = glade-2-lib
+CANDLE_FLAGS =
+LIGHT_FLAGS =
+
+$(MODULE).msm: $(MODULE).wxs
+ candle $(CANDLE_FLAGS) $(MODULE).wxs
+ light $(LIGHT_FLAGS) $(MODULE).wixobj
@@ -1,4 +0,0 @@
-<?xml version="1.0"?>
-<project name="glade-2-lib" default="build">
- <include buildfile="../../build/module.include" />
-</project>
@@ -0,0 +1,7 @@
+MODULE = gtk+-2.0-dev
+CANDLE_FLAGS =
+LIGHT_FLAGS =
+
+$(MODULE).msm: $(MODULE).wxs
+ candle $(CANDLE_FLAGS) $(MODULE).wxs
+ light $(LIGHT_FLAGS) $(MODULE).wixobj
@@ -1,4 +0,0 @@
-<?xml version="1.0"?>
-<project name="gtk+-2.0-dev" default="build">
- <include buildfile="../../build/module.include" />
-</project>
@@ -0,0 +1,7 @@
+MODULE = gtk+-2.0-lib
+CANDLE_FLAGS =
+LIGHT_FLAGS =
+
+$(MODULE).msm: $(MODULE).wxs
+ candle $(CANDLE_FLAGS) $(MODULE).wxs
+ light $(LIGHT_FLAGS) $(MODULE).wixobj
@@ -1,4 +0,0 @@
-<?xml version="1.0"?>
-<project name="gtk+-2.0-lib" default="build">
- <include buildfile="../../build/module.include" />
-</project>
View
@@ -1,11 +0,0 @@
-<?xml version="1.0"?>
-<project name="modules" default="build">
- <target name="*">
- <nant target="${target::get-current-target()}">
- <buildfiles>
- <include name="**/*.build" />
- <exclude name="modules.build" />
- </buildfiles>
- </nant>
- </target>
-</project>
@@ -0,0 +1,7 @@
+MODULE = mono-cairo-dev
+CANDLE_FLAGS =
+LIGHT_FLAGS =
+
+$(MODULE).msm: $(MODULE).wxs
+ candle $(CANDLE_FLAGS) $(MODULE).wxs
+ light $(LIGHT_FLAGS) $(MODULE).wixobj
@@ -1,4 +0,0 @@
-<?xml version="1.0"?>
-<project name="mono-cairo-dev" default="build">
- <include buildfile="../../build/module.include" />
-</project>
@@ -0,0 +1,7 @@
+MODULE = aspell-lib
+CANDLE_FLAGS =
+LIGHT_FLAGS =
+
+$(MODULE).msm: $(MODULE).wxs
+ candle $(CANDLE_FLAGS) $(MODULE).wxs
+ light $(LIGHT_FLAGS) $(MODULE).wixobj
@@ -1,4 +0,0 @@
-<?xml version="1.0"?>
-<project name="mono-cairo-lib" default="build">
- <include buildfile="../../build/module.include" />
-</project>
@@ -0,0 +1,7 @@
+MODULE = poppler-lib
+CANDLE_FLAGS =
+LIGHT_FLAGS =
+
+$(MODULE).msm: $(MODULE).wxs
+ candle $(CANDLE_FLAGS) $(MODULE).wxs
+ light $(LIGHT_FLAGS) $(MODULE).wixobj
@@ -1,4 +0,0 @@
-<?xml version="1.0"?>
-<project name="poppler-lib" default="build">
- <include buildfile="../../build/module.include" />
-</project>
@@ -0,0 +1,7 @@
+MODULE = vte-lib
+CANDLE_FLAGS =
+LIGHT_FLAGS =
+
+$(MODULE).msm: $(MODULE).wxs
+ candle $(CANDLE_FLAGS) $(MODULE).wxs
+ light $(LIGHT_FLAGS) $(MODULE).wixobj
@@ -1,4 +0,0 @@
-<?xml version="1.0"?>
-<project name="vte-lib" default="build">
- <include buildfile="../../build/module.include" />
-</project>
@@ -0,0 +1,7 @@
+MODULE = vte-sharp-dev
+CANDLE_FLAGS =
+LIGHT_FLAGS =
+
+$(MODULE).msm: $(MODULE).wxs
+ candle $(CANDLE_FLAGS) $(MODULE).wxs
+ light $(LIGHT_FLAGS) $(MODULE).wixobj
@@ -1,4 +0,0 @@
-<?xml version="1.0"?>
-<project name="vte-sharp-dev" default="build">
- <include buildfile="../../build/module.include" />
-</project>
@@ -0,0 +1,7 @@
+MODULE = vte-sharp-lib
+CANDLE_FLAGS =
+LIGHT_FLAGS =
+
+$(MODULE).msm: $(MODULE).wxs
+ candle $(CANDLE_FLAGS) $(MODULE).wxs
+ light $(LIGHT_FLAGS) $(MODULE).wixobj
@@ -1,4 +0,0 @@
-<?xml version="1.0"?>
-<project name="vte-sharp-lib" default="build">
- <include buildfile="../../build/module.include" />
-</project>
View
@@ -0,0 +1,7 @@
+MODULE = Runtime
+CANDLE_FLAGS =
+LIGHT_FLAGS =
+
+$(MODULE).msm: $(MODULE).wxs
+ candle $(CANDLE_FLAGS) $(MODULE).wxs
+ light $(LIGHT_FLAGS) $(MODULE).wixobj
View
@@ -1,4 +0,0 @@
-<?xml version="1.0"?>
-<project name="Runtime" default="build">
- <include buildfile="../build/installer.include" />
-</project>
View
@@ -0,0 +1,7 @@
+MODULE = SDK
+CANDLE_FLAGS =
+LIGHT_FLAGS =
+
+$(MODULE).msm: $(MODULE).wxs
+ candle $(CANDLE_FLAGS) $(MODULE).wxs
+ light $(LIGHT_FLAGS) $(MODULE).wixobj
View
@@ -1,4 +0,0 @@
-<?xml version="1.0"?>
-<project name="SDK" default="build">
- <include buildfile="../build/installer.include" />
-</project>

0 comments on commit 03aebb1

Please sign in to comment.