~ubuntu-branches/ubuntu/trusty/nilfs-tools/trusty

« back to all changes in this revision

Viewing changes to sbin/mount/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2011-08-12 20:42:38 UTC
  • mto: This revision was merged to the branch mainline in revision 11.
  • Revision ID: james.westby@ubuntu.com-20110812204238-3i5mnvvmg7amtyjm
Tags: upstream-2.1.0~rc2
ImportĀ upstreamĀ versionĀ 2.1.0~rc2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
## Makefile.am
2
2
 
3
 
COMMONSOURCES = fstab.c sundries.c xmalloc.c mntent.c
4
 
COMMONHEADERS = mount.nilfs2.h fstab.h sundries.h xmalloc.h mntent.h \
5
 
        mount_constants.h mount_opts.h paths.h
 
3
COMMONSOURCES = sundries.c xmalloc.c
 
4
COMMONHEADERS = mount.nilfs2.h sundries.h xmalloc.h
 
5
 
 
6
LEGACYSOURCES = fstab.c mntent.c mount_opts.c
 
7
LEGACYHEADERS = fstab.h mount_constants.h mntent.h mount_opts.h paths.h
6
8
 
7
9
AM_CFLAGS = -Wall
8
10
AM_CPPFLAGS = -I$(top_srcdir)/include
11
13
 
12
14
sbin_PROGRAMS = mount.nilfs2 umount.nilfs2
13
15
 
14
 
mount_nilfs2_SOURCES = mount.nilfs2.c mount_opts.c \
15
 
        $(COMMONSOURCES) $(COMMONHEADERS)
 
16
if CONFIG_LIBMOUNT
 
17
 
 
18
LDADD += $(LIB_MOUNT)
 
19
 
 
20
COMMONSOURCES += mount_attrs.c
 
21
COMMONHEADERS += mount_attrs.h
 
22
 
 
23
mount_nilfs2_SOURCES = mount_libmount.c $(COMMONSOURCES) $(COMMONHEADERS)
 
24
umount_nilfs2_SOURCES = umount_libmount.c $(COMMONSOURCES) $(COMMONHEADERS)
 
25
 
 
26
else
 
27
 
 
28
COMMONSOURCES += $(LEGACYSOURCES)
 
29
COMMONHEADERS += $(LEGACYHEADERS)
 
30
 
 
31
mount_nilfs2_SOURCES = mount.nilfs2.c $(COMMONSOURCES) $(COMMONHEADERS)
16
32
 
17
33
umount_nilfs2_SOURCES = umount.nilfs2.c $(COMMONSOURCES) $(COMMONHEADERS)
 
34
 
 
35
endif  # CONFIG_LIBMOUNT