From: Guillem Jover Date: Wed, 9 Jul 2008 04:23:49 +0000 (+0300) Subject: Move version and library name to the beginning of the file X-Git-Tag: 0.0~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fc163cee2fd148ef121e2481dfc08065b36b6b2b;p=thirdparty%2Flibbsd.git Move version and library name to the beginning of the file --- diff --git a/Makefile b/Makefile index e869dd4..db853d8 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,10 @@ # libbsd # +LIB_NAME = libbsd +LIB_VERSION_MAJOR = 0 +LIB_VERSION_MINOR = 0 + LIB_SRCS := arc4random.c bsd_getopt.c err.c fgetln.c heapsort.c \ humanize_number.c inet_net_pton.c \ hash/md5.c hash/md5hl.c \ @@ -21,10 +25,6 @@ LIB_MANS := $(patsubst %,man/%,$(LIB_MANS)) LIB_STATIC_OBJS = $(LIB_SRCS:%.c=%.o) LIB_SHARED_OBJS = $(LIB_SRCS:%.c=%.lo) -LIB_NAME = libbsd -LIB_VERSION_MAJOR = 0 -LIB_VERSION_MINOR = 0 - LIB_STATIC = $(LIB_NAME).a LIB_SHARED_SO = $(LIB_NAME).so