1 # $NetBSD: Makefile,v 1.5 2003/10/20 05:12:40 jdolecek Exp $
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
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