# $RCSfile: defvar.mk.in,v $ $Revision: 1.6 $ $Date: 2003/12/15 05:10:00 $ # $AIST_Release: 4.2.4 $ # $AIST_Copyright: # Copyright 2003, 2004, 2005, 2006 Grid Technology Research Center, # National Institute of Advanced Industrial Science and Technology # Copyright 2003, 2004, 2005, 2006 National Institute of Informatics # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # $ # --------------------------------------------------------- # System macro: DON'T CHANGE!!! JUST USE IT. TOPDIR = @TOPDIR@ prefix = @prefix@ RM = @RM@ AR = @AR@ RANLIB = @RANLIB@ INSTALL = @INSTALLCOM@ MKDIR = @MKDIRCOM@ YACC = @YACCCOM@ GCCINC = -I`case "$(CC)" in *gcc) echo \`$(CC) -v 2>&1 | grep specs | sed 's/specs$$/include/' | awk '{ print $$NF }'\`;; esac` CC = @CC@ CPP = @CPP@ # Top include NG_INCDIR = @NG_INCDIR@ # NS DEFS NG_DEFS = -DCOMPILER='"$(CC)"' -DCPP_FILE='"@CPPCOM@"' # XML include XML_INCDIR = -I$(TOPDIR)/c/expat/xmlparse # Globus include GLOBUS_INCDIR = @GLOBUS_INCDIR@ # All package include PKG_INCDIR = $(XML_INCDIR) $(GLOBUS_INCDIR) # Overall cpp flags CONF_CPPFLAGS = @DEFS@ $(NG_DEFS) @CPPFLAGS@ $(NG_INCDIR) $(PKG_INCDIR) CONF_CFLAGS = @CFLAGS@ CONF_LDFLAGS = @LDFLAGS@ # Math library MATH_LIBS = @MATH_LIBS@ # Socket library SOCK_LIBS = @SOCK_LIBS@ # XDR library XDR_LIBS = @XDR_LIBS@ # Libraries for network transport with XDR TRANS_LIBS = $(SOCK_LIBS) $(XDR_LIBS) # XML library XML_LIBS = -L$(TOPDIR)/c/expat -lexpat # Globus libraries dir GLOBUS_LIBDIR = @GLOBUS_LIBDIR@ # All package libraries PKG_LIBS = $(XML_LIBS) # --------------------------------------------------------- # Default value of user editable macro # You should/can specify EXEC_TARGET and INSTALL_BINDIR for executable # install. # Executable target EXEC_TARGET = # Where EXEC_TARGET will be stored. INSTALL_BINDIR = $(prefix)/bin # You should/can specify LIB_TARGET and INSTALL_LIBDIR for library # install. # Library target LIB_TARGET = # Where LIB_TARGET will be stored. INSTALL_LIBDIR = $(prefix)/lib # You should/can specify INC_TARGET and INSTALL_INCDIR for include # file install. # Include file target INC_TARGET = # Where INC_TERGET will be stored. INSTALL_INCDIR = $(prefix)/include # You should/can specify DOC_TARGET and INSTALL_DOCDIR for # Document/template file install. # Document/template file target DOC_TARGET = # Where INC_TERGET will be stored. INSTALL_DOCDIR = $(prefix)/doc # You should/can specify ETC_TARGET and INSTALL_ETCDIR for # Configuration file install. # Configuration file target ETC_TARGET = # Where INC_TERGET will be stored. INSTALL_ETCDIR = $(prefix)/etc # C compiler flags CFLAGS = $(CONF_CFLAGS) # C preprosessor flags CPPFLAGS = $(CONF_CPPFLAGS) # Linker flags LDFLAGS = $(CONF_LDFLAGS) # makedepend flags DEPENDFLAGS = $(CPPFLAGS)