# # Salamander Distribution System Makefile # # G. Robert Malan (rmalan@eecs.umich.edu) # 3/1/97 # # $Id: Makefile,v 1.35 1997/07/03 03:52:28 rmalan Exp $ # # Change these libs for your machine. These are for Solaris. # BASE_LIBS= -R/usr/ucblib -L/usr/ucblib -lnsl -lsocket APP_LIBS= ${BASE_LIBS} -L. -lsalamander APP_FLAGS = TARGETS= \ libsalamander.a \ salamanderSupplier LIBSALAMANDER_OBJS = \ salamanderInterface.o \ salamanderUtil.o \ propertyList.o SUPPLIER_OBJS= \ libsalamander.a \ salamanderSupplier.o all: ${TARGETS} libsalamander.a: ${LIBSALAMANDER_OBJS} ar rc libsalamander.a ${LIBSALAMANDER_OBJS} ranlib libsalamander.a salamanderSupplier: ${SUPPLIER_OBJS} gcc -o salamanderSupplier ${APP_FLAGS} ${SUPPLIER_OBJS} ${APP_LIBS} clean: rm -f ${TARGETS} ${SERVER_OBJS} ${ADMIN_OBJS} ${CLIENT_OBJS} \ ${SUPPLIER_OBJS} ${ARCHIVE_OBJS} ${LIBSALAMANDER_OBJS} propertyList.o: propertyList.c gcc -g -c ${SERVER_FLAGS} propertyList.c salamanderInterface.o: salamanderInterface.c gcc -g -c ${APP_FLAGS} salamanderInterface.c salamanderUtil.o: salamanderUtil.c gcc -g -c ${SERVER_FLAGS} salamanderUtil.c salamanderSupplier.o: salamanderSupplier.c gcc -g -c ${APP_FLAGS} salamanderSupplier.c # DO NOT DELETE THIS LINE -- make depend depends on it.