summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillem Jover <guillem@hadrons.org>2006-02-14 05:26:48 +0000
committerGuillem Jover <guillem@hadrons.org>2008-05-06 08:50:36 +0300
commit7bd6e03ae0a4d2b039ba6e8fc3b53104dba24512 (patch)
tree51372c8ba3eabf43cd3f8a16d00c695aa578a803
parent39db45e45a8d49a92d1d897a532e48480e561f75 (diff)
Makefile: Cleanup
(LIB_SRCS): Line wrap. (LIB_INCLUDES): List only the files, automatically prefix the dir. (LIB_MANS): Likewise.
-rw-r--r--ChangeLog6
-rw-r--r--Makefile10
2 files changed, 13 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 5d5dd73..f22df17 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2006-02-14 Guillem Jover <guillem@debian.org>
+ * Makefile (LIB_SRCS): Line wrap.
+ (LIB_INCLUDES): List only the files, automatically prefix the dir.
+ (LIB_MANS): Likewise.
+
+2006-02-14 Guillem Jover <guillem@debian.org>
+
* Versions: Remove optreset.
2006-02-13 Robert Millan <rmh@aybabtu.com>
diff --git a/Makefile b/Makefile
index a028db0..bdef428 100644
--- a/Makefile
+++ b/Makefile
@@ -4,11 +4,15 @@
# $Id$
#
-LIB_SRCS = arc4random.c bsd_getopt.c err.c fgetln.c inet_net_pton.c strlcat.c strlcpy.c md5c.c fmtcheck.c
+LIB_SRCS = arc4random.c bsd_getopt.c err.c fgetln.c inet_net_pton.c \
+ strlcat.c strlcpy.c md5c.c fmtcheck.c
-LIB_INCLUDES = include/bsd/err.h include/bsd/getopt.h include/bsd/ip_icmp.h include/bsd/random.h include/bsd/queue.h include/bsd/md5.h include/bsd/string.h include/bsd/bsd.h include/bsd/stdlib.h
+LIB_INCLUDES := err.h getopt.h ip_icmp.h random.h queue.h md5.h string.h \
+ bsd.h stdlib.h
+LIB_INCLUDES := $(patsubst %,include/bsd/,$(LIB_INCLUDES))
-LIB_MANS = man/arc4random.3 man/strlcpy.3 man/fgetln.3 man/fmtcheck.3
+LIB_MANS := arc4random.3 strlcpy.3 fgetln.3 fmtcheck.3
+LIB_MANS := $(patsubst %,man/,$(LIB_MANS))
LIB_STATIC_OBJS = $(LIB_SRCS:%.c=%.o)
LIB_SHARED_OBJS = $(LIB_SRCS:%.c=%.lo)