From aeb928eebc66aa716cb53aac682e4a331ed8198f Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 14 May 2010 02:48:03 +0000 Subject: first steps towards porting to template Makefile and debianizing, split up randomix.c into separete files for each objectclass, much left to do svn path=/trunk/; revision=13540 --- externals/Makefile | 28 ++++++---------------------- externals/build/src/dist_normal.c | 1 - externals/build/src/random1.c | 1 - externals/build/src/random_fl.c | 1 - externals/build/src/random_icg.c | 1 - externals/build/src/random_tw.c | 1 - 6 files changed, 6 insertions(+), 27 deletions(-) delete mode 100644 externals/build/src/dist_normal.c delete mode 100644 externals/build/src/random1.c delete mode 100644 externals/build/src/random_fl.c delete mode 100644 externals/build/src/random_icg.c delete mode 100644 externals/build/src/random_tw.c (limited to 'externals') diff --git a/externals/Makefile b/externals/Makefile index a31577ae..43752a55 100644 --- a/externals/Makefile +++ b/externals/Makefile @@ -412,30 +412,14 @@ creb_clean: #------------------------------------------------------------------------------# # CXC -CXC_NAME=cxc -CXC_OBJECTS := $(wildcard $(externals_src)/cxc/???*.c) -cxc: $(CXC_OBJECTS:.c=.$(EXTENSION)) - -cxc_install: cxc - install -d $(DESTDIR)$(objectsdir)/$(CXC_NAME) - $(scripts_src)/generate-libdir-metafile.sh $(DESTDIR)$(objectsdir) $(CXC_NAME) \ - --author "jdl@xdv.org" \ - --description "" \ - --license "" \ - --version "" - install -p $(CXC_OBJECTS:.c=.$(EXTENSION)) $(DESTDIR)$(objectsdir)/$(CXC_NAME) - install -p $(wildcard $(externals_src)/cxc/reference/*.pd) \ - $(DESTDIR)$(objectsdir)/$(CXC_NAME) -# install -d $(DESTDIR)$(manualsdir)/$(CXC_NAME) - install -d $(DESTDIR)$(readmesdir) - install -p $(externals_src)/cxc/README \ - $(DESTDIR)$(readmesdir)/$(CXC_NAME).txt +cxc: + make -C $(externals_src)/cxc + +cxc_install: + make -C $(externals_src)/cxc DESTDIR="$(DESTDIR)" objectsdir="$(objectsdir)" install cxc_clean: - -rm -f -- $(CXC_OBJECTS:.c=.$(EXTENSION)) - -rm -f -- $(externals_src)/cxc/*.o - -rm -f -- $(externals_src)/cxc/*.bak - -rm -f -- $(externals_src)/cxc/*.*~ + make -C $(externals_src)/cxc clean #------------------------------------------------------------------------------# diff --git a/externals/build/src/dist_normal.c b/externals/build/src/dist_normal.c deleted file mode 100644 index a181c44c..00000000 --- a/externals/build/src/dist_normal.c +++ /dev/null @@ -1 +0,0 @@ -#include "../../cxc/randomix.c" diff --git a/externals/build/src/random1.c b/externals/build/src/random1.c deleted file mode 100644 index a181c44c..00000000 --- a/externals/build/src/random1.c +++ /dev/null @@ -1 +0,0 @@ -#include "../../cxc/randomix.c" diff --git a/externals/build/src/random_fl.c b/externals/build/src/random_fl.c deleted file mode 100644 index a181c44c..00000000 --- a/externals/build/src/random_fl.c +++ /dev/null @@ -1 +0,0 @@ -#include "../../cxc/randomix.c" diff --git a/externals/build/src/random_icg.c b/externals/build/src/random_icg.c deleted file mode 100644 index a181c44c..00000000 --- a/externals/build/src/random_icg.c +++ /dev/null @@ -1 +0,0 @@ -#include "../../cxc/randomix.c" diff --git a/externals/build/src/random_tw.c b/externals/build/src/random_tw.c deleted file mode 100644 index a181c44c..00000000 --- a/externals/build/src/random_tw.c +++ /dev/null @@ -1 +0,0 @@ -#include "../../cxc/randomix.c" -- cgit v1.2.1