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