fdisk / src / Makefile.am

PACKAGE = @PACKAGE@
VERSION = @VERSION@

top_srcdir = @top_srcdir@
subdir = src
datadir = @datadir@
localedir = $(datadir)/locale
DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
LIBS = @LIBINTL@ @LIBS@

AM_CPPFLAGS = -I$(top_builddir)/lib -I$(top_srcdir)/lib
LDADD = $(top_builddir)/lib/libgnu.a

sbin_PROGRAMS =  gfdisk

gfdisk_SOURCES = main.c		\
		command.c	\
		command.h	\
		fdisk.c  	\
		common.c	\
		common.h	\
		hacks.c		\
		hacks.h		\
		strlist.c	\
		strlist.h	\
		ui.c		\
		ui.h

gfdisk_LDADD = $(PARTED_LIBS)

if MAKE_CFDISK
sbin_PROGRAMS += gcfdisk

gcfdisk_SOURCES = cfdisk.c	\
		common.c	\
		common.h	\
		strlist.c	\
		strlist.h	\
		hacks.c		\
		hacks.h		\
		sys_types.h

gcfdisk_LDADD = $(PARTED_LIBS) $(CURSES_LIBS)

endif

install-exec-local: 
	@SYMLINK@ $(DESTDIR)/$(sbindir)/gfdisk $(DESTDIR)/$(sbindir)/fdisk @END_SYMLINK@
	@SYMLINK@ $(DESTDIR)/$(sbindir)/gcfdisk $(DESTDIR)/$(sbindir)/cfdisk @END_SYMLINK@

install-exec-am: install-sbinPROGRAMS install-exec-local
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.