Update of /cvsroot/pure-data/abstractions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13209
Modified Files: Makefile Added Files: Makefile.dirs Log Message: added gyre, nusmuk; started adding rradical; make shared Makefile.dirs file which has all of the common targets and locations
--- NEW FILE: Makefile.dirs --- # # $(INSTALL_PREFIX) and $(SRC_ROOT_DIR) are set in Makefile
# base DOCS_BASE = $(INSTALL_PREFIX)/doc
# sources ABSTRACTIONS_SRC = $(SRC_ROOT_DIR)/abstractions DOCS_SRC = $(SRC_ROOT_DIR)/doc EXTERNALS_SRC = $(SRC_ROOT_DIR)/externals
# destinations APPLICATIONS_DST = $(DOCS_BASE)/examples OBJECTS_DST = $(INSTALL_PREFIX)/extra DOCS_DST = $(DOCS_BASE)/5.reference MANUALS_DST = $(DOCS_BASE)/manuals
#------------------------------------------------------------------------------# # DIRECTORY STRUCTURE TARGETS #------------------------------------------------------------------------------# # first make sure that the directory structure is setup $(INSTALL_PREFIX): install -d $(INSTALL_PREFIX)
$(APPLICATIONS_DST): $(INSTALL_PREFIX) install -d $(APPLICATIONS_DST)
$(OBJECTS_DST): $(INSTALL_PREFIX) install -d $(OBJECTS_DST)
$(DOCS_DST): $(INSTALL_PREFIX) install -d $(DOCS_DST)
$(MANUALS_DST): $(INSTALL_PREFIX) install -d $(MANUALS_DST)
Index: Makefile =================================================================== RCS file: /cvsroot/pure-data/abstractions/Makefile,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Makefile 16 Nov 2005 00:15:14 -0000 1.2 --- Makefile 16 Nov 2005 04:55:19 -0000 1.3 *************** *** 10,41 **** DOCS_BASE = $(INSTALL_PREFIX)/doc
! # sources ! ABSTRACTIONS_SRC = $(SRC_ROOT_DIR)/abstractions ! ! # destinations ! APPLICATIONS_DST = $(DOCS_BASE)/examples ! OBJECTS_DST = $(INSTALL_PREFIX)/extra ! DOCS_DST = $(DOCS_BASE)/5.reference ! MANUALS_DST = $(DOCS_BASE)/manuals ! ! #------------------------------------------------------------------------------# ! # DIRECTORY STRUCTURE TARGETS ! #------------------------------------------------------------------------------# ! # first make sure that the directory structure is setup ! $(INSTALL_PREFIX): ! install -d $(INSTALL_PREFIX) ! ! $(APPLICATIONS_DST): $(INSTALL_PREFIX) ! install -d $(APPLICATIONS_DST) ! ! $(OBJECTS_DST): $(INSTALL_PREFIX) ! install -d $(OBJECTS_DST) ! ! $(DOCS_DST): $(INSTALL_PREFIX) ! install -d $(DOCS_DST) ! ! $(MANUALS_DST): $(INSTALL_PREFIX) ! install -d $(MANUALS_DST)
#------------------------------------------------------------------------------# --- 10,17 ---- DOCS_BASE = $(INSTALL_PREFIX)/doc
! # default target ! all: objects applications
+ include Makefile.dirs
#------------------------------------------------------------------------------# *************** *** 43,56 **** #------------------------------------------------------------------------------#
- all: objects applications - final_setup: chmod -R ugo-w $(INSTALL_PREFIX)
objects: $(OBJECTS_DST) $(DOCS_DST) $(MANUALS_DST) ! objects: objects_rradical objects_memento
applications: $(APPLICATIONS_DST) $(MANUALS_DST) ! applications: applications_rradical
--- 19,31 ---- #------------------------------------------------------------------------------#
final_setup: chmod -R ugo-w $(INSTALL_PREFIX)
objects: $(OBJECTS_DST) $(DOCS_DST) $(MANUALS_DST) ! objects: objects_memento objects_nusmuk objects_rradical objects_keyboardkeys ! objects: objects_gyre objects_la-kitchen
applications: $(APPLICATIONS_DST) $(MANUALS_DST) ! applications: applications_rradical applications_keyboardkeys applications_gyre
*************** *** 58,78 **** # PROJECT TARGETS #------------------------------------------------------------------------------#
#------------------------------ ! # RRADICAL ! objects_rradical: ! install -d $(OBJECTS_DST)/memento
- applications_rradical: - install -d $(APPLICATIONS_DST)/RRADical - install -p $(ABSTRACTIONS_SRC)/rradical/usecases/*.* $(APPLICATIONS_DST)/RRADical - cp -rp $(ABSTRACTIONS_SRC)/rradical/usecases/showcase $(APPLICATIONS_DST)/RRADical/
#------------------------------ ! # MEMENTO objects_memento: install -d $(OBJECTS_DST)/memento install -p $(shell ls -1 $(ABSTRACTIONS_SRC)/rradical/memento/*.pd | \ ! grep -v -e '-help.pd$$') $(OBJECTS_DST)/memento install -d $(DOCS_DST)/memento install -p $(ABSTRACTIONS_SRC)/rradical/memento/*-help.pd $(DOCS_DST)/memento --- 33,88 ---- # PROJECT TARGETS #------------------------------------------------------------------------------# + #------------------------------ + # GYRE + objects_gyre: + install -d $(OBJECTS_DST)/gyre + install -p $(ABSTRACTIONS_SRC)/audionerd/GYRE/gyre.*.pd \ + $(OBJECTS_DST)/gyre + install -d $(MANUALS_DST)/gyre + install -p $(ABSTRACTIONS_SRC)/audionerd/GYRE/gyre.html \ + $(MANUALS_DST)/gyre + + applications_gyre: + install -d $(APPLICATIONS_DST)/gyre + install -p $(ABSTRACTIONS_SRC)/audionerd/GYRE/gyre.pd \ + $(APPLICATIONS_DST)/GYRE +
#------------------------------ ! # keyboardkeys ! objects_keyboardkeys: ! install -d $(OBJECTS_DST)/keyboardkeys ! install -p $(ABSTRACTIONS_SRC)/keyboardkeys/keyboardkeys/*.pd \ ! $(OBJECTS_DST)/keyboardkeys ! install -d $(DOCS_DST)/keyboardkeys ! install -p $(ABSTRACTIONS_SRC)/keyboardkeys/doc/*-help.pd \ ! $(DOCS_DST)/keyboardkeys ! ! applications_keyboardkeys: ! install -d $(APPLICATIONS_DST)/keyboardkeys ! install -p $(ABSTRACTIONS_SRC)/keyboardkeys/keyboard_main.pd \ ! $(APPLICATIONS_DST)/keyboardkeys
#------------------------------ ! # la-kitchen ! objects_la-kitchen: ! install -d $(OBJECTS_DST)/la-kitchen ! install -p $(shell ls -1 $(ABSTRACTIONS_SRC)/La-kitchen/*.pd | \ ! grep -v '-help.pd') $(OBJECTS_DST)/la-kitchen ! install -d $(DOCS_DST)/la-kitchen ! install -p $(ABSTRACTIONS_SRC)/La-kitchen/*-help.pd \ ! $(DOCS_DST)/la-kitchen ! install -d $(MANUALS_DST)/la-kitchen ! install -p $(ABSTRACTIONS_SRC)/La-kitchen/readme.txt \ ! $(MANUALS_DST)/la-kitchen ! ! ! #------------------------------ ! # memento objects_memento: install -d $(OBJECTS_DST)/memento install -p $(shell ls -1 $(ABSTRACTIONS_SRC)/rradical/memento/*.pd | \ ! grep -v '-help.pd') $(OBJECTS_DST)/memento install -d $(DOCS_DST)/memento install -p $(ABSTRACTIONS_SRC)/rradical/memento/*-help.pd $(DOCS_DST)/memento *************** *** 84,87 **** --- 94,131 ---- $(APPLICATIONS_DST)/memento_tutorial
+ #------------------------------ + # nusmuk + objects_nusmuk: + install -d $(OBJECTS_DST)/nusmuk + install -p $(shell ls -1 $(ABSTRACTIONS_SRC)/nusmuk/*.* | \ + grep -v '-help.pd') $(OBJECTS_DST)/nusmuk + install -d $(DOCS_DST)/nusmuk + install -p $(ABSTRACTIONS_SRC)/nusmuk/*-help.pd $(DOCS_DST)/nusmuk + + + #------------------------------ + # RRADical + objects_rradical: + install -d $(OBJECTS_DST)/rradical + + applications_rradical: + install -d $(APPLICATIONS_DST)/RRADical + install -p $(ABSTRACTIONS_SRC)/rradical/usecases/*.* $(APPLICATIONS_DST)/RRADical + cp -rp $(ABSTRACTIONS_SRC)/rradical/usecases/showcase $(APPLICATIONS_DST)/RRADical/ + + #------------------------------------------------------------------------------# + # DEVELOPER'S TARGETS + #------------------------------------------------------------------------------# + + # make the symlinks necessary to simulate the installed environment + devsymlinks: devsymlinks_keyboardkeys + + + devsymlinks_keyboardkeys: + ln -s abs \ + $(ABSTRACTIONS_SRC)/keyboardkeys/keyboardkeys + ln -s ../keyboardkeys \ + $(ABSTRACTIONS_SRC)/keyboardkeys/doc/keyboardkeys + #------------------------------------------------------------------------------# # CLEAN TARGETS