diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Makefile | 42 | ||||
m--------- | lib/boost | 0 | ||||
m--------- | lib/cppunit | 0 | ||||
m--------- | lib/gdtoa | 0 | ||||
m--------- | lib/libofx | 0 |
5 files changed, 42 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile new file mode 100644 index 00000000..39c85c9b --- /dev/null +++ b/lib/Makefile @@ -0,0 +1,42 @@ +# Uncomment these if you are on OS X and want to build universal libraries. +# This is only important if you intend to produce a Ledger binary for +# installation. + +#ARCH_CFLAGS = -g -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.5.sdk +#ARCH_LDFLAGS = -g -arch i386 -arch ppc -Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk + +STOW_ROOT = /usr/local/stow + +all: boost cppunit # gdtoa + +boost: + (cd boost; \ + bjam release --prefix=$(STOW_ROOT)/boost \ + --build-dir=/tmp/boost --toolset=darwin \ + architecture=combined install && \ + bjam debug --prefix=$(STOW_ROOT)/boost \ + --build-dir=/tmp/boost --toolset=darwin \ + architecture=combined define=_GLIBCXX_DEBUG=1 install) + +cppunit: + (cd cppunit; \ + configure CFLAGS="$(ARCH_CFLAGS)" \ + LDFLAGS="$(ARCH_LDFLAGS)" \ + --prefix=$(STOW_ROOT)/cppunit \ + --disable-dependency-tracking && \ + make install) + (cd cppunit; \ + configure CPPFLAGS="-D_GLIBCXX_DEBUG=1" \ + CFLAGS="-g $(ARCH_CFLAGS)" \ + LDFLAGS="-g $(ARCH_LDFLAGS)" \ + --prefix=$(STOW_ROOT)/cppunit-debug \ + --disable-dependency-tracking && \ + make install) + +gdtoa: + (cd gdtoa; \ + configure CFLAGS="$(ARCH_CFLAGS)" \ + LDFLAGS="$(ARCH_LDFLAGS)" \ + --prefix=$(STOW_ROOT)/gdtoa \ + --disable-dependency-tracking && \ + make install) diff --git a/lib/boost b/lib/boost new file mode 160000 +Subproject 39d1e20cb03d22465f8d8884f744d254dfbfa0c diff --git a/lib/cppunit b/lib/cppunit new file mode 160000 +Subproject 1f41e59a4dae47720d0aacb422548b45be0daa1 diff --git a/lib/gdtoa b/lib/gdtoa new file mode 160000 +Subproject b2f6cab9da2e603003912eea91e7e5dcc51d887 diff --git a/lib/libofx b/lib/libofx new file mode 160000 +Subproject 699016bfd00e2be7f13120f314a4f976eeacadd |