1 # Makefile -- Makefile for util-linux Linux utilities
2 # Created: Sat Dec 26 20:09:40 1992
3 # Copyright 1992, 1993, 1994, 1995 Rickard E. Faith (faith@cs.unc.edu)
6 include ..
/make_include
9 # Where to put man pages?
11 MAN8
= blockdev
.8 fdformat
.8 isosize
.8 mkfs
.8 mkswap
.8 elvtune
.8 \
12 fsck.minix
.8 mkfs.minix
.8 mkfs.bfs
.8
14 # Where to put binaries?
15 # See the "install" rule for the links. . .
17 SBIN
= mkfs mkswap blockdev elvtune fsck.minix mkfs.minix mkfs.bfs
19 USRBIN
= fdformat isosize
23 ifneq "$(HAVE_FDUTILS)" "yes"
24 USRBIN
:=$(USRBIN
) setfdprm
25 MAN8
:=$(MAN8
) setfdprm
.8
28 # raw.c does not compile on 2.2.*.
29 # find out later where it does and add tests to config
30 ifeq "$(ADD_RAW)" "yes"
35 all: $(SBIN
) $(USRBIN
)
37 fsck.minix.o mkfs.minix.o
: bitops.h minix.h
40 $(INSTALLDIR
) $(SBINDIR
) $(USRBINDIR
) $(ETCDIR
)
41 $(INSTALLBIN
) $(SBIN
) $(SBINDIR
)
42 $(INSTALLBIN
) $(USRBIN
) $(USRBINDIR
)
43 ifneq "$(HAVE_FDUTILS)" "yes"
44 $(INSTALLDAT
) $(ETC
) $(ETCDIR
)
46 $(INSTALLDIR
) $(MAN8DIR
)
47 $(INSTALLMAN
) $(MAN8
) $(MAN8DIR
)
51 -rm -f
*.o
*~ core
$(SBIN
) $(USRBIN
) raw