# Copyrighted as an unpublished work.
# (c) Copyright 1987 MANTICORE, INC.
# All rights reserved.
#
# RESTRICTED RIGHTS
#
# These programs are supplied under a license.  They may be used,
# disclosed, and/or copied only as permitted under such license
# agreement.  Any copy must contain the above copyright notice and
# this restricted rights notice.  Use, copying, and/or disclosure
# of the programs is strictly prohibited unless otherwise provided
# in the license agreement.

# ident "@(#)Makefile	1.2"
# ident "@(#) (c) Copyright MANTICORE, INC. 1987"

# This Makefile is used to set up the X directory local include file
# tree.

relink:
	rm -rf X sys netinet net *.h
	ln ../libcompat/strings.h .
	ln ../libdbm/dbm.h .
	touch netdb.h
	mkdir sys
	touch sys/socket.h
	touch sys/un.h
	cat /usr/include/sys/types.h ../libcompat/types.h >sys/types.h
	ln ../libcompat/file.h sys
	ln ../libcompat/ioctl.h sys
	ln ../libcompat/time.h sys
	mkdir netinet
	touch netinet/in.h
	mkdir net
	touch net/if.h
	mkdir X
	ln ../Xlib/Xlib.h X
	ln ../Xlib/Xkeyboard.h X
	ln ../Xlib/Xtext.h X
	ln ../Xlib/Xtty.h X
	ln ../X/X.h X
	ln ../X/rgb.h X
	ln ../X/Xproto.h X
	ln ../X/mit-copyright.h X
	ln ../XMenu/XMenu.h X
	ln ../xwd/XWDFile.h X
	mkdir X/cursors
	ln ../cursors/* X/cursors
