# $Id: Makefile.in,v 1.22 1998/03/15 05:57:53 assar Exp $

srcdir		= @srcdir@
VPATH		= @srcdir@

SHELL		= /bin/sh

LN_S		= @LN_S@
INSTALL		= @INSTALL@
INSTALL_DATA	= @INSTALL_DATA@
MKINSTALLDIRS = @top_srcdir@/mkinstalldirs

prefix		= @prefix@
includedir	= @includedir@
BROKEN_SOCKET_H	= @krb_cv_header_sys_socket_h_broken@

@SET_MAKE@

HEADERS = socket.h

all: stamp-headers

Wall:
	$(MAKE) CFLAGS="-g -Wall -Wno-comment -Wmissing-prototypes -Wmissing-declarations -D__USE_FIXED_PROTOTYPES__"

install: all

uninstall:

clean:
	rm -f $(HEADERS) stamp-headers

mostlyclean:	clean
distclean:	clean
	rm -f Makefile config.status *~

realclean:	clean

socket.h:
	if test "$(BROKEN_SOCKET_H)" = yes; then \
	  $(LN_S) $(srcdir)/socket.x socket.h; \
	fi || true

stamp-headers:
	$(MAKE) $(HEADERS)
	touch stamp-headers

.PHONY: all Wall install uninstall clean mostlyclean distclean realclean
