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