ports/textproc/rxp/files/BSDmakefile.lib
Mikhail Teterin 6ac92ebea9 Make the character-width an option -- 16 or 8 bit -- defaulting to 8.
Remove the second listing of http.c from the library's makefile, which
kept it from building on i386, but not -- for some reason -- on am64.
2021-02-27 23:24:58 +00:00

26 lines
612 B
Text

LIB= rxp
SHLIB_MAJOR= 1
SHLIB_MINOR= 4
MK_PROFILE= no
CFLAGS+= -DCHAR_SIZE=${CHAR_SIZE} -DHAVE_LIBZ
CFLAGS+= -Werror
WARNS= 6
LDADD= -lz
SRCS= catalog.c catutil.c resolve.c entityopener.c xmlparser.c \
url.c charset.c ctype16.c dtd.c input.c stdio16.c string16.c \
system.c hash.c version.c namespaces.c http.c \
nf16check.c nf16data.c
INCS= charset.h ctype16.h dtd.h hash.h input.h namespaces.h \
rxputil.h stdio16.h string16.h system.h url.h version.h \
xmlparser.h
LIBDIR= ${PREFIX}/lib
INCSDIR=${PREFIX}/include/rxp
.include <bsd.lib.mk>
.if ${CHAR_SIZE} == 8
CFLAGS+= -Wno-unused-label
.endif