mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-04-16 15:01:17 +02:00
Move filename related variables to the beginning of the file
Switch them to single expanded varibles.
This commit is contained in:
parent
1e1ab18758
commit
e42791d0d3
11
Makefile
11
Makefile
@ -7,6 +7,11 @@ LIB_VERSION_MAJOR = 0
|
||||
LIB_VERSION_MINOR = 0
|
||||
LIB_VERSION := $(LIB_VERSION_MAJOR).$(LIB_VERSION_MINOR)
|
||||
|
||||
LIB_STATIC := $(LIB_NAME).a
|
||||
LIB_SHARED_SO := $(LIB_NAME).so
|
||||
LIB_SONAME := $(LIB_SHARED_SO).$(LIB_VERSION_MAJOR)
|
||||
LIB_SHARED := $(LIB_SONAME).$(LIB_VERSION_MINOR)
|
||||
|
||||
TAR_NAME := $(LIB_NAME)-$(LIB_VERSION)
|
||||
TAR_FILE := $(TAR_NAME).tar.gz
|
||||
|
||||
@ -32,12 +37,6 @@ LIB_MANS := $(patsubst %,man/%,$(LIB_MANS))
|
||||
LIB_STATIC_OBJS = $(LIB_SRCS:%.c=%.o)
|
||||
LIB_SHARED_OBJS = $(LIB_SRCS:%.c=%.lo)
|
||||
|
||||
LIB_STATIC = $(LIB_NAME).a
|
||||
|
||||
LIB_SHARED_SO = $(LIB_NAME).so
|
||||
LIB_SONAME = $(LIB_SHARED_SO).$(LIB_VERSION_MAJOR)
|
||||
LIB_SHARED = $(LIB_SONAME).$(LIB_VERSION_MINOR)
|
||||
|
||||
MK_CFLAGS = -Iinclude/ -include bsd/bsd.h -D_GNU_SOURCE -D__REENTRANT
|
||||
|
||||
libs: $(LIB_STATIC) $(LIB_SHARED_SO)
|
||||
|
Loading…
x
Reference in New Issue
Block a user