rpc/rpc.h rpc/types.h rpc/xdr.h
libportablexdr_la_CFLAGS = -Wall -Werror -fno-strict-aliasing
libportablexdr_la_LDFLAGS = @MINGW_EXTRA_LDFLAGS@
+
+# Replacement 'rpcgen'. Don't call it 'rpcgen' however so that
+# we can avoid conflicting with the system rpcgen.
+BUILT_SOURCES = rpcgen_parse.h
+AM_YFLAGS = -d
+bin_PROGRAMS = portable-rpcgen
+portable_rpcgen_SOURCES = rpcgen_parse.y rpcgen_scan.l \
+ rpcgen_int.h rpcgen_main.c
+portable_rpcgen_CFLAGS = -Wall
+#portable_rpcgen_CFLAGS += -DYYDEBUG