Fix up mix of man(7)/mdoc(7).
[netbsd-mini2440.git] / x11 / lib / FS / Makefile
blob0abb4dd68618d5d2a3069d600ee4959e6aa92b9f
1 # $NetBSD: Makefile,v 1.5 2003/10/20 05:12:40 jdolecek Exp $
3 .include <bsd.own.mk>
5 LIB= FS
6 .PATH: ${X11SRCDIR.xc}/lib/${LIB}
7 .PATH: ${X11SRCDIR.xc}/lib/xtrans
9 SRCS= FSClServ.c FSCloseFt.c FSConnServ.c FSErrDis.c FSErrHndlr.c \
10 FSFlush.c FSFontInfo.c FSFtNames.c FSGetCats.c FSListCats.c \
11 FSListExt.c FSMisc.c FSNextEv.c FSOpenFont.c FSOpenServ.c \
12 FSQGlyphs.c FSQXExt.c FSQXInfo.c FSQuExt.c FSServName.c \
13 FSSetCats.c FSSync.c FSSynchro.c FSlibInt.c transport.c
15 INCS= FSlib.h
16 INCSDIR=${X11INCDIR}/X11/fonts
18 CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11/fonts
19 CPPFLAGS+= -I${X11SRCDIR.xc}/lib/${LIB}
20 CPPFLAGS+= -I${X11SRCDIR.xc}/lib/xtrans
22 CONN_DEFINES = ${X11FLAGS.CONNECTION} -DFS_t -DTRANS_CLIENT
23 SOCK_DEFINES = -DBSD44SOCKETS
25 CPPFLAGS.FSlibInt.c= $(CONN_DEFINES)
26 CPPFLAGS.FSOpenServ.c= $(CONN_DEFINES)
27 CPPFLAGS.FSConnServ.c= $(CONN_DEFINES) $(SOCK_DEFINES)
28 CPPFLAGS.transport.c= $(CONN_DEFINES) $(SOCK_DEFINES)
30 COPTS+= -Wno-error # XXX gcc 3.3
32 .include <bsd.x11.mk>
33 .include <bsd.lib.mk>