Commit graph

17 commits

Author SHA1 Message Date
Gareth Rees
163e9ad484 Test suite runs on os x:
* New Xcode target "testrun" runs all the (runnable) test cases.
* Makefile provides separate targets test-make-build and test-xcode-build for running test suite on different platforms.
* configure selects the appropriate test target.

Copied from Perforce
 Change: 181085
 ServerID: perforce.ravenbrook.com
2013-03-08 10:17:08 +00:00
Gareth Rees
d28698af08 Test cases now run by "make test" (on platforms with makefiles).
Copied from Perforce
 Change: 181070
 ServerID: perforce.ravenbrook.com
2013-03-07 10:28:30 +00:00
Gareth Rees
bc4ccedc13 More build/install improvements:
1. Name the command-line tools with the "mps" prefix throughout, for consistency between build and installation.
2. Don't build "mpseventsql.exe" by default on Windows.
3. Instructions for building mpseventsql on the supported platforms.

Copied from Perforce
 Change: 180913
 ServerID: perforce.ravenbrook.com
2013-02-05 15:43:41 +00:00
Gareth Rees
0288de7931 Check for sqlite3.h earlier in the configure process: seems more reliable, but don't understand why. (bad compiler flags on mac os x?)
Copied from Perforce
 Change: 180910
 ServerID: perforce.ravenbrook.com
2013-02-05 14:51:01 +00:00
Gareth Rees
e12d5890e3 Improvements to the mps build/installation process:
1. Build eventtxt on Mac OS X (add "eventtxt" as dependency for "all" target).
2. In configure, check for the existence of the header "sqlite3.h" and set EXTRA_TARGETS accordingly.
3. In top-level Makefile, install all targets in EXTRA_TARGETS.

Copied from Perforce
 Change: 180907
 ServerID: perforce.ravenbrook.com
2013-02-05 13:34:42 +00:00
Gareth Rees
a4ae02f247 Fix installation on os x (build directory is now code/xc).
On OS X, install eventsql as well as eventcnv.

Copied from Perforce
 Change: 180420
 ServerID: perforce.ravenbrook.com
2012-11-08 16:20:20 +00:00
Richard Brooksby
eb30f6bc82 Adding simple "make test" target to top-level makefile.
Copied from Perforce
 Change: 179499
 ServerID: perforce.ravenbrook.com
2012-09-14 23:05:31 +01:00
Richard Brooksby
06281ddb82 Adding rules to make and install cool variety mps on mac os x.
Ensuring Makefile isn't built with out-of-date config.status.

Copied from Perforce
 Change: 179468
 ServerID: perforce.ravenbrook.com
2012-09-13 12:54:43 +01:00
Richard Brooksby
e8506b39b6 Fixing "make install" to use local install program and avoid permissions problems.
Copied from Perforce
 Change: 179467
 ServerID: perforce.ravenbrook.com
2012-09-13 12:49:49 +01:00
Richard Brooksby
5f2202fe46 Merging "make install" implementation from bruce mitchener <https://github.com/datafueled/memory-pool-system/pull/8>.
curl -O "https://github.com/datafueled/memory-pool-system/pull/8.patch" | patch -g1

Copied from Perforce
 Change: 179466
 ServerID: perforce.ravenbrook.com
2012-09-13 11:59:26 +01:00
Richard Brooksby
2c4c890224 Merging https://github.com/datafueled/memory-pool-system/pull/6 to make configure work on freebsd (whose "make" isn't gnu make).
Copied from Perforce
 Change: 179400
 ServerID: perforce.ravenbrook.com
2012-09-10 17:24:47 +01:00
Richard Brooksby
4a3a69934b Merging https://github.com/datafueled/memory-pool-system/compare/configure-fixes from bruce.
Copied from Perforce
 Change: 179399
 ServerID: perforce.ravenbrook.com
2012-09-10 16:13:43 +01:00
Richard Brooksby
a31e2340da Moving build-aux out of the way to tools/autoconf.
Correcting build and clean target substitutions for Mac OS X.
Adding Makefile rule for configure itself, running autoreconf.

Copied from Perforce
 Change: 179375
 ServerID: perforce.ravenbrook.com
2012-09-09 20:33:44 +01:00
Richard Brooksby
4e8831e6ac Backing out changelist 179369. something's not write with the ipad filesystem.
Copied from Perforce
 Change: 179372
 ServerID: perforce.ravenbrook.com
2012-09-09 19:57:20 +01:00
Richard Brooksby
f4a65bd2d9 Adding short name and link to configure.ac.
Attempting to link code/GNUmakefile when configure is run, so that invocations of make become easy.

Copied from Perforce
 Change: 179369
 ServerID: perforce.ravenbrook.com
2012-09-09 19:39:57 +01:00
Richard Brooksby
da1d3bf05a Fixing autoconf to avoid gnu make directives in the output makefile, so that it works with freebsd make. however, the recursive make fails because we rely on gnu make.
Copied from Perforce
 Change: 179353
 ServerID: perforce.ravenbrook.com
2012-09-07 21:47:24 +01:00
Richard Brooksby
7527530ea8 Adding basic autoconf scripts for generating a configure script. no "make install" yet.
Copied from Perforce
 Change: 179350
 ServerID: perforce.ravenbrook.com
2012-09-07 21:27:27 +01:00