Added Gnulib intprops module.
[portablexdr.git] / Makefile.am
1 # PortableXDR - a free, portable XDR implementation.
2 # Copyright (C) 2008-2009 Red Hat Inc.
3 #
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.
8 #
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.
13 #
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.
17
18 SUBDIRS = lib
19 ACLOCAL_AMFLAGS = -I m4
20 EXTRA_DIST = m4/gnulib-cache.m4
21
22 # Header files, located in $includedir/portablexdr-5/rpc so that
23 # they don't conflict with existing SunRPC header files.
24
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
30
31 # The library.
32
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@
38
39 # Replacement 'rpcgen', named portable-rpcgen to avoid any
40 # conflicts with existing Sun rpcgen.
41
42 BUILT_SOURCES = rpcgen_parse.h
43 AM_YFLAGS = -d
44 bin_PROGRAMS = portable-rpcgen
45 portable_rpcgen_SOURCES = \
46         rpcgen_int.h \
47         rpcgen_scan.l \
48         rpcgen_parse.y \
49         rpcgen_ast.c \
50         rpcgen_codegen.c \
51         rpcgen_main.c
52 portable_rpcgen_CFLAGS = -Wall
53 #portable_rpcgen_CFLAGS += -DYYDEBUG