# # TCP++ Interface to the Makefile Configuration System, as # described and available at # # http://amira.zib.de/make/ # # This Makefile interfaces with Cactus' (www.cactuscode.org) make system, # such that TCP++ appears as a thorn in Cactus, but as an application # component within the makefile configuration system (e.g. a library). # # $Revision: 1.4 $ # $Date: 2003-02-13 21:12:21 $ # $Log: not supported by cvs2svn $ # Revision 1.3 2000/02/03 11:03:42 werner # temporary hack # # Revision 1.2 1999/11/03 18:40:52 werner # Forgot some file... # # Revision 1.1 1999/09/09 19:14:14 werner # TCP++ library can be used as cactus thorn and as application component (e.g. for # use within ZIB's Amira) # # # include $(VPATH)src/make.code.defn CC_OBJS = $(addprefix src/,$(SRCS:.cpp=.$O)) OBJS = $(subst .c,.$O,$(CC_OBJS)) TARGET = TCPXX PACKAGE = TCPXX SUBDIRS=src all.dtor=remove-config visible include $(VPATH)../GNUmakefile.rules # # Add a variable to the makefile configuration # # (comment: Using AMIRA_ROOT is not good here, better to introduce some # make variable for this. Will be done soon. Werner) # ifdef AMIRA_ROOT ifdef AMIRA_NUMREL TARGET_FLAGS=-I$$(MAKE_LOCAL)/src/numrel/TCPXX/src -I$$(MAKE_ROOT)/src/numrel/TCPXX/src else TARGET_FLAGS=-I$$(MAKE_LOCAL)/external/TCPXX/src -I$$(MAKE_ROOT)/external/TCPXX/src endif else TARGET_FLAGS=-I$$(MAKE_LOCAL)/TCPXX/src -I$$(MAKE_ROOT)/TCPXX/src endif