Makefile revision 911
1056N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
1056N/A# Use is subject to license terms.
1056N/A#
1056N/A# Permission is hereby granted, free of charge, to any person obtaining a
1276N/A# copy of this software and associated documentation files (the
1056N/A# "Software"), to deal in the Software without restriction, including
1056N/A# without limitation the rights to use, copy, modify, merge, publish,
1056N/A# distribute, and/or sell copies of the Software, and to permit persons
1056N/A# to whom the Software is furnished to do so, provided that the above
1056N/A# copyright notice(s) and this permission notice appear in all copies of
1056N/A# the Software and that both the above copyright notice(s) and this
1056N/A# permission notice appear in supporting documentation.
1056N/A#
1056N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
1056N/A# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
1056N/A# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
1276N/A# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
1056N/A# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
1056N/A# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
1056N/A# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
1056N/A# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
1056N/A# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1056N/A#
1056N/A# Except as contained in this notice, the name of a copyright holder
1056N/A# shall not be used in advertising or otherwise to promote the sale, use
1056N/A# or other dealings in this Software without prior written authorization
1056N/A# of the copyright holder.
1056N/A#
1056N/A
1056N/ASRCS = mkcookie.c
1056N/AOBJS = $(SRCS:.c=.o)
1056N/ACFLAGS1 = -DTCPCONN -DUNIXCONN -DIPv6
1056N/A
1056N/Amkcookie: $(OBJS)
1056N/A $(LD) -o $@ $(CFLAGS) $(CFLAGS1) $(LDFLAGS) $(OBJS) -lX11 -lXau -lnsl
1056N/A
1056N/Ainstall: mkcookie
1056N/A mkdir -p $(DESTDIR)$(PREFIX)/lib/X11
1056N/A $(INSTALL) mkcookie $(DESTDIR)$(PREFIX)/lib/X11
1056N/A