mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-26 20:48:21 +00:00
a bit closer on getting mod_mono to build again
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5017 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
e031ff4a49
commit
91fa229ae5
@ -1,17 +1,40 @@
|
|||||||
|
|
||||||
VERSION = mono-1.1.13.8
|
MONO = mono-1.1.13.8
|
||||||
TARBALL = mono-1.1.13.8.tar.gz
|
MONO_DIR = $(switch_srcdir)/libs/$(MONO)
|
||||||
GLIB_TARBALL = glib-2.12.3.tar.gz
|
GLIB = glib-2.12.3
|
||||||
GETTEXT_TARBALL = gettext-0.15.tar.gz
|
GLIB_DIR = $(switch_srcdir)/libs/$(GLIB)
|
||||||
PKGCONFIG_TARBALL = pkg-config-0.21.tar.gz
|
GETTEXT = gettext-0.15
|
||||||
|
GETTEXT_DIR = $(switch_srcdir)/libs/$(GETTEXT)
|
||||||
|
PKGCONFIG = pkg-config-0.21
|
||||||
|
PKGCONFIG_DIR = $(switch_srcdir)/libs/$(PKGCONFIG)
|
||||||
|
|
||||||
LOCAL_CFLAGS=`$(PREFIX)/bin/pkg-config --cflags mono`
|
LOCAL_CFLAGS=`$(PREFIX)/bin/pkg-config --cflags mono`
|
||||||
LOCAL_LDFLAGS=`$(PREFIX)/bin/pkg-config --libs mono`
|
LOCAL_LDFLAGS=`$(PREFIX)/bin/pkg-config --libs mono`
|
||||||
include ../../../../build/modmake.rules
|
include ../../../../build/modmake.rules
|
||||||
|
|
||||||
local_depend:
|
DEFAULT_ARGS=--prefix=$(PREFIX) --with-pic
|
||||||
MAKE=$(MAKE) $(BASE)/build/buildlib.sh $(BASE) configure install $(GETTEXT_TARBALL) --prefix=$(PREFIX) --with-pic
|
|
||||||
MAKE=$(MAKE) $(BASE)/build/buildlib.sh $(BASE) configure install $(PKGCONFIG_TARBALL) --prefix=$(PREFIX) --with-pic
|
|
||||||
export PKG_CONFIG=$(PREFIX)/bin/pkg-config; export MSGFMT=$(PREFIX)/bin/; MAKE=$(MAKE) $(BASE)/build/buildlib.sh $(BASE) configure install $(GLIB_TARBALL) --prefix=$(PREFIX) --with-pic
|
|
||||||
export PATH=$(PATH):$(PREFIX)/bin/; MAKE=$(MAKE) $(BASE)/build/buildlib.sh $(BASE) configure install $(TARBALL) --prefix=$(PREFIX) --with-pic --with-gc=boehm --with-preview=yes --without-sigaltstack
|
|
||||||
|
|
||||||
|
local_depend: $(GETTEXT_DIR) $(PKGCONFIG_DIR) $(GLIB_DIR) $(MONO_DIR)
|
||||||
|
|
||||||
|
$(GETTEXT_DIR):
|
||||||
|
$(GETLIB) $(GETTEXT).tar.gz
|
||||||
|
cd $(GETTEXT_DIR) && ./configure $(DEFAULT_ARGS)
|
||||||
|
cd $(GETTEXT_DIR) && $(MAKE) install
|
||||||
|
|
||||||
|
$(PKGCONFIG_DIR):
|
||||||
|
$(GETLIB) $(PKGCONFIG).tar.gz
|
||||||
|
cd $(PKGCONFIG_DIR) && ./configure $(DEFAULT_ARGS)
|
||||||
|
cd $(PKGCONFIG_DIR) && $(MAKE) install
|
||||||
|
|
||||||
|
$(GLIB_DIR):
|
||||||
|
$(GETLIB) $(GLIB).tar.gz
|
||||||
|
export PKG_CONFIG=$(PREFIX)/bin/pkg-config
|
||||||
|
export MSGFMT=$(PREFIX)/bin/
|
||||||
|
cd $(GLIB_DIR) && ./configure $(DEFAULT_ARGS)
|
||||||
|
cd $(GLIB_DIR) && $(MAKE) install
|
||||||
|
|
||||||
|
$(MONO_DIR):
|
||||||
|
$(GETLIB) $(MONO).tar.gz
|
||||||
|
export PATH=$(PATH):$(PREFIX)/bin/
|
||||||
|
cd $(MONO_DIR) && ./configure $(DEFAULT_ARGS) --with-pic --with-gc=boehm --with-preview=yes --without-sigaltstack
|
||||||
|
cd $(MONO_DIR) && $(MAKE) install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user