aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/makefile.pd-cygwin
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/flext/makefile.pd-cygwin')
-rw-r--r--externals/grill/flext/makefile.pd-cygwin130
1 files changed, 0 insertions, 130 deletions
diff --git a/externals/grill/flext/makefile.pd-cygwin b/externals/grill/flext/makefile.pd-cygwin
deleted file mode 100644
index 8c81f45a..00000000
--- a/externals/grill/flext/makefile.pd-cygwin
+++ /dev/null
@@ -1,130 +0,0 @@
-# flext - C++ layer for Max/MSP and pd (pure data) externals
-# Copyright (c) 2001-2004 Thomas Grill (xovo@gmx.net)
-#
-# Makefile for gcc @ cygwin
-#
-# usage:
-# to build run "make -f makefile.pd-cygwin"
-#
-# -----------------------------------------------------------
-
-
-CONFIG=config-pd-cygwin.txt
-MAKEFILE=makefile.pd-cygwin
-
-include $(CONFIG)
-
-
-# compiler+linker stuff
-# /usr/include before the PD path is necessary to include the right pthread files!
-INCLUDES=/usr/include $(PDPATH)/src
-
-FLAGS=-DFLEXT_SYS=2 $(UFLAGS)
-CFLAGS=-O2
-CFLAGS_D=-DFLEXT_DEBUG -g
-CFLAGS_T=-DFLEXT_THREADS
-CFLAGS_S=-DFLEXT_SHARED -DFLEXT_EXPORTS
-
-PDLIBS=$(PDPATH)/bin/pd.dll $(PDPATH)/bin/pthreadVC.dll
-
-INSTDIR=$(PDPATH)/flext
-
-# ----------------------------------------------
-# the rest can stay untouched
-# ----------------------------------------------
-
-NAME=flext
-SRCDIR=source
-
-# all the source files from the package
-include make-files.txt
-
-ifdef SNDOBJ
-INCLUDES+=$(SNDOBJ)
-SRCS+=$(SRCS_SNDOBJ)
-HDRS+=$(HDRS_SNDOBJ)
-endif
-
-ifdef STK
-INCLUDES+=$(STK)
-SRCS+=$(SRCS_STK)
-HDRS+=$(HDRS_STK)
-endif
-
-
-TARGET=$(TARGDIR)/$(NAME)-pdwin.a
-TARGET_D=$(TARGDIR)/$(NAME)_d-pdwin.a
-TARGET_T=$(TARGDIR)/$(NAME)_t-pdwin.a
-TARGET_TD=$(TARGDIR)/$(NAME)_td-pdwin.a
-TARGET_S=$(TARGDIR)/$(NAME).dll
-TARGET_SD=$(TARGDIR)/$(NAME)_d.dll
-
-TARGETS=$(TARGET) $(TARGET_D) $(TARGET_T) $(TARGET_TD) $(TARGET_S) $(TARGET_SD)
-
-
-all: $(TARGDIR) $(TARGETS)
-
-$(TARGDIR):
- -mkdir $(TARGDIR)
-
-$(SRCS): $(HDRS) $(IHDRS) $(MAKEFILE) $(CONFIG)
- touch $@
-
-$(TARGDIR)/%.ro : $(SRCDIR)/%.cpp
- $(CXX) -c $(CFLAGS) $(FLAGS) $(patsubst %,-I%,$(INCLUDES) $(SRCDIR)) $< -o $@
-
-$(TARGDIR)/%.do : $(SRCDIR)/%.cpp
- $(CXX) -c $(CFLAGS_D) $(FLAGS) $(patsubst %,-I%,$(INCLUDES) $(SRCDIR)) $< -o $@
-
-$(TARGDIR)/%.tro : $(SRCDIR)/%.cpp
- $(CXX) -c $(CFLAGS) $(CFLAGS_T) $(FLAGS) $(patsubst %,-I%,$(INCLUDES) $(SRCDIR)) $< -o $@
-
-$(TARGDIR)/%.tdo : $(SRCDIR)/%.cpp
- $(CXX) -c $(CFLAGS_D) $(CFLAGS_T) $(FLAGS) $(patsubst %,-I%,$(INCLUDES) $(SRCDIR)) $< -o $@
-
-$(TARGDIR)/%.sro : $(SRCDIR)/%.cpp
- $(CXX) -c $(CFLAGS) $(CFLAGS_S) $(FLAGS) $(patsubst %,-I%,$(INCLUDES) $(SRCDIR)) $< -o $@
-
-$(TARGDIR)/%.sdo : $(SRCDIR)/%.cpp
- $(CXX) -c $(CFLAGS_D) $(CFLAGS_S) $(FLAGS) $(patsubst %,-I%,$(INCLUDES) $(SRCDIR)) $< -o $@
-
-
-$(TARGET) : $(patsubst %.cpp,$(TARGDIR)/%.ro,$(SRCS))
- $(AR) rc $@ $^
- chmod 644 $@
-
-$(TARGET_D) : $(patsubst %.cpp,$(TARGDIR)/%.do,$(SRCS))
- $(AR) rc $@ $^
- chmod 644 $@
-
-$(TARGET_T) : $(patsubst %.cpp,$(TARGDIR)/%.tro,$(SRCS))
- $(AR) rc $@ $^
- chmod 644 $@
-
-$(TARGET_TD) : $(patsubst %.cpp,$(TARGDIR)/%.tdo,$(SRCS))
- $(AR) rc $@ $^
- chmod 644 $@
-
-$(TARGET_S) : $(patsubst %.cpp,$(TARGDIR)/%.sro,$(SRCS))
- $(CXX) -shared $(patsubst %,-L%,$(LIBPATH)) -o $@ $^ $(PDLIBS)
- strip --strip-unneeded $@
- chmod 755 $@
-
-$(TARGET_SD) : $(patsubst %.cpp,$(TARGDIR)/%.sdo,$(SRCS))
- $(CXX) -g -shared $(patsubst %,-L%,$(LIBPATH)) -o $@ $^ $(PDLIBS)
- chmod 755 $@
-
-
-.PHONY: clean install
-clean:
- rm -f $(TARGDIR)/*.o $(TARGETS)
-
-ifdef INSTDIR
-$(INSTDIR):
- -mkdir $(INSTDIR)
-
-install:: $(INSTDIR)
-endif
-
-install:: $(TARGETS) $(patsubst %,$(SRCDIR)/%,$(HDRS))
- cp $^ $(INSTDIR)