X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=Makefile.am;h=bb251c2cbf71bf92791c614280f84d80bfbd8391;hb=f57649da40d0e74c5e8b386590e972846825f434;hp=e64f401bd7528b7f8872fb88729a51173bda2ac6;hpb=c34c437ca211d4eed5faac7a2df9fcc30a2181ca;p=portablexdr.git diff --git a/Makefile.am b/Makefile.am index e64f401..bb251c2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,21 @@ +ACLOCAL_AMFLAGS = -I m4 + +nobase_include_HEADERS = rpc/rpc.h rpc/types.h rpc/xdr.h + lib_LTLIBRARIES = libportablexdr.la libportablexdr_la_SOURCES = xdr_array.c xdr_float.c xdr_mem.c xdr_reference.c \ xdr.c xdr_intXX_t.c xdr_rec.c xdr_stdio.c \ + byteswap.h \ rpc/rpc.h rpc/types.h rpc/xdr.h -libportablexdr_la_CFLAGS = -Wall -Werror \ No newline at end of file +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