include ../Make.inc
include ../Make.rules

INSTALL_BASE=${NORDUGRID_LOCATION}
LIBS=-L${GLOBUS_LIBS} -lglobus_rsl_${GLOBUS_FLAVOR} -lglobus_common_${GLOBUS_FLAVOR} -lpthread
CPPLIBS=-lstdc++
INCLUDES=-I${GLOBUS_INCLUDES}
CC=gcc
CPP=g++
LD=ld
AR=ar r
PROGRAMS=libmisc.a
CFLAGS=-g -O0 -ansi
OBJECTS=delete.o canonical_dir.o inttostring.o stringtoint.o \
        substitute.o url_options.o escaped.o log_time.o job_log.o \
        globus_error_utils.o checkfile.o errors.o
OTHER_OBJECTS=

all: ${PROGRAMS}

libmisc.a: ${OBJECTS}
	${AR} libmisc.a ${OBJECTS}

clean:
	@rm -f ${PROGRAMS} ${OBJECTS} ${OTHER_OBJECTS}

install: ${PROGRAMS} 
	@echo "Actual installation is performed in base directory"
