Drop main() prototype. Syncs with NetBSD-8
[minix.git] / external / mit / xorg / lib / libFS / Makefile
blobc830b4f7dc1f86ec128df37f3b7fa44d982fb751
1 # $NetBSD: Makefile,v 1.3 2012/04/04 10:59:45 joerg Exp $
3 .include <bsd.own.mk>
4 .if defined(__MINIX)
5 NOCLANGERROR= yes
6 NOGCCERROR= yes
7 .endif # defined(__MINIX)
9 LIB= FS
10 .PATH: ${X11SRCDIR.${LIB}}/src
11 .PATH: ${X11SRCDIR.${LIB}}/include/X11/fonts
13 SRCS= FSCloseFt.c FSClServ.c FSConnServ.c FSErrDis.c FSErrHndlr.c FSFlush.c \
14 FSFontInfo.c FSFtNames.c FSGetCats.c FSlibInt.c FSListCats.c \
15 FSListExt.c FSMisc.c FSNextEv.c FSOpenFont.c FSOpenServ.c FSQGlyphs.c \
16 FSQuExt.c FSQXExt.c FSQXInfo.c FSServName.c FSSetCats.c FSSync.c \
17 FSSynchro.c fs_transport.c
19 CWARNFLAGS.clang+= -Wno-string-plus-int
21 INCS= FSlib.h
22 INCSDIR=${X11INCDIR}/X11/fonts
24 CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11/fonts
25 CPPFLAGS+= -I${X11SRCDIR.${LIB}}/../include
27 CONN_DEFINES = ${X11FLAGS.CONNECTION} -DFS_t -DTRANS_CLIENT
28 SOCK_DEFINES = -DBSD44SOCKETS
30 CPPFLAGS+= $(CONN_DEFINES) $(SOCK_DEFINES)
32 # XXX
33 COPTS.FSGetCats.c+= -Wno-error
34 COPTS.FSListExt.c+= -Wno-error
35 COPTS.FSOpenServ.c+= -Wno-error
37 PKGCONFIG= libfs
38 PKGDIST= ${LIB}
40 .include <bsd.x11.mk>
41 .include <bsd.lib.mk>