~pr0gg3d/ubuntu/oneiric/util-linux/bug-805886

« back to all changes in this revision

Viewing changes to fdisk/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant
  • Date: 2010-03-22 17:35:40 UTC
  • mfrom: (1.6.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100322173540-sm083tdtvne1wa5w
Tags: 2.17.2-0ubuntu1
* Merge from Debian experimental, remaining changes:
  - Since udev is required in Ubuntu, the hwclock.sh init script is
    not called on startup and the hwclockfirst.sh init script is
    removed.
  - Use wildcards for symbols file, since they use versioned symbols
    properly.
  - Remove /etc/adjtime on upgrade if it was not used.
  - Install custom blkid.conf to use /dev/.blkid.tab since we don't
    expect device names to survive a reboot
  - No lsb_release call in mount.preinst since we'd need Pre-Depends
    (LP: #383697).
  - Do not install initramfs hook, since our initramfs already handles
    including blkid.
  - Mention mountall(8) in fstab(5) manpages, along with its special
    options.

* For the case where mount is called with a directory to mount, look
  that directory up in mountall's /lib/init/fstab if we couldn't find
  it mentioned anywhere else.  This means "mount /proc", "mount /sys",
  etc. work.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
        fdisk.h fdisksunlabel.h fdisksgilabel.h fdiskaixlabel.h \
19
19
        fdiskbsdlabel.h fdiskmaclabel.h $(fdisk_common)
20
20
 
21
 
cflags_blkid = $(AM_CFLAGS)
22
 
ldadd_blkid =
 
21
cflags_fdisk = $(AM_CFLAGS)
 
22
ldadd_fdisk =
23
23
 
24
24
if BUILD_LIBBLKID
25
25
# only in-tree libblkid has topology support
26
 
ldadd_blkid += $(ul_libblkid_la)
27
 
cflags_blkid += -I$(ul_libblkid_incdir)
 
26
ldadd_fdisk += $(ul_libblkid_la)
 
27
cflags_fdisk += -I$(ul_libblkid_incdir)
28
28
endif
29
29
 
30
30
if HAVE_STATIC_FDISK
31
31
sbin_PROGRAMS += fdisk.static
32
32
fdisk_static_SOURCES = $(fdisk_SOURCES)
33
33
fdisk_static_LDFLAGS = -all-static
34
 
fdisk_static_CFLAGS = $(cflags_blkid)
35
 
fdisk_static_LDADD = $(ldadd_blkid)
 
34
fdisk_static_CFLAGS = $(cflags_fdisk)
 
35
fdisk_static_LDADD = $(ldadd_fdisk)
36
36
endif
37
37
 
38
 
fdisk_CFLAGS = $(cflags_blkid)
39
 
fdisk_LDADD = $(ldadd_blkid)
 
38
fdisk_CFLAGS = $(cflags_fdisk)
 
39
fdisk_LDADD = $(ldadd_fdisk)
 
40
 
40
41
 
41
42
if !ARCH_SPARC
42
43
 
54
55
sbin_PROGRAMS += cfdisk
55
56
dist_man_MANS += cfdisk.8
56
57
cfdisk_SOURCES = cfdisk.c $(fdisk_common)
57
 
cfdisk_CFLAGS = $(cflags_blkid)
58
 
cfdisk_LDADD = -lslang $(ldadd_blkid)
 
58
cfdisk_LDADD = -lslang
59
59
else
60
60
if HAVE_NCURSES
61
61
sbin_PROGRAMS += cfdisk
62
62
dist_man_MANS += cfdisk.8
63
63
cfdisk_SOURCES = cfdisk.c $(fdisk_common)
64
 
cfdisk_CFLAGS = $(cflags_blkid)
65
 
cfdisk_LDADD = @NCURSES_LIBS@ $(ldadd_blkid)
 
64
cfdisk_LDADD = @NCURSES_LIBS@
66
65
endif
67
66
endif
68
67