Drop main() prototype. Syncs with NetBSD-8
[minix.git] / external / mit / xorg / lib / libXmu / Makefile
blob26d13076592b5648db6e156628aeb1cf4cca145a
1 # $NetBSD: Makefile,v 1.3 2010/11/21 06:01:50 mrg Exp $
3 .include <bsd.own.mk>
5 LIB= Xmu
6 .PATH: ${X11SRCDIR.${LIB}}/src
7 .PATH: ${X11SRCDIR.${LIB}}/include/X11/Xmu
9 SRCS= 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
19 INCS= 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
24 INCSDIR=${X11INCDIR}/X11/Xmu
26 CPPFLAGS+= ${X11FLAGS.THREADLIB}
27 CPPFLAGS+= -DHAS_SNPRINTF
28 CPPFLAGS+= -DXTSTRINGDEFINES #XTODO is this correct?
29 CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11/Xmu
31 CPPFLAGS.CvtStdSel.c= ${X11FLAGS.CONNECTION}
32 CPPFLAGS.LocBitmap.c= -DBITMAPDIR=\"${X11INCDIR}/X11/bitmaps\"
34 LIBDPLIBS=\
35 Xt ${.CURDIR}/../libXt \
36 SM ${.CURDIR}/../libSM \
37 ICE ${.CURDIR}/../libICE \
38 Xext ${.CURDIR}/../libXext \
39 X11 ${.CURDIR}/../libX11/dynamic
41 PKGCONFIG= xmu xmuu
42 PKGDIST= ${LIB}
44 .include <bsd.x11.mk>
45 .include <bsd.lib.mk>