# Name: Makefile
# Project: Sharity
# Author: Christian Starkjohann <cs@obdev.at>
# Creation Date: 1999-02-04
# Tabsize: 4
# Copyright: (c) 1999 by Christian Starkjohann, all rights reserved.
#     For details of the license see the file doc/License.txt.
# This Revision: $Id: Makefile,v 1.2 1999/04/13 15:48:16 cs Exp $

include $(ROOT)Makefile.config

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

OBJ =	nfs2.o sunrpc.o childtable.o nfsfileadapter.o nfslutable.o\
		nfslupseudo.o nfslookup.o

PROGRAM = $(ROOT)libs/nfs2.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)
