# # 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.8 $ # $Date: 2003-12-09 16:10:01 $ # $Log: not supported by cvs2svn $ # Revision 1.6 2003/02/13 21:13:19 werner # Adjusted makefile to new AMira CVS structure # # Revision 1.5 2000/02/03 13:28:33 werner # corrected false copy&paste # # Revision 1.4 2000/02/03 11:03:30 werner # temporary hack # # Revision 1.3 1999/11/03 18:43:14 werner # extension changed from .cc into .cpp # # Revision 1.2 1999/10/29 11:47:34 werner # Extended functionality # # Revision 1.1 1999/10/18 11:09:56 werner # Interface GNUmakefile # # 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 = RemoteIO PACKAGE = RemoteIO SUBDIRS=src all.dtor=remove-config visible include $(VPATH)../GNUmakefile.rules INCLUDES+=-I$(VPATH)src/ CXXFLAGS_Debug=-DVERBOSE CXXFLAGS += $(TCPXX_FLAGS) $(CXXFLAGS_${MAKE_CFG}) LIBS += $(TCPXX_LIB) # # 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/RemoteIO/src -I$$(MAKE_ROOT)/src/numrel/RemoteIO/src else TARGET_FLAGS=-I$$(MAKE_LOCAL)/external/RemoteIO/src -I$$(MAKE_ROOT)/external/RemoteIO/src endif else TARGET_FLAGS=-I$$(MAKE_LOCAL)/RemoteIO/src -I$$(MAKE_ROOT)/RemoteIO/src endif