44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
|
# $NetBSD: Makefile,v 1.8 2011/07/01 01:25:52 mrg Exp $
|
||
|
|
||
|
NOCHECKVER= yes # we want to install an older version ...
|
||
|
MKLINKLIB= no
|
||
|
|
||
|
.include <bsd.own.mk>
|
||
|
|
||
|
LIB= Xaw6
|
||
|
LIBOLD= Xaw
|
||
|
|
||
|
.PATH: ${X11SRCDIR.Xaw}/src
|
||
|
|
||
|
SRCS= Actions.c AllWidgets.c AsciiSink.c AsciiSrc.c AsciiText.c \
|
||
|
Box.c Command.c Converters.c Dialog.c DisplayList.c Form.c \
|
||
|
Grip.c Label.c List.c MenuButton.c MultiSink.c MultiSrc.c \
|
||
|
OS.c Paned.c Panner.c Pixmap.c Porthole.c Repeater.c \
|
||
|
Scrollbar.c Simple.c SimpleMenu.c Sme.c SmeBSB.c SmeLine.c \
|
||
|
StripChart.c Text.c TextAction.c TextPop.c TextSink.c \
|
||
|
TextSrc.c TextTr.c Toggle.c Tree.c Vendor.c Viewport.c \
|
||
|
XawI18n.c XawIm.c XawInit.c
|
||
|
|
||
|
CPPFLAGS+= -DHAVE_WCHAR_H -DHAVE_WCTYPE_H -DNO_WIDEC_H -DOLDXAW \
|
||
|
-DHAVE_GETPAGESIZE \
|
||
|
-DHAVE_ISWALNUM -DPROJECT_ROOT=\"${X11ROOTDIR}\"
|
||
|
|
||
|
LIBDPLIBS=\
|
||
|
Xmu ${.CURDIR}/../libXmu \
|
||
|
Xt ${.CURDIR}/../libXt \
|
||
|
SM ${.CURDIR}/../libSM \
|
||
|
ICE ${.CURDIR}/../libICE \
|
||
|
Xext ${.CURDIR}/../libXext \
|
||
|
X11 ${.CURDIR}/../libX11/dynamic
|
||
|
|
||
|
PKGCONFIG= xaw6
|
||
|
PKGDIST= ${LIBOLD}
|
||
|
|
||
|
.include <bsd.x11.mk>
|
||
|
.include <bsd.lib.mk>
|
||
|
|
||
|
# XXX
|
||
|
.if defined(HAVE_GCC)
|
||
|
COPTS.XawIm.c+= -Wno-error
|
||
|
.endif
|