Makefile.am revision 1.1.1.1.4.2
1## Process this file with automake to produce Makefile.in 2 3# Package: am-utils 4# Level: Makefile for libamu/ directory 5# Author: Erez Zadok 6 7#noinst_LIBRARIES = libamu.a 8lib_LTLIBRARIES = libamu.la 9 10# headers this depends on, not to be installed 11noinst_HEADERS = amu.h 12 13# these sources must be included: 14libamu_la_SOURCES = \ 15 misc_rpc.c \ 16 mount_fs.c \ 17 mtab.c \ 18 nfs_prot_xdr.c \ 19 strutil.c \ 20 wire.c \ 21 xdr_func.c \ 22 xutil.c 23 24## no need to list other optional sources because automake will add them 25## automatically. 26## XXX: must add the files after memcmp.c until automake 1.4+ is out 27EXTRA_DIST = memcmp.c \ 28 clnt_sperrno.c \ 29 hasmntopt.c \ 30 strcasecmp.c \ 31 strdup.c \ 32 strerror.c \ 33 strlcat.c \ 34 strlcpy.c \ 35 strstr.c \ 36 ualarm.c 37 38DISTCLEANFILES = mountutil.c mtabutil.c transputil.c umount_fs.c 39 40# these may be added automatically by automake if needed: 41# alloca.c 42# clnt_sperrno.c 43# hasmntopt.c 44# memcmp.c (via AC_FUNC_MEMCMP) 45# strcasecmp.c 46# strdup.c 47# strerror.c 48# strstr.c 49# ualarm.c 50# 51# files optionally compiled: 52# mountutil.c: mount utilities 53# umount_fs.c: un-mount utilities 54# 55# files that are always compiled, but to a different path: 56# mtabutil.c: mount table utilities 57# transputil.c: transport (Sockets or TLI) utilities 58BUILT_SOURCES = \ 59 mountutil.c \ 60 umount_fs.c \ 61 mtabutil.c \ 62 transputil.c 63 64## XXX: Use the next line when automake newer than 1.4 65## XXX: Instead of the two lines that follow. 66## libamu_la_LIBADD = @LTLIBOBJS@ @LTALLOCA@ 67libamu_la_LIBADD = @AMU_LIB_OBJS@ 68libamu_la_DEPENDENCIES = @AMU_LIB_OBJS@ 69 70 71# LDFLAGS should include standard ones plus LIBTOOL ones 72AM_LDFLAGS = @LDFLAGS@ @LIBTOOL_LDFLAGS@ 73 74INCLUDES = -I$(top_srcdir)/include 75 76# allow users to add their own flags via "configure --enable-am-flags=ARG" 77AMU_CFLAGS = @AMU_CFLAGS@ 78AM_CFLAGS = @CFLAGS@ $(AMU_CFLAGS) 79 80# dependencies 81$(libamu_la_OBJECTS) $(libamu_la_LIBADD): \ 82 ../config.h \ 83 ../aux_conf.h \ 84 $(top_srcdir)/include/am_compat.h \ 85 $(top_srcdir)/include/am_defs.h \ 86 $(top_srcdir)/include/am_utils.h \ 87 $(top_srcdir)/include/am_xdr_func.h \ 88 $(top_srcdir)/include/amq_defs.h \ 89 @AMU_NFS_PROT_HEADER@ \ 90 $(noinst_HEADERS) 91