summaryrefslogtreecommitdiffstats
path: root/fdisk/Makefile.am
blob: 38d1ed2f487956054b0bac2187ec72605b79b5f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
include $(top_srcdir)/config/include-Makefile.am

EXTRA_DIST = README.fdisk README.cfdisk sfdisk.examples partitiontype.c

if !M68K

sbin_PROGRAMS = fdisk
man_MANS = fdisk.8
fdisk_SOURCES = fdisk.c disksize.c fdiskbsdlabel.c fdisksgilabel.c \
	fdisksunlabel.c fdiskaixlabel.c i386_sys_types.c partname.c \
	common.h fdisk.h fdisksunlabel.h fdisksgilabel.h fdiskaixlabel.h \
	 fdiskbsdlabel.h

if !SPARC

sbin_PROGRAMS += sfdisk
man_MANS += sfdisk.8
sfdisk_SOURCES = sfdisk.c disksize.c i386_sys_types.c partname.c common.h

if USE_SLANG
sbin_PROGRAMS += cfdisk
man_MANS += cfdisk.8
cfdisk_SOURCES = cfdisk.c disksize.c i386_sys_types.c common.h
cfdisk_LDADD = -lslang
else
if HAVE_NCURSES
sbin_PROGRAMS += cfdisk
man_MANS += cfdisk.8
cfdisk_SOURCES = cfdisk.c disksize.c i386_sys_types.c common.h
cfdisk_LDADD = -lncurses
endif
endif

endif

endif