diff options
author | Bryan Drewery <bryan@shatow.net> | 2017-07-29 22:02:07 +0300 |
---|---|---|
committer | Bryan Drewery <bryan@shatow.net> | 2017-07-31 20:00:09 +0300 |
commit | f6b85702ad09b0c36fafcb84d13b39173031da19 (patch) | |
tree | 7f8852e68b0d43311a50ea18fd1a913e2ca23517 /Makefile.am | |
parent | 4a38af344703498999dbebfb4f6312f4ec0eca1b (diff) |
sh: Add unlink(2) builtin and use for simple file removals
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 686d32a9..98b3a4a2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -127,6 +127,7 @@ pkglibexec_PROGRAMS= \ timeout \ timestamp \ tsort \ + unlink \ @SH@ EXTRA_PROGRAMS= \ rm \ @@ -155,6 +156,7 @@ rm_SOURCES= src/libexec/poudriere/rm/rm.c timeout_SOURCES= src/libexec/poudriere/timeout/timeout.c timestamp_SOURCES= src/libexec/poudriere/timestamp/timestamp.c tsort_SOURCES= src/libexec/poudriere/tsort/tsort.c +unlink_SOURCES= src/libexec/poudriere/unlink/unlink.c sh_CFLAGS= -DSHELL -DNO_HISTORY -std=gnu99 \ -include $(top_srcdir)/external/sh_compat/compat.h \ @@ -205,6 +207,7 @@ sh_SOURCES+= \ src/libexec/poudriere/locked_mkdir/locked_mkdir.c \ src/libexec/poudriere/pwait/pwait.c \ src/libexec/poudriere/rename/rename.c \ + src/libexec/poudriere/unlink/unlink.c \ src/poudriere-sh/helpers.c \ src/poudriere-sh/mkdir.c \ src/poudriere-sh/mkfifo.c \ |