Imported Upstream version 3.2.0
[debian/amanda] / perl / amglue / Makefile.am
1 include $(top_srcdir)/config/automake/vars.am
2 include $(top_srcdir)/config/automake/scripts.am
3
4 ##
5 ## libamglue -- helper functions for gluing amanda to perl
6 ##
7
8 # add the SWIG symbol to avoid conflicts with perl definitions.
9 # $AMANDA_WARNING_CFLAGS is omitted because SWIG-generated files tend
10 # to trigger warnings.
11 AM_CFLAGS = -DSWIG $(AMANDA_SWIG_PERL_CFLAGS)
12
13 # Appropriate INCLUDES depends on which components (server or client) are
14 # being built
15 INCLUDES =  \
16             -I$(top_builddir)/common-src \
17             -I$(top_srcdir)/common-src \
18             -I$(top_srcdir)/xfer-src \
19             -I$(top_srcdir)/gnulib \
20             -I$(top_srcdir)/ndmp-src \
21             $(PERL_INC)
22
23 amlib_LTLIBRARIES = libamglue.la
24 libamglue_la_SOURCES = \
25         ghashtable.c \
26         gerror.c \
27         bigint.c \
28         source.c \
29         objwrap.c \
30         xferwrap.c \
31         amglue.h
32 libamglue_la_LDFLAGS = $(PERL_EXT_LDFLAGS) -release $(VERSION)
33 libamglue_la_LIBADD = \
34         $(top_builddir)/xfer-src/libamxfer.la
35 EXTRA_DIST += $(libamglue_la_SOURCES)