lemoncake

rbtree based memory allocator
git clone git://git.2f30.org/lemoncake.git
Log | Files | Refs | README | LICENSE

commit 20e5d7a55c9dcc449990b4f69511e9455860c2a6
parent 925358562a06353f713586bba401444e11e10cf1
Author: sin <sin@2f30.org>
Date:   Thu Nov 14 19:27:46 +0000

Produce liblemoncake.so instead of lemoncake.so

Diffstat:
Makefile | 12++++++------
README | 7+++----
2 files changed, 9 insertions(+), 10 deletions(-)
diff --git a/Makefile b/Makefile @@ -6,7 +6,7 @@ include config.mk SRC = lemoncake.c OBJ = ${SRC:.c=.o} -all: options lemoncake.so +all: options liblemoncake.so options: @echo lemoncake build options: @@ -20,13 +20,13 @@ options: ${OBJ}: config.mk -lemoncake.so: ${OBJ} +liblemoncake.so: ${OBJ} @echo CC -o $@ @${CC} -o $@ ${OBJ} ${LDFLAGS} clean: @echo cleaning - @rm -f lemoncake.so ${OBJ} lemoncake-${VERSION}.tar.gz + @rm -f liblemoncake.so ${OBJ} lemoncake-${VERSION}.tar.gz dist: clean @echo creating dist tarball @@ -40,11 +40,11 @@ dist: clean install: all @echo installing library file to ${DESTDIR}${PREFIX}/lib @mkdir -p ${DESTDIR}${PREFIX}/lib - @cp -f lemoncake.so ${DESTDIR}${PREFIX}/lib - @chmod 755 ${DESTDIR}${PREFIX}/lib/lemoncake.so + @cp -f liblemoncake.so ${DESTDIR}${PREFIX}/lib + @chmod 755 ${DESTDIR}${PREFIX}/lib/liblemoncake.so uninstall: @echo removing library file from ${DESTDIR}${PREFIX}/lib - @rm -f ${DESTDIR}${PREFIX}/lib/lemoncake.so + @rm -f ${DESTDIR}${PREFIX}/lib/liblemoncake.so .PHONY: all options clean dist install uninstall diff --git a/README b/README @@ -3,11 +3,11 @@ How to use To test you can use the following: -LD_PRELOAD=$(pwd)/lemoncake.so <prog> +LD_PRELOAD=$(pwd)/liblemoncake.so <prog> To get some debug output, try this: -LD_PRELOAD=$(pwd)/lemoncake.so LEMONCAKE_DEBUG=1 <prog> +LD_PRELOAD=$(pwd)/liblemoncake.so LEMONCAKE_DEBUG=1 <prog> and then check out lemoncake.out. Notes @@ -20,4 +20,4 @@ saves and restores its state. Compatibility ============= -Tested on Linux (x86/x86-64/ARM) and OpenBSD (x86/x86-64/ppc).- \ No newline at end of file +Tested on Linux (x86/x86-64/ARM) and OpenBSD (x86/x86-64/ppc).