aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-11-16don't report unused stuffIOhannes m zmölnig
svn path=/trunk/externals/iem/iemguts/; revision=15773
2011-11-16updated to newer template versionIOhannes m zmölnig
thats a unified diff against the current template/Makefile: --- ../../template/Makefile 2011-11-02 10:22:03.371518202 +0100 +++ Makefile 2011-11-16 18:23:00.467510299 +0100 @@ -1,22 +1,77 @@ ## Pd library template version 1.0.12 # For instructions on how to use this template, see: # http://puredata.info/docs/developer/MakefileTemplate -LIBRARY_NAME = template +LIBRARY_NAME = iemguts # add your .c source files, one object per file, to the SOURCES # variable, help files will be included automatically, and for GUI # objects, the matching .tcl file too -SOURCES = mycobject.c +SOURCES = \ + autoabstraction.c \ + canvasargs.c \ + canvasconnections.c \ + canvasdelete.c \ + canvasdollarzero.c \ + canvaserror.c \ + canvasindex.c \ + canvasname.c \ + canvasobjectposition.c \ + canvasposition.c \ + canvasselect.c \ + classtest.c \ + oreceive.c \ + propertybang.c \ + receivecanvas.c \ + savebangs.c \ + sendcanvas.c \ + try.c + +HELPPATCHES = \ + help/autoabstraction-help.pd \ + help/canvasargs-help.pd \ + help/canvasconnections-help.pd \ + help/canvasdelete-help.pd \ + help/canvasdollarzero-help.pd \ + help/canvaserror-help.pd \ + help/canvasindex-help.pd \ + help/canvasname-help.pd \ + help/canvasobjectposition-help.pd \ + help/canvasposition-help.pd \ + help/canvasselect-help.pd \ + help/classtest-help.pd \ + help/oreceive-help.pd \ + help/propertybang-help.pd \ + help/receivecanvas-help.pd \ + help/savebangs-help.pd \ + help/sendcanvas-help.pd \ + help/try-help.pd # list all pd objects (i.e. myobject.pd) files here, and their helpfiles will # be included automatically -PDOBJECTS = mypdobject.pd +PDOBJECTS = # example patches and related files, in the 'examples' subfolder -EXAMPLES = bothtogether.pd +EXAMPLES = \ + 03.persistent_properties.pd \ + 04.moving_in_gem.pd \ + 05.flies.pd \ + 06.interacting_sound.pd \ + disconnectme.pd \ + fly.pd \ + FM~.pd \ + gemmover.pd \ + gopcanvas.pd \ + mover.pd \ + randomoffset.pd \ + randomwalk.pd \ + sink~.pd \ + valX~.pd \ + valY~.pd \ + versioning.pd + # manuals and related files, in the 'manual' subfolder -MANUAL = manual.txt +MANUAL = # if you want to include any other files in the source and binary tarballs, # list them here. This can be anything from header files, test patches, @@ -24,7 +79,7 @@ # automatically included EXTRA_DIST = - +VPATH=src #------------------------------------------------------------------------------# # @@ -66,8 +121,10 @@ INSTALL_DATA = $(INSTALL) -p -m 644 INSTALL_DIR = $(INSTALL) -p -m 755 -d -ALLSOURCES := $(SOURCES) $(SOURCES_android) $(SOURCES_cygwin) $(SOURCES_macosx) \ +ALLSOURCES_tmp = $(SOURCES) $(SOURCES_android) $(SOURCES_cygwin) $(SOURCES_macosx) \ $(SOURCES_iphoneos) $(SOURCES_linux) $(SOURCES_windows) +ALLSOURCES:=$(ALLSOURCES_tmp:%=src/%) + DISTDIR=$(LIBRARY_NAME)-$(LIBRARY_VERSION) ORIGDIR=pd-$(LIBRARY_NAME:~=)_$(LIBRARY_VERSION) @@ -234,7 +291,7 @@ SHARED_SOURCE ?= $(wildcard lib$(LIBRARY_NAME).c) SHARED_HEADER ?= $(shell test ! -e $(LIBRARY_NAME).h || echo $(LIBRARY_NAME).h) -SHARED_LIB = $(SHARED_SOURCE:.c=.$(SHARED_EXTENSION)) +SHARED_LIB = lib$(LIBRARY_NAME).$(SHARED_EXTENSION) SHARED_TCL_LIB = $(wildcard lib$(LIBRARY_NAME).tcl) .PHONY = install libdir_install single_install install-doc install-examples install-manual clean distclean dist etags $(LIBRARY_NAME) @@ -242,19 +299,19 @@ all: $(SOURCES:.c=.$(EXTENSION)) $(SHARED_LIB) %.o: %.c - $(CC) $(ALL_CFLAGS) -o "$*.o" -c "$*.c" + $(CC) $(ALL_CFLAGS) -o $@ -c $< %.$(EXTENSION): %.o $(SHARED_LIB) - $(CC) $(ALL_LDFLAGS) -o "$*.$(EXTENSION)" "$*.o" $(ALL_LIBS) $(SHARED_LIB) - chmod a-x "$*.$(EXTENSION)" + $(CC) $(ALL_LDFLAGS) -o $@ $^ $(ALL_LIBS) + chmod a-x $@ # this links everything into a single binary file $(LIBRARY_NAME): $(SOURCES:.c=.o) $(LIBRARY_NAME).o - $(CC) $(ALL_LDFLAGS) -o $(LIBRARY_NAME).$(EXTENSION) $(SOURCES:.c=.o) $(LIBRARY_NAME).o $(ALL_LIBS) - chmod a-x $(LIBRARY_NAME).$(EXTENSION) + $(CC) $(ALL_LDFLAGS) -o $@ $^ $(ALL_LIBS) + chmod a-x $@ $(SHARED_LIB): $(SHARED_SOURCE:.c=.o) - $(CC) $(SHARED_LDFLAGS) -o $(SHARED_LIB) $(SHARED_SOURCE:.c=.o) $(LIBS) + $(CC) $(SHARED_LDFLAGS) -o $@ $^ $(LIBS) install: libdir_install svn path=/trunk/externals/iem/iemguts/; revision=15772
2010-11-23classloader-help.pd doesn't exist so replaced with classtest-help.pdHans-Christoph Steiner
svn path=/trunk/externals/iem/iemguts/; revision=14507
2010-10-05added help stub for [autoabstraction]Roman Haefeli
svn path=/trunk/externals/iem/iemguts/; revision=14198
2010-10-05added help for [try]Roman Haefeli
svn path=/trunk/externals/iem/iemguts/; revision=14197
2010-10-05added help for [savebangs]Roman Haefeli
svn path=/trunk/externals/iem/iemguts/; revision=14196
2010-10-05added help for [receivecanvas]Roman Haefeli
svn path=/trunk/externals/iem/iemguts/; revision=14195
2010-10-05added help for [oreceive]Roman Haefeli
svn path=/trunk/externals/iem/iemguts/; revision=14194
2010-10-05changed filename of classloader-help.pd to classtest-help.pd to reflect the ↵Roman Haefeli
name of the external object class svn path=/trunk/externals/iem/iemguts/; revision=14193
2010-10-05added help for [canvasselect]Roman Haefeli
svn path=/trunk/externals/iem/iemguts/; revision=14192
2010-10-05added help for [canvasname]Roman Haefeli
svn path=/trunk/externals/iem/iemguts/; revision=14191
2010-10-05added help for [canvaserror]Roman Haefeli
svn path=/trunk/externals/iem/iemguts/; revision=14190
2010-10-05added help for [canvasconnections]Roman Haefeli
svn path=/trunk/externals/iem/iemguts/; revision=14189
2010-09-22fixed bug introduced by IOhannes' addition of unused HELPPATCHES variable thatHans-Christoph Steiner
stopped the help patches for abstractions from being installed svn path=/trunk/externals/iem/iemguts/; revision=14178
2010-09-15remove -mcpu/-mtune flags as it breaks x64 build. we should eventually ↵mescalinum
figure a way of determining automatically the CPU, but 'uname -m' doesn't tell the truth svn path=/trunk/externals/iem/iemguts/; revision=14145
2010-08-21an alternative Makefile based on template MakefileIOhannes m zmölnig
needed some hacks to make this work svn path=/trunk/externals/iem/iemguts/; revision=13883
2010-08-21this is getting analIOhannes m zmölnig
svn path=/trunk/externals/iem/iemguts/; revision=13882
2010-08-21renamed license fileIOhannes m zmölnig
svn path=/trunk/externals/iem/iemguts/; revision=13881
2010-06-21dummy install targetIOhannes m zmölnig
svn path=/trunk/externals/iem/iemguts/; revision=13683
2010-05-21a help-patch for [canvasdelete]IOhannes m zmölnig
while this includes the original help-patch by roman, it adds documentation for the core behaviour as well... svn path=/trunk/externals/iem/iemguts/; revision=13567
2010-04-01fixed erroneous mentioning of [canvasindex]IOhannes m zmölnig
svn path=/trunk/externals/iem/iemguts/; revision=13363
2010-04-01actually [propertybang] works for subpatches as wellIOhannes m zmölnig
svn path=/trunk/externals/iem/iemguts/; revision=13362
2010-04-01safe the old propertiesfn of the canvas-class and use that if we are calledIOhannes m zmölnig
erroneously svn path=/trunk/externals/iem/iemguts/; revision=13361
2010-01-16only update the GUI if the canvasposition has really changedIOhannes m zmölnig
svn path=/trunk/externals/iem/iemguts/; revision=13017
2009-10-12added "delete" message to canvas, so we can delete objects by indexIOhannes m zmölnig
svn path=/trunk/externals/iem/iemguts/; revision=12580
2009-07-20"fallback-object": [try foo 10, bar 5] will either behave as [foo 10] (if ↵IOhannes m zmölnig
this is possible) or as [bar 5]. currently only works with objectclasses (as opposed to abstractions) svn path=/trunk/externals/iem/iemguts/; revision=11878
2009-06-30put objectname in brackets;IOhannes m zmölnig
removed "strip" from the build-process: iemguts is a bit experimental, i'd rather have debugging symbols built in svn path=/trunk/externals/iem/iemguts/; revision=11838
2009-06-30a simple object that will print a trackable error to the console; the ↵IOhannes m zmölnig
"source" for the error will be the specified canvas svn path=/trunk/externals/iem/iemguts/; revision=11837
2009-06-23more and fixed docsIOhannes m zmölnig
svn path=/trunk/externals/iem/iemguts/; revision=11814
2009-06-23a kind of opposite of "sendcanvas"; but it really only receives the messages ↵IOhannes m zmölnig
from the gui svn path=/trunk/externals/iem/iemguts/; revision=11813
2009-06-23cleaned up a bit and removed docs from [canvasposition]IOhannes m zmölnig
svn path=/trunk/externals/iem/iemguts/; revision=11812
2009-06-23a help-patch for [canvasobjectposition]IOhannes m zmölnig
svn path=/trunk/externals/iem/iemguts/; revision=11811
2009-06-23similar to [canvasposition] this object returns the position of an arbitrary ↵IOhannes m zmölnig
object on a certain canvas (and let's you manipulate it) svn path=/trunk/externals/iem/iemguts/; revision=11810
2009-06-23check whether an object is already selected before re-selecting it in order ↵IOhannes m zmölnig
to avoid bogus warnings svn path=/trunk/externals/iem/iemguts/; revision=11809
2009-06-17applied luke's patch that shows that this object _is_ usefulIOhannes m zmölnig
svn path=/trunk/externals/iem/iemguts/; revision=11791
2009-06-09replaced -export_dynamic with --export-dynamic and -Wl,--export-dynamic whereHans-Christoph Steiner
appropriate. It seems that once upon a time -export_dynamic was a real flag. Now it means -e xport_dynamic, meaning set the entry symbol to xport_dynamic, giving this error message: /usr/bin/ld: warning: cannot find entry symbol xport_dynamic; defaulting to 0000000000001b60 svn path=/trunk/externals/iem/iemguts/; revision=11724
2009-04-09removed the MISSING_LOADER_T define-quirk and instead check whether the ↵IOhannes m zmölnig
Pd-version is at least 0.42; remove the -export_dynamic compiler flag svn path=/trunk/externals/iem/iemguts/; revision=10993
2009-04-08suspend DSP before deleting; much faster and less errors..IOhannes m zmölnig
svn path=/trunk/externals/iem/iemguts/; revision=10985
2009-04-08...IOhannes m zmölnig
svn path=/trunk/externals/iem/iemguts/; revision=10984
2009-03-26query (and display) information on whether an iolet is signal/nonsignalIOhannes m zmölnig
svn path=/trunk/externals/iem/iemguts/; revision=10904
2009-03-26first implementation of querying objects on the canvas by their name OR ↵IOhannes m zmölnig
their index; LATER: add separate search for class (now it's combined with name-search) LATER: find a more flexible and easy to parse output scheme svn path=/trunk/externals/iem/iemguts/; revision=10903
2009-01-28avoid double triggeringIOhannes m zmölnig
svn path=/trunk/externals/iem/iemguts/; revision=10668
2009-01-28an object to de/select objects on the parent; IOhannes m zmölnig
it also adds messages to the canvas to do so svn path=/trunk/externals/iem/iemguts/; revision=10667
2009-01-28removed unneeded includesIOhannes m zmölnig
svn path=/trunk/externals/iem/iemguts/; revision=10666
2009-01-28an object that can delete itself (or it's parent)IOhannes m zmölnig
svn path=/trunk/externals/iem/iemguts/; revision=10664
2008-12-22fixed typo and apparent nonsenseIOhannes m zmölnig
svn path=/trunk/externals/iem/iemguts/; revision=10455
2008-12-22explain the use of PDROOTIOhannes m zmölnig
svn path=/trunk/externals/iem/iemguts/; revision=10454
2008-12-10better function-name (i couldn't remember what the autoabstraction_save() ↵IOhannes m zmölnig
function was meant to do...) svn path=/trunk/externals/iem/iemguts/; revision=10434
2008-12-02lineup objectsIOhannes m zmölnig
svn path=/trunk/externals/iem/iemguts/; revision=10411
2008-11-28better spacingIOhannes m zmölnig
svn path=/trunk/externals/iem/iemguts/; revision=10401