1 # PortableXDR - a free, portable XDR implementation.
2 # Copyright (C) 2008-2009 Red Hat Inc.
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2 of the License, or
7 # (at your option) any later version.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 ACLOCAL_AMFLAGS = -I m4
20 EXTRA_DIST = m4/gnulib-cache.m4
22 # Header files, located in $includedir/portablexdr-5/rpc so that
23 # they don't conflict with existing SunRPC header files.
25 nobase_include_HEADERS = \
26 portablexdr-5/rpc/rpc.h \
27 portablexdr-5/rpc/types.h \
28 portablexdr-5/rpc/xdr_internal.h \
29 portablexdr-5/rpc/xdr.h
33 lib_LTLIBRARIES = libportablexdr.la
34 libportablexdr_la_SOURCES = \
35 $(nobase_include_HEADERS)
36 libportablexdr_la_CFLAGS = -Wall -Werror
37 libportablexdr_la_LDFLAGS = @MINGW_EXTRA_LDFLAGS@
39 # Replacement 'rpcgen', named portable-rpcgen to avoid any
40 # conflicts with existing Sun rpcgen.
42 BUILT_SOURCES = rpcgen_parse.h
44 bin_PROGRAMS = portable-rpcgen
45 portable_rpcgen_SOURCES = \
52 portable_rpcgen_CFLAGS = -Wall
53 #portable_rpcgen_CFLAGS += -DYYDEBUG