[cig-commits] r12902 - in cs/cigma/trunk: . src
luis at geodynamics.org
luis at geodynamics.org
Wed Sep 17 01:09:35 PDT 2008
Author: luis
Date: 2008-09-17 01:09:34 -0700 (Wed, 17 Sep 2008)
New Revision: 12902
Added:
cs/cigma/trunk/Makefile.am
cs/cigma/trunk/src/
cs/cigma/trunk/src/Makefile.am
cs/cigma/trunk/src/hello.cpp
Log:
Minimal Makefile.am
Now, we make sure that the new buildbot configuration works
correctly.
Added: cs/cigma/trunk/Makefile.am
===================================================================
--- cs/cigma/trunk/Makefile.am (rev 0)
+++ cs/cigma/trunk/Makefile.am 2008-09-17 08:09:34 UTC (rev 12902)
@@ -0,0 +1,30 @@
+# -*- Makefile -*-
+#
+
+AUTOMAKE_OPTIONS = foreign
+ACLOCAL_AMFLAGS = -I ./m4
+
+# Directories to build
+SUBDIRS = src
+if BUILD_CPPUNIT_TESTS
+ SUBDIRS += tests
+endif
+
+# Distribute these directories
+DIST_SUBDIRS = $(SUBDIRS)
+
+# Makefile rule for running rebuild.sh
+.PHONY: rebuild rebuild-clean
+rebuild: all
+ @chmod u+x ./build/rebuild.sh
+ ./build/rebuild.sh
+rebuild-clean:
+ rm -rf ./build/cigma-*
+
+# Makefile rule for clearing all the autoconf cruft
+# from the working directory.
+.PHONY: clean-slate
+clean-slate: distclean
+ ./build/cleanup.sh
+
+# EOF
Added: cs/cigma/trunk/src/Makefile.am
===================================================================
--- cs/cigma/trunk/src/Makefile.am (rev 0)
+++ cs/cigma/trunk/src/Makefile.am 2008-09-17 08:09:34 UTC (rev 12902)
@@ -0,0 +1,11 @@
+###############################################################################
+# -*- Makefile.am -*- #
+###############################################################################
+
+bin_PROGRAMS = hello
+
+###############################################################################
+
+hello_SOURCES = hello.cpp
+
+###############################################################################
Added: cs/cigma/trunk/src/hello.cpp
===================================================================
--- cs/cigma/trunk/src/hello.cpp (rev 0)
+++ cs/cigma/trunk/src/hello.cpp 2008-09-17 08:09:34 UTC (rev 12902)
@@ -0,0 +1,8 @@
+#include <iostream>
+using namespace std;
+
+int main()
+{
+ cout << "Hello, Buildbot!" << endl;
+ return 0;
+}
More information about the cig-commits
mailing list