1# $NetBSD: Makefile,v 1.5 2003/10/20 05:12:40 jdolecek Exp $ 2 3.include <bsd.own.mk> 4 5LIB= FS 6.PATH: ${X11SRCDIR.xc}/lib/${LIB} 7.PATH: ${X11SRCDIR.xc}/lib/xtrans 8 9SRCS= 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 14 15INCS= FSlib.h 16INCSDIR=${X11INCDIR}/X11/fonts 17 18CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11/fonts 19CPPFLAGS+= -I${X11SRCDIR.xc}/lib/${LIB} 20CPPFLAGS+= -I${X11SRCDIR.xc}/lib/xtrans 21 22CONN_DEFINES = ${X11FLAGS.CONNECTION} -DFS_t -DTRANS_CLIENT 23SOCK_DEFINES = -DBSD44SOCKETS 24 25CPPFLAGS.FSlibInt.c= $(CONN_DEFINES) 26CPPFLAGS.FSOpenServ.c= $(CONN_DEFINES) 27CPPFLAGS.FSConnServ.c= $(CONN_DEFINES) $(SOCK_DEFINES) 28CPPFLAGS.transport.c= $(CONN_DEFINES) $(SOCK_DEFINES) 29 30COPTS+= -Wno-error # XXX gcc 3.3 31 32.include <bsd.x11.mk> 33.include <bsd.lib.mk> 34