X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=Makefile.am;h=bb251c2cbf71bf92791c614280f84d80bfbd8391;hb=104fea1aa2c7fac5206249f88e3f906260538a6d;hp=cc79d5f37fa20a18010b1acd9190829258426ebd;hpb=f0ecda34fc6ad92793cf9d1e7fa3c5aa9165f9d0;p=portablexdr.git diff --git a/Makefile.am b/Makefile.am index cc79d5f..bb251c2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,3 +1,5 @@ +ACLOCAL_AMFLAGS = -I m4 + nobase_include_HEADERS = rpc/rpc.h rpc/types.h rpc/xdr.h lib_LTLIBRARIES = libportablexdr.la @@ -7,3 +9,13 @@ libportablexdr_la_SOURCES = xdr_array.c xdr_float.c xdr_mem.c xdr_reference.c \ 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 rpcgen_ast.c rpcgen_codegen.c +portable_rpcgen_CFLAGS = -Wall +#portable_rpcgen_CFLAGS += -DYYDEBUG