Initial Commit
This commit is contained in:
32
libs/libgrapheme-2.0.2/config.mk
Normal file
32
libs/libgrapheme-2.0.2/config.mk
Normal file
@@ -0,0 +1,32 @@
|
||||
# Customize below to fit your system (run ./configure for automatic presets)
|
||||
|
||||
# paths (unset $PCPREFIX to not install a pkg-config-file)
|
||||
DESTDIR =
|
||||
PREFIX = /usr/local
|
||||
INCPREFIX = $(PREFIX)/include
|
||||
LIBPREFIX = $(PREFIX)/lib
|
||||
MANPREFIX = $(PREFIX)/share/man
|
||||
PCPREFIX = $(LIBPREFIX)/pkgconfig
|
||||
|
||||
# flags
|
||||
CPPFLAGS = -D_DEFAULT_SOURCE
|
||||
CFLAGS = -std=c99 -Os -Wall -Wextra -Wpedantic
|
||||
LDFLAGS = -s
|
||||
|
||||
BUILD_CPPFLAGS = $(CPPFLAGS)
|
||||
BUILD_CFLAGS = $(CFLAGS)
|
||||
BUILD_LDFLAGS = $(LDFLAGS)
|
||||
|
||||
SHFLAGS = -fPIC -ffreestanding
|
||||
|
||||
SOFLAGS = -shared -nostdlib -Wl,--soname=libgrapheme.so.$(VERSION_MAJOR).$(VERSION_MINOR)
|
||||
SONAME = libgrapheme.so.$(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_PATCH)
|
||||
SOSYMLINK = true
|
||||
|
||||
# tools (unset $LDCONFIG to not call ldconfig(1) after install/uninstall)
|
||||
CC = cc
|
||||
BUILD_CC = $(CC)
|
||||
AR = ar
|
||||
RANLIB = ranlib
|
||||
LDCONFIG = ldconfig
|
||||
SH = sh
|
Reference in New Issue
Block a user