Remove building with NOCRYPTO option
[minix.git] / external / mit / xorg / lib / libXaw / Makefile
blobe2498424543e9e7c19cb2ec1fc2b2afbf0088a52
1 # $NetBSD: Makefile,v 1.11 2015/07/19 07:55:07 mrg 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 \
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+= -DHAVE_WCHAR_H -DHAVE_WCTYPE_H -DNO_WIDEC_H -DHAVE_ISWALNUM
54 CPPFLAGS+= -DHAVE_GETPAGESIZE
55 CPPFLAGS+= -DHAVE_UNISTD_H
56 CPPFLAGS+= -DPROJECT_ROOT=\"${X11ROOTDIR}\" -DXAW7
57 CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11/Xaw
58 CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11/extensions
60 LIBDPLIBS=\
61 Xmu ${.CURDIR}/../libXmu \
62 Xt ${.CURDIR}/../libXt \
63 SM ${.CURDIR}/../libSM \
64 ICE ${.CURDIR}/../libICE \
65 Xpm ${.CURDIR}/../libXpm \
66 Xext ${.CURDIR}/../libXext \
67 X11 ${.CURDIR}/../libX11/dynamic
69 PKGCONFIG= xaw7
70 PKGDIST= ${LIBOLD}
72 .include <bsd.x11.mk>
73 .include <bsd.lib.mk>
75 # XXX
76 .if defined(HAVE_GCC)
77 COPTS.XawIm.c+= -Wno-error
78 .endif
80 CWARNFLAGS.clang+= -Wno-format