Makefile revision 919
080575042aba2197b425ebfd52061dea061a9aa1xy# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
080575042aba2197b425ebfd52061dea061a9aa1xy# Use is subject to license terms.
080575042aba2197b425ebfd52061dea061a9aa1xy#
080575042aba2197b425ebfd52061dea061a9aa1xy# Permission is hereby granted, free of charge, to any person obtaining a
080575042aba2197b425ebfd52061dea061a9aa1xy# copy of this software and associated documentation files (the "Software"),
080575042aba2197b425ebfd52061dea061a9aa1xy# to deal in the Software without restriction, including without limitation
080575042aba2197b425ebfd52061dea061a9aa1xy# the rights to use, copy, modify, merge, publish, distribute, sublicense,
080575042aba2197b425ebfd52061dea061a9aa1xy# and/or sell copies of the Software, and to permit persons to whom the
d5c3073dbbd835e1e9b7dca0c6c770cf3cc20afachenlu chen - Sun Microsystems - Beijing China# Software is furnished to do so, subject to the following conditions:
080575042aba2197b425ebfd52061dea061a9aa1xy#
080575042aba2197b425ebfd52061dea061a9aa1xy# The above copyright notice and this permission notice (including the next
080575042aba2197b425ebfd52061dea061a9aa1xy# paragraph) shall be included in all copies or substantial portions of the
080575042aba2197b425ebfd52061dea061a9aa1xy# Software.
080575042aba2197b425ebfd52061dea061a9aa1xy#
080575042aba2197b425ebfd52061dea061a9aa1xy# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
080575042aba2197b425ebfd52061dea061a9aa1xy# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
080575042aba2197b425ebfd52061dea061a9aa1xy# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
080575042aba2197b425ebfd52061dea061a9aa1xy# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
080575042aba2197b425ebfd52061dea061a9aa1xy# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
080575042aba2197b425ebfd52061dea061a9aa1xy# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
d5c3073dbbd835e1e9b7dca0c6c770cf3cc20afachenlu chen - Sun Microsystems - Beijing China# DEALINGS IN THE SOFTWARE.
f0f2c3a5cf65a61de34af42edac38b2a7bda3416Girish Moodalbail#
080575042aba2197b425ebfd52061dea061a9aa1xy
080575042aba2197b425ebfd52061dea061a9aa1xySRCS = AllWidgets.c AsciiSink.c AsciiText.c Box.c \
080575042aba2197b425ebfd52061dea061a9aa1xy Command.c Dialog.c Form.c Grip.c Label.c List.c MenuButton.c \
080575042aba2197b425ebfd52061dea061a9aa1xy MultiSink.c Paned.c Panner.c Porthole.c \
080575042aba2197b425ebfd52061dea061a9aa1xy Repeater.c Scrollbar.c Simple.c SimpleMenu.c Sme.c SmeBSB.c \
080575042aba2197b425ebfd52061dea061a9aa1xy SmeLine.c StripChart.c TextSrc.c \
080575042aba2197b425ebfd52061dea061a9aa1xy TextAction.c TextPop.c TextTr.c Toggle.c Tree.c Vendor.c \
080575042aba2197b425ebfd52061dea061a9aa1xy XawIm.c XawInit.c XawI18n.c sharedlib.c \
080575042aba2197b425ebfd52061dea061a9aa1xy Text.c TextSink.c Viewport.c AsciiSrc.c MultiSrc.c
080575042aba2197b425ebfd52061dea061a9aa1xyOBJS = $(SRCS:.c=.o)
080575042aba2197b425ebfd52061dea061a9aa1xy
080575042aba2197b425ebfd52061dea061a9aa1xyREQUIREDLIBS = -lX11 -lc -lXext -lXmu -lXt
080575042aba2197b425ebfd52061dea061a9aa1xy
080575042aba2197b425ebfd52061dea061a9aa1xyXLIB_CFLAGS:sh = pkg-config --cflags x11
080575042aba2197b425ebfd52061dea061a9aa1xy
080575042aba2197b425ebfd52061dea061a9aa1xylibXaw.so.5: $(OBJS)
080575042aba2197b425ebfd52061dea061a9aa1xy $(CC) -G -o $@ -h $@ $(CFLAGS) $(LDFLAGS) \
080575042aba2197b425ebfd52061dea061a9aa1xy $(OBJS) $(REQUIREDLIBS)
080575042aba2197b425ebfd52061dea061a9aa1xy
080575042aba2197b425ebfd52061dea061a9aa1xy.c.o:
080575042aba2197b425ebfd52061dea061a9aa1xy $(CC) -Kpic $(CFLAGS) $(XLIB_CFLAGS) $(CPPFLAGS) -c $<
080575042aba2197b425ebfd52061dea061a9aa1xy
080575042aba2197b425ebfd52061dea061a9aa1xyinstall: libXaw.so.5
080575042aba2197b425ebfd52061dea061a9aa1xy $(INSTALL) libXaw.so.5 $(DESTDIR)$(libdir)/libXaw.so.5
080575042aba2197b425ebfd52061dea061a9aa1xy