e214d537fb
<bsd.own.mk>, as we now set BINDIR,LIBDIR,MANDIR in <bsd.x11.mk> rather than using a hierarchy of Makefile.inc files just to include x11/Makefile.inc to get those variables.
36 lines
1.2 KiB
Makefile
36 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.3 2003/09/13 20:18:49 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\"
|
|
|
|
LDADD+= -lXt -lSM -lICE -lXext -lX11
|
|
DPADD+= ${LIBXT} ${LIBSM} ${LIBICE} ${LIBXEXT} ${LIBX11}
|
|
|
|
.include <bsd.x11.mk>
|
|
.include <bsd.lib.mk>
|