# Name: Makefile
# Project: Sharity
# Author: Christian Starkjohann <cs@obdev.at>
# Creation Date: 2001-10-30
# Tabsize: 4
# Copyright: (c) 2001 by Christian Starkjohann, all rights reserved.
#     For details of the license see the file doc/License.txt.
# This Revision: $Id: Makefile,v 1.1 2001/11/06 09:50:35 cs Exp $

include $(ROOT)Makefile.config

INCLUDEFLAGS = -I. -I../nfs2 -I$(ROOT)mainFramework -I$(ROOT)foundation

OBJ =	nfs3.o nfs3fileadapter.o nfs3print.o nfs3xdr.o

PROGRAM = $(ROOT)libs/nfs3.a

all:	$(PROGRAM)

.c.o:
	$(CC) $(CFLAGS) $(INCLUDEFLAGS) $(SSLFLAGS) -c $*.c -o $*.o

clean:
	rm -f *.o $(PROGRAM)

$(PROGRAM): $(OBJ)
	rm -f $@
	ar rc $@ $(OBJ)
	$(RANLIB) $@

# the following can be used to see which symbols from other modules are
# referenced:
checkSymbols: $(OBJ)
	$(CC) $(CFLAGS) -o $@ $(OBJ) $(LIBS)
