/
2.0.4beta/doc/
2.0.4beta/gnu/
2.0.4beta/sha/
# Library of various GNU routines for TeenyMUD II
#
#		       This file is part of TeenyMUD II.
#	    Copyright(C) 1995 by Jason Downs.  All rights reserved.
# 
# TeenyMUD II is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# TeenyMUD II is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program (see the file 'COPYING'); if not, write to
# the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
# MA 02111-1307, USA.
#

srcdir = @srcdir@
VPATH = @srcdir@

SHELL = /bin/sh

CC=	@CC@
RANLIB=	@RANLIB@
CFLAGS=	${COPTS} -I.. -I${srcdir}/.. -I${srcdir} -DHAVE_CONFIG_H

OBJ = getopt.o getopt1.o

SRCS = getopt.c getopt1.c

HDRS = ../autoconf.h ${srcdir}/../config.h ${srcdir}/getopt.h

all: gnu.a

clean:
	-rm -f *.o gnu.a

real-clean:
	-rm -r *.o gnu.a Makefile

gnu.a: ${P} ${OBJ}
	-rm -f gnu.a
	ar q gnu.a `@LORDER@ ${OBJ} | tsort`
#	ar q gnu.a ${OBJ}
	${RANLIB} gnu.a

getopt.o: ${srcdir}/getopt.h
getopt1.o: ${srcdir}/getopt.h
${srcdir}/../config.h: ../autoconf.h