1# $NetBSD: Makefile,v 1.2 2008/09/13 04:32:30 cube Exp $ 2 3.include <bsd.own.mk> 4 5LIB= Xmu 6.PATH: ${X11SRCDIR.${LIB}}/src 7.PATH: ${X11SRCDIR.${LIB}}/include/X11/Xmu 8 9SRCS= AllCmap.c Atoms.c ClientWin.c Clip.c CloseHook.c CmapAlloc.c \ 10 CrCmap.c CrPixFBit.c CursorName.c CvtCache.c CvtStdSel.c \ 11 DefErrMsg.c DelCmap.c DisplayQue.c Distinct.c DrRndRect.c \ 12 DrawLogo.c EditresCom.c ExtAgent.c FToCback.c GetHost.c \ 13 GrayPixmap.c Initer.c LocBitmap.c Lookup.c LookupCmap.c \ 14 Lower.c RdBitF.c ScrOfWin.c ShapeWidg.c StdCmap.c StrToBS.c \ 15 StrToBmap.c StrToCurs.c StrToGrav.c StrToJust.c StrToLong.c \ 16 StrToOrnt.c StrToShap.c StrToWidg.c UpdMapHint.c VisCmap.c \ 17 WidgetNode.c Xct.c 18 19INCS= Atoms.h CharSet.h CloseHook.h Converters.h CurUtil.h \ 20 CvtCache.h DisplayQue.h Drawing.h Editres.h EditresP.h \ 21 Error.h ExtAgent.h Initer.h Lookup.h Misc.h StdCmap.h \ 22 StdSel.h SysUtil.h WidgetNode.h WinUtil.h Xct.h Xmu.h \ 23 WhitePoint.h 24INCSDIR=${X11INCDIR}/X11/Xmu 25 26CPPFLAGS+= ${X11FLAGS.THREADLIB} 27CPPFLAGS+= -DHAS_SNPRINTF 28CPPFLAGS+= -DXTSTRINGDEFINES #XTODO is this correct? 29CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11/Xmu 30 31CPPFLAGS.CvtStdSel.c= ${X11FLAGS.CONNECTION} 32CPPFLAGS.LocBitmap.c= -DBITMAPDIR=\"${X11INCDIR}/X11/bitmaps\" 33 34LIBDPLIBS=\ 35 Xt ${.CURDIR}/../libXt \ 36 SM ${.CURDIR}/../libSM \ 37 ICE ${.CURDIR}/../libICE \ 38 Xext ${.CURDIR}/../libXext \ 39 X11 ${.CURDIR}/../libX11/dynamic 40 41PKGCONFIG= xmu xmuu 42PKGDIST= ${LIB} 43 44.include <bsd.x11.mk> 45.include <bsd.lib.mk> 46