From: Guillem Jover Date: Tue, 14 Feb 2006 05:26:48 +0000 (+0000) Subject: Makefile: Cleanup X-Git-Tag: 0.0~67 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bd6e03ae0a4d2b039ba6e8fc3b53104dba24512;p=thirdparty%2Flibbsd.git Makefile: Cleanup (LIB_SRCS): Line wrap. (LIB_INCLUDES): List only the files, automatically prefix the dir. (LIB_MANS): Likewise. --- diff --git a/ChangeLog b/ChangeLog index 5d5dd73..f22df17 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-02-14 Guillem Jover + + * Makefile (LIB_SRCS): Line wrap. + (LIB_INCLUDES): List only the files, automatically prefix the dir. + (LIB_MANS): Likewise. + 2006-02-14 Guillem Jover * Versions: Remove optreset. 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)