Age | Commit message (Collapse) | Author |
|
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
|
|
svn path=/trunk/externals/iem/iemguts/; revision=14507
|
|
svn path=/trunk/externals/iem/iemguts/; revision=14198
|
|
svn path=/trunk/externals/iem/iemguts/; revision=14197
|
|
svn path=/trunk/externals/iem/iemguts/; revision=14196
|
|
svn path=/trunk/externals/iem/iemguts/; revision=14195
|
|
svn path=/trunk/externals/iem/iemguts/; revision=14194
|
|
name of the external object class
svn path=/trunk/externals/iem/iemguts/; revision=14193
|
|
svn path=/trunk/externals/iem/iemguts/; revision=14192
|
|
svn path=/trunk/externals/iem/iemguts/; revision=14191
|
|
svn path=/trunk/externals/iem/iemguts/; revision=14190
|
|
svn path=/trunk/externals/iem/iemguts/; revision=14189
|
|
stopped the help patches for abstractions from being installed
svn path=/trunk/externals/iem/iemguts/; revision=14178
|
|
figure a way of determining automatically the CPU, but 'uname -m' doesn't tell the truth
svn path=/trunk/externals/iem/iemguts/; revision=14145
|
|
needed some hacks to make this work
svn path=/trunk/externals/iem/iemguts/; revision=13883
|
|
svn path=/trunk/externals/iem/iemguts/; revision=13882
|
|
svn path=/trunk/externals/iem/iemguts/; revision=13881
|
|
svn path=/trunk/externals/iem/iemguts/; revision=13683
|
|
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
|
|
svn path=/trunk/externals/iem/iemguts/; revision=13363
|
|
svn path=/trunk/externals/iem/iemguts/; revision=13362
|
|
erroneously
svn path=/trunk/externals/iem/iemguts/; revision=13361
|
|
svn path=/trunk/externals/iem/iemguts/; revision=13017
|
|
svn path=/trunk/externals/iem/iemguts/; revision=12580
|
|
this is possible) or as [bar 5].
currently only works with objectclasses (as opposed to abstractions)
svn path=/trunk/externals/iem/iemguts/; revision=11878
|
|
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
|
|
"source" for the error will be the specified canvas
svn path=/trunk/externals/iem/iemguts/; revision=11837
|
|
svn path=/trunk/externals/iem/iemguts/; revision=11814
|
|
from the gui
svn path=/trunk/externals/iem/iemguts/; revision=11813
|
|
svn path=/trunk/externals/iem/iemguts/; revision=11812
|
|
svn path=/trunk/externals/iem/iemguts/; revision=11811
|
|
object on a certain canvas (and let's you manipulate it)
svn path=/trunk/externals/iem/iemguts/; revision=11810
|
|
to avoid bogus warnings
svn path=/trunk/externals/iem/iemguts/; revision=11809
|
|
svn path=/trunk/externals/iem/iemguts/; revision=11791
|
|
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
|
|
Pd-version is at least 0.42;
remove the -export_dynamic compiler flag
svn path=/trunk/externals/iem/iemguts/; revision=10993
|
|
svn path=/trunk/externals/iem/iemguts/; revision=10985
|
|
svn path=/trunk/externals/iem/iemguts/; revision=10984
|
|
svn path=/trunk/externals/iem/iemguts/; revision=10904
|
|
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
|
|
svn path=/trunk/externals/iem/iemguts/; revision=10668
|
|
it also adds messages to the canvas to do so
svn path=/trunk/externals/iem/iemguts/; revision=10667
|
|
svn path=/trunk/externals/iem/iemguts/; revision=10666
|
|
svn path=/trunk/externals/iem/iemguts/; revision=10664
|
|
svn path=/trunk/externals/iem/iemguts/; revision=10455
|
|
svn path=/trunk/externals/iem/iemguts/; revision=10454
|
|
function was meant to do...)
svn path=/trunk/externals/iem/iemguts/; revision=10434
|
|
svn path=/trunk/externals/iem/iemguts/; revision=10411
|
|
svn path=/trunk/externals/iem/iemguts/; revision=10401
|
|
svn path=/trunk/externals/iem/iemguts/; revision=10400
|