Working parser for rpcgen files.
[portablexdr.git] / Makefile.am
1 nobase_include_HEADERS = rpc/rpc.h rpc/types.h rpc/xdr.h
2
3 lib_LTLIBRARIES = libportablexdr.la
4 libportablexdr_la_SOURCES = xdr_array.c xdr_float.c xdr_mem.c xdr_reference.c \
5         xdr.c xdr_intXX_t.c xdr_rec.c xdr_stdio.c \
6         byteswap.h \
7         rpc/rpc.h rpc/types.h rpc/xdr.h
8 libportablexdr_la_CFLAGS = -Wall -Werror -fno-strict-aliasing
9 libportablexdr_la_LDFLAGS = @MINGW_EXTRA_LDFLAGS@
10
11 # Replacement 'rpcgen'.  Don't call it 'rpcgen' however so that
12 # we can avoid conflicting with the system rpcgen.
13 BUILT_SOURCES = rpcgen_parse.h
14 AM_YFLAGS = -d
15 bin_PROGRAMS = portable-rpcgen
16 portable_rpcgen_SOURCES = rpcgen_parse.y rpcgen_scan.l \
17         rpcgen_int.h rpcgen_main.c
18 portable_rpcgen_CFLAGS = -Wall
19 #portable_rpcgen_CFLAGS += -DYYDEBUG