diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-09-15 03:51:26 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-09-15 03:51:26 +0000 |
commit | de69f5796d3f5cd0ae61b5ba7ccd130626aef0a5 (patch) | |
tree | 53d7209b1ce95fda4e2c272702a485f8fb0cbce8 /packages | |
parent | db739463bc2b0aa4995719f182324248a86568bb (diff) |
added gem to the standard build on GNU/Linux
svn path=/trunk/; revision=5935
Diffstat (limited to 'packages')
-rw-r--r-- | packages/Makefile | 28 |
1 files changed, 19 insertions, 9 deletions
diff --git a/packages/Makefile b/packages/Makefile index 581121a0..40976695 100644 --- a/packages/Makefile +++ b/packages/Makefile @@ -468,23 +468,33 @@ $(gem_src)/src/configure: $(gem_src)/src/configure.ac cd $(gem_src)/src && autoconf $(gem_src)/src/Make.config: $(gem_src)/src/Make.config.in - cd $(gem_src)/src && ./configure --with-pd=../../pd + cd $(gem_src)/src && ./configure --with-pd=$(pd_src) -$(gem_src)/src/Gem.$(EXTENSION): $(gem_src)/src/configure \ -$(gem_src)/src/Make.config +$(gem_src)/src/Gem.dll: + +$(gem_src)/src/Gem.pd_linux: $(gem_src)/src/configure + cd $(gem_src)/src && ./configure --disable-sse2 --disable-Vertex \ + --with-pd=$(pd_src) make -C $(gem_src)/src -#gem: $(gem_src)/src/Gem.$(EXTENSION) -gem: -# cd $(gem_src)/Gem && xcodebuild +$(gem_src)/src/Gem.pd_darwin: +# once Gem is ready for the auto-builders, uncomment this: +#$(gem_src)/src/Gem.pd_darwin: $(gem_src)/src/configure +# cd $(gem_src)/src && ./configure --with-pd=$(pd_src) +# make -C $(gem_src)/src + +gem: $(gem_src)/src/Gem.$(EXTENSION) gem_install: gem $(helpdir) install -d $(helpdir)/$(GEM_NAME) install -p $(gem_src)/help/*.* $(helpdir)/$(GEM_NAME) - install -p $(gem_src)/abstractions/*-help.pd $(helpdir) + install -p $(gem_src)/abstractions/*-help.pd $(helpdir)/$(GEM_NAME) install -d $(objectsdir)/$(GEM_NAME) +ifeq ($(OS_NAME),linux) + install -p $(gem_src)/src/Gem.$(EXTENSION) $(objectsdir) +endif install -p $(shell ls -1 $(gem_src)/abstractions/*.* | \ - grep -v '\-help.pd') $(objectsdir) + grep -v '\-help.pd') $(objectsdir)/$(GEM_NAME) install -d $(manualsdir)/$(GEM_NAME) install -p $(gem_src)/doc/*.* $(manualsdir)/$(GEM_NAME) install -d $(manualsdir)/$(GEM_NAME)/manual @@ -492,7 +502,7 @@ gem_install: gem $(helpdir) for dir in $(shell ls -1 $(gem_src)/examples | grep -v CVS); do \ echo "installing $$dir"; \ install -d $(examplesdir)/$(GEM_NAME)/$$dir ; \ - install -p $(gem_src)/examples/$$dir/*.* $(examplesdir)/$(GEM_NAME)/$$dir ; \ + install -p $(gem_src)/examples/$$dir/*.* $(examplesdir)/$(GEM_NAME)/$$dir ;\ done |