]> git.ipfire.org Git - thirdparty/libbsd.git/commitdiff
Makefile: Cleanup
authorGuillem Jover <guillem@hadrons.org>
Tue, 14 Feb 2006 05:26:48 +0000 (05:26 +0000)
committerGuillem Jover <guillem@hadrons.org>
Tue, 6 May 2008 05:50:36 +0000 (08:50 +0300)
(LIB_SRCS): Line wrap.
(LIB_INCLUDES): List only the files, automatically prefix the dir.
(LIB_MANS): Likewise.

ChangeLog
Makefile

index 5d5dd737221f0d4f5b38ba8be4a22c4485356eed..f22df17c697136bf232c818eefe183e019948871 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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.
index a028db0a7b4553340347bb0023ce040fad312a82..bdef428ccc025dc0fb585249a584f19c1b10ab16 100644 (file)
--- 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)