Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/freebsd/poudriere.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-07-15 18:16:37 +0400
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-07-15 18:16:37 +0400
commitbc9d5a77f69930e65789e86c44722b8eed27acc6 (patch)
tree75aa68e71df42fd3f332e6c7642e2e32dffdf79b /src/libexec
parent88dc896b15aa3a5b23fa4bd06c34a35a37f73f13 (diff)
Respect OBJDIR and CURDIR
Diffstat (limited to 'src/libexec')
-rw-r--r--src/libexec/poudriere/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/libexec/poudriere/Makefile b/src/libexec/poudriere/Makefile
index a4600669..5d692278 100644
--- a/src/libexec/poudriere/Makefile
+++ b/src/libexec/poudriere/Makefile
@@ -3,19 +3,19 @@ PREFIX?= /usr/local
all: dirwatch make_index dirempty
dirempty: dirempty.c
- ${CC} -Wall -Werror ${CFLAGS} dirempty.c -o dirempty
+ ${CC} -Wall -Werror ${CFLAGS} ${.CURDIR}/dirempty.c -o ${.OBJDIR}/dirempty
dirwatch: dirwatch.c
- ${CC} -Wall -Werror ${CFLAGS} dirwatch.c -o dirwatch
+ ${CC} -Wall -Werror ${CFLAGS} ${.CURDIR}/dirwatch.c -o ${.OBJDIR}/dirwatch
make_index: make_index.c
- ${CC} -Wall -Werror ${CFLAGS} -ljail make_index.c -o make_index -lsbuf
+ ${CC} -Wall -Werror ${CFLAGS} -ljail ${.CURDIR}/make_index.c -o ${.OBJDIR}/make_index -lsbuf
install: dirwatch make_index dirempty
mkdir -p ${PREFIX}/libexec/poudriere
- install -m 755 -o root -g wheel dirwatch ${PREFIX}/libexec/poudriere
- install -m 755 -o root -g wheel make_index ${PREFIX}/libexec/poudriere
- install -m 755 -o root -g wheel dirempty ${PREFIX}/libexec/poudriere
+ install -m 755 -o root -g wheel ${.OBJDIR}/dirwatch ${PREFIX}/libexec/poudriere
+ install -m 755 -o root -g wheel ${.OBJDIR}/make_index ${PREFIX}/libexec/poudriere
+ install -m 755 -o root -g wheel ${.OBJDIR}/dirempty ${PREFIX}/libexec/poudriere
clean:
- rm -f dirwatch make_index dirempty
+ rm -f ${.OBJDIR}/dirwatch ${.OBJDIR}/make_index ${.OBJDIR}/dirempty