1*971bb1a5SLionel Sambuc# $NetBSD: Makefile,v 1.3 2012/04/04 10:59:45 joerg Exp $ 2*971bb1a5SLionel Sambuc 3*971bb1a5SLionel Sambuc.include <bsd.own.mk> 4*971bb1a5SLionel Sambuc.if defined(__MINIX) 5*971bb1a5SLionel SambucNOCLANGERROR= yes 6*971bb1a5SLionel SambucNOGCCERROR= yes 7*971bb1a5SLionel Sambuc.endif # defined(__MINIX) 8*971bb1a5SLionel Sambuc 9*971bb1a5SLionel SambucLIB= FS 10*971bb1a5SLionel Sambuc.PATH: ${X11SRCDIR.${LIB}}/src 11*971bb1a5SLionel Sambuc.PATH: ${X11SRCDIR.${LIB}}/include/X11/fonts 12*971bb1a5SLionel Sambuc 13*971bb1a5SLionel SambucSRCS= FSCloseFt.c FSClServ.c FSConnServ.c FSErrDis.c FSErrHndlr.c FSFlush.c \ 14*971bb1a5SLionel Sambuc FSFontInfo.c FSFtNames.c FSGetCats.c FSlibInt.c FSListCats.c \ 15*971bb1a5SLionel Sambuc FSListExt.c FSMisc.c FSNextEv.c FSOpenFont.c FSOpenServ.c FSQGlyphs.c \ 16*971bb1a5SLionel Sambuc FSQuExt.c FSQXExt.c FSQXInfo.c FSServName.c FSSetCats.c FSSync.c \ 17*971bb1a5SLionel Sambuc FSSynchro.c fs_transport.c 18*971bb1a5SLionel Sambuc 19*971bb1a5SLionel SambucCWARNFLAGS.clang+= -Wno-string-plus-int 20*971bb1a5SLionel Sambuc 21*971bb1a5SLionel SambucINCS= FSlib.h 22*971bb1a5SLionel SambucINCSDIR=${X11INCDIR}/X11/fonts 23*971bb1a5SLionel Sambuc 24*971bb1a5SLionel SambucCPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11/fonts 25*971bb1a5SLionel SambucCPPFLAGS+= -I${X11SRCDIR.${LIB}}/../include 26*971bb1a5SLionel Sambuc 27*971bb1a5SLionel SambucCONN_DEFINES = ${X11FLAGS.CONNECTION} -DFS_t -DTRANS_CLIENT 28*971bb1a5SLionel SambucSOCK_DEFINES = -DBSD44SOCKETS 29*971bb1a5SLionel Sambuc 30*971bb1a5SLionel SambucCPPFLAGS+= $(CONN_DEFINES) $(SOCK_DEFINES) 31*971bb1a5SLionel Sambuc 32*971bb1a5SLionel Sambuc# XXX 33*971bb1a5SLionel SambucCOPTS.FSGetCats.c+= -Wno-error 34*971bb1a5SLionel SambucCOPTS.FSListExt.c+= -Wno-error 35*971bb1a5SLionel SambucCOPTS.FSOpenServ.c+= -Wno-error 36*971bb1a5SLionel Sambuc 37*971bb1a5SLionel SambucPKGCONFIG= libfs 38*971bb1a5SLionel SambucPKGDIST= ${LIB} 39*971bb1a5SLionel Sambuc 40*971bb1a5SLionel Sambuc.include <bsd.x11.mk> 41*971bb1a5SLionel Sambuc.include <bsd.lib.mk> 42