Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

#	$NetBSD: Makefile,v 1.17 2021/05/30 02:20:09 joerg Exp $

.include <bsd.own.mk>

LIB=	Xaw7
LIBOLD=	Xaw

.if ${MKSTATICLIB} != "no"
SYMLINKS=	lib${LIB}.a ${X11USRLIBDIR}/lib${LIBOLD}.a
.endif

.if ${MKPROFILE} != "no"
SYMLINKS+=	lib${LIB}_p.a ${X11USRLIBDIR}/lib${LIBOLD}_p.a
.endif

.if ${MKPIC} != "no"
SYMLINKS+=	lib${LIB}.so ${X11USRLIBDIR}/lib${LIBOLD}.so
.endif

.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 \
	MultiSrc.c MultiSink.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 TextSink.c TextSrc.c TextAction.c TextPop.c \
	TextTr.c Tip.c Toggle.c Tree.c Vendor.c Viewport.c \
	XawIm.c XawInit.c XawI18n.c

.PATH:	${X11SRCDIR.Xaw}/man
MAN=	Xaw.3

.PATH:	${X11SRCDIR.Xaw}/include/X11/Xaw
INCS=	AllWidgets.h AsciiSink.h AsciiSinkP.h AsciiSrc.h \
	AsciiSrcP.h AsciiText.h AsciiTextP.h Box.h BoxP.h \
	Cardinals.h Command.h CommandP.h Dialog.h DialogP.h \
	Form.h FormP.h Grip.h GripP.h Label.h LabelP.h List.h \
	ListP.h MenuButton.h MenuButtoP.h MultiSrc.h MultiSrcP.h \
	MultiSink.h MultiSinkP.h Paned.h PanedP.h Panner.h \
	PannerP.h Porthole.h PortholeP.h \
	Repeater.h RepeaterP.h Reports.h Scrollbar.h ScrollbarP.h \
	Simple.h SimpleP.h SimpleMenu.h SimpleMenP.h Sme.h SmeP.h \
	SmeBSB.h SmeBSBP.h SmeLine.h SmeLineP.h StripChart.h \
	StripCharP.h Template.c Template.h TemplateP.h Text.h \
	TextP.h TextSink.h TextSinkP.h TextSrc.h TextSrcP.h \
	Tip.h TipP.h Toggle.h ToggleP.h Tree.h TreeP.h VendorEP.h \
	Viewport.h ViewportP.h XawImP.h XawInit.h

INCSDIR=${X11INCDIR}/X11/Xaw

.include "Makefile.common"

CPPFLAGS+=	-DXAW7 \
		-I${DESTDIR}${X11INCDIR}/X11/Xaw \
		-I${DESTDIR}${X11INCDIR}/X11/extensions

LIBDPLIBS+=\
	Xpm	${.CURDIR}/../libXpm

PKGCONFIG=	xaw7
PKGDIST=	${LIBOLD}

X11EXTRAMANTRANSFORMS+= \
	__docdir__		${X11LIBDIR}/doc

.include <bsd.x11.mk>
.include <bsd.lib.mk>