#
# C Compiler
#
CC=		gcc

#
# Optimization flags
#
#OPT=		-g -O -fno-inline
OPT=		-O2 -fomit-frame-pointer

#
# Linker flags (remove -s if you want to debug dump and restore)
#
LDFLAGS=	-s

#
# Comment this out if you want to build dynamically linked binaries
# Uncomment it to build static binaries
#
#STATIC_LINK_DUMP=	YES
#STATIC_LINK_RESTORE=	YES

#
# Global include directories
#
GINC=		-I/usr/include/bsd
# indicate where the ext2fs library can be found (this is not needed if you
# have run `make install-libs' in the e2fsprogs source directory).
#GINC+=		-I/usr/src/e2fsprogs-0.5c/lib

#
# Comment this out if you don't want to build and install rmt
# Uncomment it to build rmt and install it in /sbin
#
BUILD_RMT=	YES

#
# Global libraries
#
# indicate where the ext2fs library can be found (this is not needed if you
# have run `make install-libs' in the e2fsprogs source directory).
#GLIBDIR=	-L/usr/src/e2fsprogs-0.5c/lib
GLIBS=		-lbsd $(GLIBDIR) -lext2fs -lcom_err

#
# Definitions (don't change them unless you know what you are doing)
#
DEFS=		-DRDUMP -DRRESTORE -D_BSD_SOURCE -D_USE_BSD_SIGNAL

#
# Binaries tools
#
ARCHIVE=	ar r
RANLIB=		ranlib

#
# Installation parameters
#
BINDIR=		/sbin
BINOWN=		root
BINGRP=		tty
BINMODE=	6555
MANDIR=		/usr/man/man8
MANOWN=		man
MANGRP=		man
MANMODE=	0444
