1 # $NetBSD: Makefile,v 1.3 2012/04/04 10:59:45 joerg Exp $
7 .
endif # defined(__MINIX)
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
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
)
33 COPTS.FSGetCats.c
+= -Wno-error
34 COPTS.FSListExt.c
+= -Wno-error
35 COPTS.FSOpenServ.c
+= -Wno-error