Makefile revision 1381
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd#
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# Permission is hereby granted, free of charge, to any person obtaining a
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# copy of this software and associated documentation files (the "Software"),
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# to deal in the Software without restriction, including without limitation
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# the rights to use, copy, modify, merge, publish, distribute, sublicense,
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# and/or sell copies of the Software, and to permit persons to whom the
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# Software is furnished to do so, subject to the following conditions:
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd#
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# The above copyright notice and this permission notice (including the next
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# paragraph) shall be included in all copies or substantial portions of the
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# Software.
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd#
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd# DEALINGS IN THE SOFTWARE.
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd#
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd
3b3b7fc78d1f5bfc2769903375050048ff41ff26ndSRCS = \
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd cmc.c \
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd cmcdealloc.c \
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd cmcinit.c \
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd cmcshow.c \
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd cmcNeWSinit.c \
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd cmcdiscard.c \
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd cmcsave.c \
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd cmcutil.c
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndOBJS = $(SRCS:.c=.o)
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndcmap_compact: $(OBJS)
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd $(LD) -g -o $@ $(CFLAGS) $(LDFLAGS) $(OBJS) -lX11
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndinstall: cmap_compact
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd mkdir -p $(DESTDIR)$(PREFIX)/bin $(DESTDIR)$(PREFIX)/share/man/man1
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd $(INSTALL) -m 0555 cmap_compact $(DESTDIR)$(PREFIX)/bin
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd $(INSTALL) -m 0444 cmap_compact.1 $(DESTDIR)$(PREFIX)/share/man/man1
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd