aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/build/mac
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/flext/build/mac')
-rw-r--r--externals/grill/flext/build/mac/make-gcc.inc68
-rw-r--r--externals/grill/flext/build/mac/pd/config-gcc.def18
-rw-r--r--externals/grill/flext/build/mac/pd/make-gcc.inc43
3 files changed, 0 insertions, 129 deletions
diff --git a/externals/grill/flext/build/mac/make-gcc.inc b/externals/grill/flext/build/mac/make-gcc.inc
deleted file mode 100644
index ffb49720..00000000
--- a/externals/grill/flext/build/mac/make-gcc.inc
+++ /dev/null
@@ -1,68 +0,0 @@
-LDFLAGS += -Wl,-x -framework ApplicationServices -framework vecLib
-
-ifdef DEBUG
-CFLAGS += -g -D_DEBUG
-else
-CFLAGS += $(OFLAGS) -DNDEBUG
-LDFLAGS += -Wl,-S
-endif
-
-##############################################
-
-INCPATH += -I$(FLEXTPATH)
-LIBPATH += -L$(FLEXTPATH)
-
-ifdef SHARED
-# --- shared ---
-DEFS += -DFLEXT_SHARED
-
-else
-ifdef THREADED
-# --- static multi-threaded ---
-DEFS += -DFLEXT_THREADS
-
-else
-# --- static single-threaded ---
-
-endif
-endif
-
-##############################################
-
-TARGET=$(OUTPATH)/$(NAME).$(EXT)
-
-CSRCS=$(patsubst %.c,$(SRCDIR)/%.c,$(filter %.c,$(SRCS)))
-CPPSRCS=$(patsubst %.cpp,$(SRCDIR)/%.cpp,$(filter %.cpp,$(SRCS)))
-COBJS=$(patsubst %.c,$(OUTPATH)/%.o,$(filter %.c,$(SRCS)))
-CPPOBJS=$(patsubst %.cpp,$(OUTPATH)/%.opp,$(filter %.cpp,$(SRCS)))
-
-# default target
-all: $(OUTPATH) $(TARGET)
-
-$(CSRCS) $(CPPSRCS): $(patsubst %,$(SRCDIR)/%,$(HDRS))
- touch $@
-
-$(OUTPATH):
- mkdir $(OUTPATH)
-
-$(OUTPATH)/%.opp : $(SRCDIR)/%.cpp
- $(CXX) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@
-
-$(OUTPATH)/%.o : $(SRCDIR)/%.c
- $(CC) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@
-
-$(TARGET) : $(COBJS) $(CPPOBJS)
- $(CXX) $(LDFLAGS) $(LIBPATH) -o $@ $^ $(LIBS)
- chmod 755 $@
-
-$(INSTPATH):
- mkdir $(INSTPATH)
-
-install:: $(INSTPATH)
-
-install:: $(TARGET)
- install $^ $(INSTPATH)
-
-.PHONY: clean
-clean:
- $(RM) $(COBJS) $(CPPOBJS) $(TARGET)
diff --git a/externals/grill/flext/build/mac/pd/config-gcc.def b/externals/grill/flext/build/mac/pd/config-gcc.def
deleted file mode 100644
index 6409e901..00000000
--- a/externals/grill/flext/build/mac/pd/config-gcc.def
+++ /dev/null
@@ -1,18 +0,0 @@
-# where is the PD installation?
-PDPATH=/usr/local/lib/pd
-
-# where is the PD executable?
-PDBIN=/usr/local/bin/pd
-
-# where should the external be installed?
-INSTPATH=$(PDPATH)/extra
-
-# where do the flext headers and libraries reside?
-FLEXTPATH=$(PDPATH)/flext
-
-# where should the external be built?
-OUTPATH=pd-darwin
-
-# user defined compiler flags
-# (check if they match your system!)
-OFLAGS=-O2 -mcpu=G4 -malign-natural -maltivec -faltivec
diff --git a/externals/grill/flext/build/mac/pd/make-gcc.inc b/externals/grill/flext/build/mac/pd/make-gcc.inc
deleted file mode 100644
index 560c6ebb..00000000
--- a/externals/grill/flext/build/mac/pd/make-gcc.inc
+++ /dev/null
@@ -1,43 +0,0 @@
-DEFS += -DFLEXT_SYS=2
-
-INCPATH += -I$(PDPATH)/src
-LIBPATH += -L$(PDPATH)/bin
-
-LDFLAGS += -bundle -bundle_loader $(PDBIN)
-
-LIBS +=
-
-EXT=pd_darwin
-
-#########################################
-
-ifdef SHARED
-# --- shared ---
-
-ifdef DEBUG
-LIBS += -lflext_d
-else
-LIBS += -lflext
-endif
-
-else
-ifdef THREADED
-# --- static multi-threaded ---
-
-ifdef DEBUG
-LIBS += $(FLEXTPATH)/libflext_td.a
-else
-LIBS += $(FLEXTPATH)/libflext_t.a
-endif
-
-else
-# --- static single-threaded ---
-
-ifdef DEBUG
-LIBS += $(FLEXTPATH)/libflext_d.a
-else
-LIBS += $(FLEXTPATH)/libflext.a
-endif
-
-endif
-endif