# $RCSfile: Makefile.in,v $ $Revision: 1.1 $ $Date: 2008/02/25 05:21:46 $ # $AIST_Release: 5.0.0 $ # $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. # $ include @MK_VARTMPL@ include $(TOPDIR)/src/lib/ExternalModule/defvar.mk CLIENT_SRCS = ngcrGT.c ngrGT.c CLIENT_OBJS = $(CLIENT_SRCS:.c=.o) REMOTE_SRCS = ngrrGT.c ngrGT.c REMOTE_OBJS = $(REMOTE_SRCS:.c=.o) OBJS = $(CLIENT_OBJS) $(REMOTE_OBJS) COMM_LIB = ../common/ngcpGTcommon.a CFLAGS += $(GLOBUS_CLIENT_CFLAGS) CPPFLAGS += $(GLOBUS_CLIENT_CPPFLAGS) INCLUDES += $(GLOBUS_CLIENT_INCLUDES) -I../common LIBS := $(COMM_LIB) $(LIBS) $(GLOBUS_CLIENT_LIBS) $(GLOBUS_CLIENT_PKG_LIBS) LDFLAGS += $(GLOBUS_CLIENT_LDFLAGS) CLIENT_RELAY = ng_client_relay.GT REMOTE_RELAY = ng_remote_relay.GT EXEC_TARGET = $(CLIENT_RELAY) $(REMOTE_RELAY) CLEAN_TARGET = $(EXEC_TARGET) all: $(CLIENT_RELAY) $(REMOTE_RELAY) server: $(REMOTE_RELAY) client: $(CLIENT_RELAY) $(CLIENT_RELAY): $(CLIENT_OBJS) $(COMM_LIB) $(CC) -o $@ $(CFLAGS) $(LDFLAGS) $(CLIENT_OBJS) $(LIBS) $(REMOTE_RELAY): $(REMOTE_OBJS) $(COMM_LIB) $(CC) -o $@ $(CFLAGS) $(LDFLAGS) $(REMOTE_OBJS) $(LIBS) $(COMM_LIB): cd ../common && $(MAKE) include $(TOPDIR)/src/lib/ExternalModule/defrules.mk include @MK_DEFRULE@ ngcrGT.o: ngcrGT.c ngrMain.h ngrGT.o: ngrGT.c ngrMain.h ngrrGT.o: ngrrGT.c ngrMain.h