1 # $NetBSD: Makefile,v 1.11 2015/07/19 07:55:07 mrg Exp $
8 .if
${MKSTATICLIB} != "no"
9 SYMLINKS
= lib
${LIB}.a
${X11USRLIBDIR}/lib
${LIBOLD}.a
12 .if
${MKPROFILE} != "no"
13 SYMLINKS
+= lib
${LIB}_p.a
${X11USRLIBDIR}/lib
${LIBOLD}_p.a
17 SYMLINKS
+= lib
${LIB}.so
${X11USRLIBDIR}/lib
${LIBOLD}.so
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
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
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
77 COPTS.XawIm.c
+= -Wno-error
80 CWARNFLAGS.clang
+= -Wno-format