Makefile revision 919
1247N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
1247N/A# Use is subject to license terms.
1247N/A#
1247N/A# Permission is hereby granted, free of charge, to any person obtaining a
1247N/A# copy of this software and associated documentation files (the "Software"),
1247N/A# to deal in the Software without restriction, including without limitation
1247N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
1247N/A# and/or sell copies of the Software, and to permit persons to whom the
1247N/A# Software is furnished to do so, subject to the following conditions:
1247N/A#
1247N/A# The above copyright notice and this permission notice (including the next
1247N/A# paragraph) shall be included in all copies or substantial portions of the
1247N/A# Software.
1247N/A#
1247N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1247N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1247N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
1247N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1247N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
1247N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
1247N/A# DEALINGS IN THE SOFTWARE.
1247N/A#
1247N/A
1247N/ASRCS = cmap_alloc.c
1247N/AOBJS = $(SRCS:.c=.o)
1247N/A
1247N/Acmap_alloc: $(OBJS)
1247N/A $(LD) -o $@ $(CFLAGS) $(LDFLAGS) $(OBJS) -lX11
1247N/A
1247N/Ainstall: cmap_alloc
1247N/A mkdir -p $(DESTDIR)$(PREFIX)/bin $(DESTDIR)$(PREFIX)/share/man/man1
1247N/A $(INSTALL) cmap_alloc $(DESTDIR)$(PREFIX)/bin
1247N/A $(INSTALL) cmap_alloc.1 $(DESTDIR)$(PREFIX)/share/man/man1
1247N/A