aboutsummaryrefslogtreecommitdiff
path: root/packages/Makefile
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2011-04-07 09:23:04 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2011-04-07 09:23:04 +0000
commit1ccc8dfabce2844de5457c77ee983c8db348e872 (patch)
tree914964a8c329d6f96366786e5e618d4c3ded9953 /packages/Makefile
parentc280c17edf910b7516172ba9ed599030f4a74a17 (diff)
moving Gem from pure-data/ to pure-data/externals/
there is really no difference between Gem and (e.g.) fftease, why should they live in different directories? svn path=/trunk/; revision=15064
Diffstat (limited to 'packages/Makefile')
-rw-r--r--packages/Makefile72
1 files changed, 3 insertions, 69 deletions
diff --git a/packages/Makefile b/packages/Makefile
index d929cf9e..92eeb6ee 100644
--- a/packages/Makefile
+++ b/packages/Makefile
@@ -15,7 +15,7 @@ BUILDLAYOUT_DIR = $(CWD)
## default target
-all: pd abstractions doc gem externals
+all: pd abstractions doc externals
@echo "Complete build succeeded!"
include $(BUILDLAYOUT_DIR)/Makefile.buildlayout
@@ -180,7 +180,7 @@ endif
# this is used for installing into a pre-build Pd binary
extended_install: abstractions_install doc_install \
-gem_install externals_install readme_install welcome_install \
+externals_install readme_install welcome_install \
license_install noncvs_install
@@ -216,69 +216,6 @@ extensions_install:
externals_install:
$(MAKE) -C $(externals_src) $(DEST_PATHS) install
-
-#------------------------------------------------------------------------------
-# gem_install
-GEM_NAME = Gem
-$(gem_src)/src/configure:
- cd $(gem_src)/src && ./autogen.sh
-
-$(gem_src)/src/Gem.dll: $(gem_src)/src/configure
-
-$(gem_src)/src/Gem.pd_linux: $(gem_src)/src/configure
- cd $(gem_src)/src && ./configure \
- CXXFLAGS="-DHAVE_S_STUFF_H $(OPT_CFLAGS)" \
- --with-pd=$(pd_src)
- $(MAKE) -C $(gem_src)/src
-
-$(gem_src)/src/Gem.pd_darwin: $(gem_src)/src/configure
- cd $(gem_src)/src && ./configure \
- CXXFLAGS="-DHAVE_S_STUFF_H $(OPT_CFLAGS)" \
- PKG_FTGL_CFLAGS="-I/sw/include -I/sw/include/freetype2 -I/sw/include/FTGL" \
- --without-ALL \
- --disable-mmx \
- --with-ftgl --with-ftgl-libs=/sw/lib \
- --with-artoolkit-includes=/sw/include --with-artoolkit-libs=/sw/lib \
- --with-pd=$(pd_src)
- $(MAKE) -C $(gem_src)/src
-
-gem: $(gem_src)/src/Gem.$(EXTENSION)
-
-gem_install: gem
- install -d $(DESTDIR)$(objectsdir)/$(GEM_NAME)
-ifneq ($(OS_NAME),windows)
- install -p $(gem_src)/src/Gem.$(EXTENSION) $(DESTDIR)$(objectsdir)/$(GEM_NAME)/
-endif
- (test -e $(gem_src)/src/plugins/filmAVI/.libs/gem_filmAVI.so && \
- install -p $(gem_src)/src/plugins/*/.libs/gem_*.so $(DESTDIR)$(objectsdir)/$(GEM_NAME)/ ) || true
- (test -e $(gem_src)/src/plugins/filmAVI/.libs/gem_filmAVI.dll && \
- install -p $(gem_src)/src/plugins/*/.libs/gem_*.dll $(DESTDIR)$(objectsdir)/$(GEM_NAME)/ ) || true
- install -p $(gem_src)/help/*.* $(DESTDIR)$(objectsdir)/$(GEM_NAME)/
- install -p $(gem_src)/abstractions/*.* $(DESTDIR)$(objectsdir)/$(GEM_NAME)
- install -d $(DESTDIR)$(objectsdir)/$(GEM_NAME)/manual
- install -p $(gem_src)/doc/*.* $(DESTDIR)$(objectsdir)/$(GEM_NAME)/manual
- install -d $(DESTDIR)$(objectsdir)/$(GEM_NAME)/manual/html
-# in Gem 0.92, $(gem_src)/manual moved to $(gem_src)/doc/manual
- (test -d $(gem_src)/manual && \
- install -p $(gem_src)/manual/*.* $(DESTDIR)$(objectsdir)/$(GEM_NAME)/manual/html ) || \
- install -p $(gem_src)/doc/manual/*.* $(DESTDIR)$(objectsdir)/$(GEM_NAME)/manual/html
- for dir in $(shell ls -1 $(gem_src)/examples | grep -v CVS); do \
- echo "installing $$dir"; \
- install -d $(DESTDIR)$(objectsdir)/$(GEM_NAME)/examples/$$dir ; \
- install -p $(gem_src)/examples/$$dir/*.* $(DESTDIR)$(objectsdir)/$(GEM_NAME)/examples/$$dir ;\
- done
-# install Gem headers to make it easier to build standalone Gem objects
- install -d $(DESTDIR)$(includedir)/Base
- install -p $(gem_src)/src/Base/*.h $(DESTDIR)$(includedir)/Base/
-# links to keep the old-style placement for Gem examples in the Help Browser
-ifneq ($(OS_NAME),windows)
- install -d $(DESTDIR)$(examplesdir)
- ln -s ../../extra/$(GEM_NAME)/examples $(DESTDIR)$(examplesdir)/$(GEM_NAME)
- install -d $(DESTDIR)$(manualsdir)
- ln -s ../../extra/$(GEM_NAME)/manual $(DESTDIR)$(manualsdir)/$(GEM_NAME)
-endif
-
-
#------------------------------------------------------------------------------
# noncvs_install
# this is for including pre-compiled binaries in a build
@@ -493,14 +430,11 @@ doc_clean:
externals_clean:
-$(MAKE) -C $(externals_src) $(DEST_PATHS) clean
-gem_clean:
- -$(MAKE) -C $(gem_src)/src clean
-
pd_clean:
-$(MAKE) -C $(pd_src)/src $(DEST_PATHS) clean
# these targets are all from Makefile.buildlayout: install_clean cruft_clean
-clean: abstractions_clean doc_clean externals_clean gem_clean pd_clean
+clean: abstractions_clean doc_clean externals_clean pd_clean
echo "Complete clean finished."