2000-06-07 04:52:18 +04:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
|
|
|
# Package: am-utils
|
|
|
|
# Level: Makefile for libamu/ directory
|
|
|
|
# Author: Erez Zadok
|
|
|
|
|
|
|
|
#noinst_LIBRARIES = libamu.a
|
|
|
|
lib_LTLIBRARIES = libamu.la
|
|
|
|
|
|
|
|
# headers this depends on, not to be installed
|
|
|
|
noinst_HEADERS = amu.h
|
|
|
|
|
|
|
|
# these sources must be included:
|
|
|
|
libamu_la_SOURCES = \
|
|
|
|
misc_rpc.c \
|
|
|
|
mount_fs.c \
|
|
|
|
mtab.c \
|
|
|
|
nfs_prot_xdr.c \
|
2006-02-05 19:12:04 +03:00
|
|
|
strutil.c \
|
2000-06-07 04:52:18 +04:00
|
|
|
wire.c \
|
|
|
|
xdr_func.c \
|
|
|
|
xutil.c
|
|
|
|
|
|
|
|
## no need to list other optional sources because automake will add them
|
|
|
|
## automatically.
|
2000-11-20 02:42:08 +03:00
|
|
|
## XXX: must add the files after memcmp.c until automake 1.4+ is out
|
|
|
|
EXTRA_DIST = memcmp.c \
|
|
|
|
clnt_sperrno.c \
|
|
|
|
hasmntopt.c \
|
|
|
|
strcasecmp.c \
|
2002-11-30 01:57:11 +03:00
|
|
|
strdup.c \
|
|
|
|
strerror.c \
|
2005-09-20 21:12:54 +04:00
|
|
|
strlcat.c \
|
2005-04-23 22:07:47 +04:00
|
|
|
strlcpy.c \
|
2000-11-20 02:42:08 +03:00
|
|
|
strstr.c \
|
|
|
|
ualarm.c
|
|
|
|
|
2000-06-07 04:52:18 +04:00
|
|
|
DISTCLEANFILES = mountutil.c mtabutil.c transputil.c umount_fs.c
|
|
|
|
|
|
|
|
# these may be added automatically by automake if needed:
|
|
|
|
# alloca.c
|
|
|
|
# clnt_sperrno.c
|
|
|
|
# hasmntopt.c
|
|
|
|
# memcmp.c (via AC_FUNC_MEMCMP)
|
|
|
|
# strcasecmp.c
|
|
|
|
# strdup.c
|
2002-11-30 01:57:11 +03:00
|
|
|
# strerror.c
|
2000-06-07 04:52:18 +04:00
|
|
|
# strstr.c
|
|
|
|
# ualarm.c
|
|
|
|
#
|
|
|
|
# files optionally compiled:
|
|
|
|
# mountutil.c: mount utilities
|
|
|
|
# umount_fs.c: un-mount utilities
|
|
|
|
#
|
|
|
|
# files that are always compiled, but to a different path:
|
|
|
|
# mtabutil.c: mount table utilities
|
|
|
|
# transputil.c: transport (Sockets or TLI) utilities
|
|
|
|
BUILT_SOURCES = \
|
|
|
|
mountutil.c \
|
|
|
|
umount_fs.c \
|
|
|
|
mtabutil.c \
|
|
|
|
transputil.c
|
|
|
|
|
2000-11-20 02:42:08 +03:00
|
|
|
## XXX: Use the next line when automake newer than 1.4
|
|
|
|
## XXX: Instead of the two lines that follow.
|
|
|
|
## libamu_la_LIBADD = @LTLIBOBJS@ @LTALLOCA@
|
|
|
|
libamu_la_LIBADD = @AMU_LIB_OBJS@
|
|
|
|
libamu_la_DEPENDENCIES = @AMU_LIB_OBJS@
|
|
|
|
|
2000-06-07 04:52:18 +04:00
|
|
|
|
|
|
|
# LDFLAGS should include standard ones plus LIBTOOL ones
|
2005-04-23 22:07:47 +04:00
|
|
|
AM_LDFLAGS = @LDFLAGS@ @LIBTOOL_LDFLAGS@
|
2000-06-07 04:52:18 +04:00
|
|
|
|
|
|
|
INCLUDES = -I$(top_srcdir)/include
|
|
|
|
|
|
|
|
# allow users to add their own flags via "configure --enable-am-flags=ARG"
|
|
|
|
AMU_CFLAGS = @AMU_CFLAGS@
|
2005-04-23 22:07:47 +04:00
|
|
|
AM_CFLAGS = @CFLAGS@ $(AMU_CFLAGS)
|
2000-06-07 04:52:18 +04:00
|
|
|
|
|
|
|
# dependencies
|
2002-11-30 01:57:11 +03:00
|
|
|
$(libamu_la_OBJECTS) $(libamu_la_LIBADD): \
|
2000-06-07 04:52:18 +04:00
|
|
|
../config.h \
|
|
|
|
../aux_conf.h \
|
|
|
|
$(top_srcdir)/include/am_compat.h \
|
|
|
|
$(top_srcdir)/include/am_defs.h \
|
|
|
|
$(top_srcdir)/include/am_utils.h \
|
|
|
|
$(top_srcdir)/include/am_xdr_func.h \
|
|
|
|
$(top_srcdir)/include/amq_defs.h \
|
|
|
|
@AMU_NFS_PROT_HEADER@ \
|
|
|
|
$(noinst_HEADERS)
|