b8d2105c21
objdir builds in the src tree (i.e, without MAKEOBJDIR{,PREFIX}) work.
40 lines
1.3 KiB
Makefile
40 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.5 2004/08/05 01:28:48 lukem Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
LIB= Xmu
|
|
.PATH: ${X11SRCDIR.xc}/lib/${LIB}
|
|
|
|
SRCS= AllCmap.c Atoms.c ClientWin.c Clip.c CloseHook.c CmapAlloc.c \
|
|
CrCmap.c CrPixFBit.c CursorName.c CvtCache.c CvtStdSel.c \
|
|
DefErrMsg.c DelCmap.c DisplayQue.c Distinct.c DrRndRect.c \
|
|
DrawLogo.c EditresCom.c ExtAgent.c FToCback.c GetHost.c \
|
|
GrayPixmap.c Initer.c LocBitmap.c Lookup.c LookupCmap.c \
|
|
Lower.c RdBitF.c ScrOfWin.c ShapeWidg.c StdCmap.c StrToBS.c \
|
|
StrToBmap.c StrToCurs.c StrToGrav.c StrToJust.c StrToLong.c \
|
|
StrToOrnt.c StrToShap.c StrToWidg.c UpdMapHint.c VisCmap.c \
|
|
WidgetNode.c Xct.c
|
|
|
|
INCS= Atoms.h CharSet.h CloseHook.h Converters.h CurUtil.h \
|
|
CvtCache.h DisplayQue.h Drawing.h Editres.h EditresP.h \
|
|
Error.h ExtAgent.h Initer.h Lookup.h Misc.h StdCmap.h \
|
|
StdSel.h SysUtil.h WidgetNode.h WinUtil.h Xct.h Xmu.h
|
|
INCSDIR=${X11INCDIR}/X11/Xmu
|
|
|
|
CPPFLAGS+= ${X11FLAGS.THREADLIB}
|
|
CPPFLAGS+= -DHAS_SNPRINTF
|
|
CPPFLAGS+= -DXTSTRINGDEFINES #XTODO is this correct?
|
|
|
|
CPPFLAGS.CvtStdSel.c= ${X11FLAGS.CONNECTION}
|
|
CPPFLAGS.LocBitmap.c= -DBITMAPDIR=\"${X11INCDIR}/X11/bitmaps\"
|
|
|
|
LIBDPLIBS=\
|
|
Xt ${.CURDIR}/../Xt \
|
|
SM ${.CURDIR}/../SM \
|
|
ICE ${.CURDIR}/../ICE \
|
|
Xext ${.CURDIR}/../Xext \
|
|
X11 ${.CURDIR}/../X11/dynamic
|
|
|
|
.include <bsd.x11.mk>
|
|
.include <bsd.lib.mk>
|