summaryrefslogtreecommitdiffstats
path: root/lib/libelf
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2006-11-24 06:38:11 +0000
committerru <ru@FreeBSD.org>2006-11-24 06:38:11 +0000
commite3fcf40047384a7b27627265aca9e68885bbfcfa (patch)
treee277ebb0a232f8353826996c89e60a0d8b0a88f8 /lib/libelf
parent8aa83b7d19437facedfdf8c9dd0e308978e4342f (diff)
downloadFreeBSD-src-e3fcf40047384a7b27627265aca9e68885bbfcfa.zip
FreeBSD-src-e3fcf40047384a7b27627265aca9e68885bbfcfa.tar.gz
- style: use `=' instead of `+=' for initial assignments.
- don't add generated sources' objects to OBJS explicitly; GENSRCS is part of SRCS so they were already in OBJS.
Diffstat (limited to 'lib/libelf')
-rw-r--r--lib/libelf/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libelf/Makefile b/lib/libelf/Makefile
index 06ea0b8..7a4a492 100644
--- a/lib/libelf/Makefile
+++ b/lib/libelf/Makefile
@@ -49,12 +49,10 @@ SRCS= elf_begin.c \
${GENSRCS}
INCS= libelf.h gelf.h
-GENSRCS+= libelf_fsize.c libelf_msize.c libelf_convert.c
-CLEANFILES+= ${GENSRCS}
+GENSRCS= libelf_fsize.c libelf_msize.c libelf_convert.c
+CLEANFILES= ${GENSRCS}
CFLAGS+= -I. -I${.CURDIR}
-OBJS+= libelf_convert.o libelf_fsize.o libelf_msize.o
-
OSRELDATE!= sysctl -n kern.osreldate
SHLIB_MAJOR= 1
OpenPOWER on IntegriCloud