diff options
author | H. Peter Anvin <hpa@zytor.com> | 2001-10-20 02:12:22 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2001-10-20 02:12:22 +0000 |
commit | 50cedb0ff19233273ef33cb5b5e8725025a35024 (patch) | |
tree | 25b21afff2ef45d706df0b05f18473516b8911f5 /Makefile | |
parent | f3d637296f1f839d4a95a849a7dbfbb600f563f1 (diff) | |
download | lpsm-50cedb0ff19233273ef33cb5b5e8725025a35024.tar.gz lpsm-50cedb0ff19233273ef33cb5b5e8725025a35024.tar.xz lpsm-50cedb0ff19233273ef33cb5b5e8725025a35024.zip |
Split apart into modules. Create lpsm_zalloc()/lpsm_calloc().
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1,17 +1,18 @@ TEST = teststore test_mmap ftrunctest testbuddy testalloc testrecovery SONAME = libpsm.so.0 -VERSION = 0.1.1 +VERSION = 0.1.2 LIBPSM = libpsm.so libpsm.a -OSOBJ = arena.o alloc.o +OSOBJ = arena.o bitops.o alloc.o realloc.o zalloc.o stats.o OSPICOBJ = $(patsubst %.o,%.pic.o,$(OSOBJ)) CC = gcc # This is a reasonable set of flags for production -CFLAGS = -I. -Wall -O3 -fomit-frame-pointer -DNDEBUG -D_FILE_OFFSET_BITS=64 +# Add -NDEBUG if you don't want to retain assert()s +CFLAGS = -I. -Wall -O3 -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 # -DNDEBUG LDFLAGS = # This is for debugging -# CFLAGS = -I. -Wall -O -g -D_FILE_OFFSET_BITS=64 +# CFLAGS = -I. -Wall -O -g -DPRINT_DEBUG_INFO -D_FILE_OFFSET_BITS=64 # LDFLAGS = -g LIBS = libpsm.a -lm PICFLAGS = $(CFLAGS) -fPIC |