aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/buildsys/gnumake.mak
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2009-04-01 21:13:09 +0000
committerThomas Grill <xovo@users.sourceforge.net>2009-04-01 21:13:09 +0000
commit0ed7a8b68dd73e2b0473b8127aeca99f3bac9061 (patch)
tree5c67818b38a5cc2f9caa5ca7f8640ca356adf02b /externals/grill/flext/buildsys/gnumake.mak
parentbb4c7f6a245394d09dac9adfb2efb093d3d98452 (diff)
cleaned up grill externals - replaced with svn:externals to svn.grrrr.org/ext/trunk/
svn path=/trunk/; revision=10951
Diffstat (limited to 'externals/grill/flext/buildsys/gnumake.mak')
-rw-r--r--externals/grill/flext/buildsys/gnumake.mak142
1 files changed, 0 insertions, 142 deletions
diff --git a/externals/grill/flext/buildsys/gnumake.mak b/externals/grill/flext/buildsys/gnumake.mak
deleted file mode 100644
index efa0c273..00000000
--- a/externals/grill/flext/buildsys/gnumake.mak
+++ /dev/null
@@ -1,142 +0,0 @@
-# required settings:
-#
-# PLATFORM - win/mac/lnx
-# RTSYS - pd/max
-# COMPILER - msvc/gcc/mingw/cygwin
-# BUILDPATH including trailing /
-
-###############################################
-# package info
-
-ifndef PKGINFO
-PKGINFO=package.txt
-endif
-
-ifneq ($(PKGINFO),)
-include $(PKGINFO)
-endif
-
-ifndef NAME
-$(error "NAME variable must be defined (name of target)")
-endif
-
-ifndef SRCS
-$(error "SRCS variable must be defined (list of source files)")
-endif
-
-###############################################
-# check variables
-
-ifndef BUILDCLASS
-BUILDCLASS=ext
-endif
-
-ifndef BUILDMODE
-BUILDMODE=release
-endif
-
-ifndef BUILDTYPE
-BUILDTYPE=single
-endif
-
-##############################
-
-#ifndef TARGETMODE
-#TARGETMODE=$(BUILDMODE)
-#endif
-
-#ifndef TARGETTYPE
-#TARGETTYPE=$(BUILDTYPE)
-#endif
-
-###############################################
-
-ifeq ($(PLATFORM),win)
- # substitute eventual \ by /
- UBUILDPATH=$(subst \,/,$(BUILDPATH))
-else
- UBUILDPATH=$(BUILDPATH)
-endif
-
-###############################################
-
-SYSCONFIG=$(UBUILDPATH)config-$(PLATFORM)-$(RTSYS)-$(COMPILER).txt
-SYSDEFAULT=$(UBUILDPATH)$(PLATFORM)/$(RTSYS)/config-$(COMPILER).def
-
-OPTIONS=-f $(UBUILDPATH)gnumake-sub.mak \
- PLATFORM=$(PLATFORM) RTSYS=$(RTSYS) COMPILER=$(COMPILER) \
- BUILDPATH=$(UBUILDPATH) PKGINFO=$(PKGINFO) BUILDCLASS=$(BUILDCLASS)
-
-###############################################
-
-ifdef BUILDDIR
-USRCONFIG=config.txt
-USRDEFAULT=$(BUILDDIR)/config-$(PLATFORM).def
-
-USRMAKE=$(BUILDDIR)/gnumake-$(PLATFORM)-$(COMPILER).inc
-
-OPTIONS+=USRCONFIG=$(USRCONFIG) USRMAKE=$(USRMAKE)
-endif
-
-###############################################
-# include file describing default target dependencies
-
-.PHONY : all build clean install profile
-
-include $(BUILDPATH)targets.inc
-
-include $(BUILDPATH)targets-$(BUILDCLASS).inc
-
-###############################################
-
-.PRECIOUS: $(SYSCONFIG) $(USRCONFIG)
-
-$(SYSCONFIG): $(SYSDEFAULT)
-ifeq ($(COMPILER),mingw)
- @copy $(subst /,\,$<) $(subst /,\,$@)
-else
- @cp $< $@
-endif
- @echo -------------------------------------------------------------------------
- @echo A default system configuration file has been created.
- @echo Please edit $(SYSCONFIG)
- @echo to match your platform, then start again.
- @echo -------------------------------------------------------------------------
-ifeq ($(COMPILER),mingw)
- @exit 1
-else
- @false
-endif
-
-ifdef BUILDDIR
-$(USRCONFIG): $(USRDEFAULT)
-ifeq ($(COMPILER),mingw)
- @copy $(subst /,\,$<) $(subst /,\,$@)
-else
- @cp $< $@
-endif
- @echo -------------------------------------------------------------------------
- @echo A default package configuration file has been created.
- @echo Please edit $(USRCONFIG), then start again.
- @echo -------------------------------------------------------------------------
-ifeq ($(COMPILER),mingw)
- @exit 1
-else
- @false
-endif
-
-$(USRDEFAULT) $(USRMAKE):
- @echo -------------------------------------------------------------------------
- @echo Your combination of platform, system and compiler is not supported yet.
- @echo Required files:
- @echo $(USRDEFAULT)
- @echo and
- @echo $(USRMAKE)
- @echo -------------------------------------------------------------------------
-ifeq ($(COMPILER),mingw)
- @exit 1
-else
- @false
-endif
-
-endif