aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2002-04-05 17:12:24 +0000
committerjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2002-04-05 17:12:24 +0000
commitccd862d20b63013401472d1f1442b4f54dc6220d (patch)
treed1015369c8ff28c833acd2719a375f518d4fcc8a
parent97825beb45cf867aee802ee33f12136b0af93914 (diff)
don't want this -- now we're building as part of Cactus
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@436 f88db872-0e4f-0410-b76b-b9085cfa78c5
-rw-r--r--src/patch/Makefile98
1 files changed, 0 insertions, 98 deletions
diff --git a/src/patch/Makefile b/src/patch/Makefile
deleted file mode 100644
index f7ea1e2..0000000
--- a/src/patch/Makefile
+++ /dev/null
@@ -1,98 +0,0 @@
-# Makefile for AHFinderDirect src/util library
-# $Id: Makefile,v 1.8 2002-04-04 18:53:19 jthorn Exp $
-#
-# This Makefile can be called either as part of a Cactus build
-# (in which case it expects the usual Cactus Makefile variables to be
-# set), or directly from the command line (in which case it provides
-# default values for some variables).
-#
-# Arguments:
-# SRCDIR = Directory where the source code lives. Default is .
-# if variable isn't set from command line or environment.
-# CC, CXX = C and C++ compilers. Defaults are gcc and g++ if
-# variables aren't set from command line or environment.
-# CC_FLAGS, CXX_FLAGS = C++ compiler flags. Defaults are
-# $(STD_GCC_FLAGS) -I.. -g
-# and
-# $(STD_GXX_FLAGS) -I.. -g
-# if variables aren't set from command line or
-# environment.
-#
-# Targets:
-# lib ==> build libahfutil.a in the current directory
-# from all source files except test*
-# test ==> build test programs
-# clean ==> delete object files, test drivers
-# superclean ==> delete object files, test drivers, !library!
-#
-# Bugs:
-# - Dependencies on *.hh are omitted.
-#
-
-###############################################################################
-
-#
-# defaults if we're not called as part of a Cactus build
-#
-
-ifndef SRCDIR
-SRCDIR := .
-endif
-
-# these variables have defaults provided by Make itself, so instead of
-# "isn't set from command line or environment", we really just want
-# "has the default definition"
-ifeq ($(origin CC),default)
-CC := gcc
-endif
-ifeq ($(origin CXX),default)
-CXX := g++
-endif
-
-ifndef CFLAGS
-CFLAGS := $(STD_GCC_FLAGS) -I.. -g
-endif
-ifndef CXXFLAGS
-CXXFLAGS := $(STD_GXX_FLAGS) -I.. -g
-endif
-
-################################################################################
-
-# note '%' = wildcard character for $(filter-out ...)
-# but '*' = wildcard character for shell used by $(wildcard ...)
-LIB := libahfutil.a
-LIB_CFILES := $(filter-out $(SRCDIR)/test%, $(wildcard $(SRCDIR)/*.c))
-LIB_CCFILES := $(filter-out $(SRCDIR)/test%, $(wildcard $(SRCDIR)/*.cc))
-LIB_OFILES := $(LIB_CFILES:.c=.o) $(LIB_CCFILES:.cc=.o)
-
-TEST_CCFILES := $(wildcard test*.cc)
-TEST_BINARIES := $(TEST_CCFILES:.cc=)
-
-OTHER_LIBS := ../libinterp/libinterp.a ../jtutil/jtutil.a -lm
-
-###############################################################################
-
-.PHONY : lib
-lib : $(LIB)
-$(LIB) : $(LIB_OFILES)
- ar -rv $@ $^
- ranlib $@
-
-$(LIB_CFILES:.c=.o) : %.o : %.c
- $(CC) $(CFLAGS) -c -o $@ $<
-
-$(LIB_CCFILES:.cc=.o) : %.o : %.cc
- $(CXX) $(CXXFLAGS) -c -o $@ $<
-
-.PHONY : test
-test : $(TEST_BINARIES)
-$(TEST_BINARIES): %: %.cc libahfutil.a
- $(CXX) $(CXXFLAGS) -o $@ $^ $(OTHER_LIBS)
-
-.PHONY : clean
-clean :
- -rm -f *.o $(TEST_BINARIES)
-
-.PHONY : superclean
-superclean : clean
- -rm -f $(LIB)