Sync usage with man page.
[netbsd-mini2440.git] / external / mit / xorg / lib / libXaw / Makefile
blob6fdb97024200517a3fc2694a363fb4d420536825
1 # $NetBSD: Makefile,v 1.4 2009/04/03 16:21:08 perry Exp $
3 .include <bsd.own.mk>
5 LIB= Xaw7
6 LIBOLD= Xaw
8 .if ${MKSTATICLIB} != "no"
9 SYMLINKS= lib${LIB}.a ${X11USRLIBDIR}/lib${LIBOLD}.a
10 .endif
12 .if ${MKPROFILE} != "no"
13 SYMLINKS+= lib${LIB}_p.a ${X11USRLIBDIR}/lib${LIBOLD}_p.a
14 .endif
16 .if ${MKPIC} != "no"
17 SYMLINKS+= lib${LIB}.so ${X11USRLIBDIR}/lib${LIBOLD}.so
18 .endif
20 .PATH: ${X11SRCDIR.Xaw}/src
21 SRCS= Actions.c AllWidgets.c AsciiSink.c AsciiSrc.c \
22 AsciiText.c Box.c Command.c Converters.c Dialog.c \
23 DisplayList.c Form.c Grip.c Label.c List.c MenuButton.c \
24 MultiSrc.c MultiSink.c OS.c Paned.c Panner.c Pixmap.c \
25 Porthole.c Repeater.c Scrollbar.c Simple.c \
26 SimpleMenu.c Sme.c SmeBSB.c SmeLine.c StripChart.c \
27 Text.c TextSink.c TextSrc.c TextAction.c TextPop.c \
28 TextTr.c Tip.c Toggle.c Tree.c Vendor.c Viewport.c \
29 XawIm.c XawInit.c XawI18n.c sharedlib.c
31 .PATH: ${X11SRCDIR.Xaw}/man
32 MAN= Xaw.3
34 .PATH: ${X11SRCDIR.Xaw}/include/X11/Xaw
35 INCS= AllWidgets.h AsciiSink.h AsciiSinkP.h AsciiSrc.h \
36 AsciiSrcP.h AsciiText.h AsciiTextP.h Box.h BoxP.h \
37 Cardinals.h Command.h CommandP.h Dialog.h DialogP.h \
38 Form.h FormP.h Grip.h GripP.h Label.h LabelP.h List.h \
39 ListP.h MenuButton.h MenuButtoP.h MultiSrc.h MultiSrcP.h \
40 MultiSink.h MultiSinkP.h Paned.h PanedP.h Panner.h \
41 PannerP.h Porthole.h PortholeP.h Print.h PrintSP.h \
42 Repeater.h RepeaterP.h Reports.h Scrollbar.h ScrollbarP.h \
43 Simple.h SimpleP.h SimpleMenu.h SimpleMenP.h Sme.h SmeP.h \
44 SmeBSB.h SmeBSBP.h SmeLine.h SmeLineP.h StripChart.h \
45 StripCharP.h Template.c Template.h TemplateP.h Text.h \
46 TextP.h TextSink.h TextSinkP.h TextSrc.h TextSrcP.h \
47 Tip.h TipP.h Toggle.h ToggleP.h Tree.h TreeP.h VendorEP.h \
48 Viewport.h ViewportP.h XawImP.h XawInit.h
50 INCSDIR=${X11INCDIR}/X11/Xaw
53 CPPFLAGS+= -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DHAVE_ISWALNUM
54 CPPFLAGS+= -DPROJECT_ROOT=\"${X11ROOTDIR}\" -DXAW7
55 CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11/Xaw
56 CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11/extensions
58 LIBDPLIBS=\
59 Xmu ${.CURDIR}/../libXmu \
60 Xt ${.CURDIR}/../libXt \
61 SM ${.CURDIR}/../libSM \
62 ICE ${.CURDIR}/../libICE \
63 Xpm ${.CURDIR}/../libXpm \
64 Xext ${.CURDIR}/../libXext \
65 X11 ${.CURDIR}/../libX11/dynamic
67 PKGCONFIG= xaw7
68 PKGDIST= ${LIBOLD}
70 .include <bsd.x11.mk>
71 .include <bsd.lib.mk>