diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2013-07-05 17:13:32 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-08-28 23:15:57 +0200 |
commit | a2e7bbe6a98806d7749f6799abf42758c38c3f6b (patch) | |
tree | 2aa2c5aa7d8781f0d817c27f18f6b77f52e7061b /utils/Makefile | |
parent | bcca1a329595eb98e12d83f32fc7f5f0fc0bd379 (diff) |
umount: add a umount utility
This adds a umount utility that implements most of the functions that
the Linux umount utility provides, especially that subset that is used
by the Debian package initscripts.
* utils/umount.c: New file.
Diffstat (limited to 'utils/Makefile')
-rw-r--r-- | utils/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/utils/Makefile b/utils/Makefile index 6975fb59..de33751a 100644 --- a/utils/Makefile +++ b/utils/Makefile @@ -21,7 +21,9 @@ makemode := utilities targets = shd ps settrans showtrans syncfs fsysopts \ storeinfo login w uptime ids loginpr sush vmstat portinfo \ devprobe vminfo addauth rmauth unsu setauth ftpcp ftpdir storecat \ - storeread msgport rpctrace mount gcore fakeauth fakeroot remap + storeread msgport rpctrace mount gcore fakeauth fakeroot remap \ + umount + special-targets = loginpr sush uptime fakeroot remap SRCS = shd.c ps.c settrans.c syncfs.c showtrans.c addauth.c rmauth.c \ fsysopts.c storeinfo.c login.c loginpr.sh sush.sh w.c \ @@ -29,7 +31,7 @@ SRCS = shd.c ps.c settrans.c syncfs.c showtrans.c addauth.c rmauth.c \ parse.c frobauth.c frobauth-mod.c setauth.c pids.c nonsugid.c \ unsu.c ftpcp.c ftpdir.c storeread.c storecat.c msgport.c \ rpctrace.c mount.c gcore.c fakeauth.c fakeroot.sh remap.sh \ - match-options.c + match-options.c umount.c OBJS = $(filter-out %.sh,$(SRCS:.c=.o)) HURDLIBS = ps ihash store fshelp ports ftpconn shouldbeinlibc @@ -57,7 +59,7 @@ ftpcp ftpdir: ../libftpconn/libftpconn.a settrans: ../libfshelp/libfshelp.a ../libports/libports.a ps w ids settrans syncfs showtrans fsysopts storeinfo login vmstat portinfo \ devprobe vminfo addauth rmauth setauth unsu ftpcp ftpdir storeread \ - storecat msgport mount: \ + storecat msgport mount umount: \ ../libshouldbeinlibc/libshouldbeinlibc.a $(filter-out $(special-targets), $(targets)): %: %.o @@ -73,7 +75,7 @@ fakeauth-CPPFLAGS = -I$(srcdir)/../auth authServer-CPPFLAGS = -I$(srcdir)/../auth auth_requestUser-CPPFLAGS = -I$(srcdir)/../auth -mount: ../sutils/fstab.o ../sutils/clookup.o match-options.o \ +mount umount: ../sutils/fstab.o ../sutils/clookup.o match-options.o \ $(foreach L,fshelp ports,../lib$L/lib$L.a) ../sutils/fstab.o ../sutils/clookup.o: FORCE $(MAKE) -C $(@D) $(@F) |