1 # Makefile -- Makefile for util-linux Linux utilities
2 # Created: Sat Dec 26 20:09:40 1992
3 # Revised: Fri Oct 6 21:37:30 1995 by r.faith@ieee.org
4 # Copyright 1992, 1993, 1994, 1995 Rickard E. Faith (faith@cs.unc.edu)
5 # May be distributed under the terms of the GNU GPL.
25 .PHONEY
: all install clean now
27 @for subdir in
$(SUBDIRS
); do \
28 (cd
$$subdir && $(MAKE
) $@
) || exit
1; \
31 defines.h make_include
:
37 $(SUBDIRS
): defines.h now
41 @if
[ "`whoami`" = "root" ]; then umask
022; fi
42 @for subdir in
$(SUBDIRS
); do \
43 (cd
$$subdir && $(MAKE
) $@
) || exit
1; \
47 -rm -f
*.o
*~ omake conftest conftest.c core
48 @for subdir in
$(SUBDIRS
); do \
49 (cd
$$subdir && $(MAKE
) $@
) || exit
1; \
52 distclean: make_include
clean
53 cd po
&& make
distclean
54 cd mount
&& make
distclean
55 -rm -f defines.h make_include
60 # rm -rf /tmp/util-linux-$(VERSION); \
61 # cvs export -fNd util-linux-$(VERSION) -r HEAD util-linux; \
62 # cd util-linux-$(VERSION); \
63 # find -type d | xargs chmod 755; \
64 # find -type f | xargs chmod 644; \
65 # find -type d | xargs chown root:root; \
66 # find -type f | xargs chown root:root; \
68 # GZIP=-9 tar cvvzf util-linux-$(VERSION).tar.gz util-linux-$(VERSION); \
69 # cp -p util-linux-$(VERSION)/LSM util-linux-$(VERSION).lsm; \
70 # cp -p util-linux-$(VERSION)/ANNOUNCE util-linux-$(VERSION).Announce; \