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