2007-03-17 18:22:16 +00:00
|
|
|
lib_LTLIBRARIES = libumem.la libumem_malloc.la
|
2006-09-03 12:48:23 +00:00
|
|
|
noinst_PROGRAMS = umem_test umem_test2 umem_test3
|
|
|
|
|
2010-06-26 13:10:39 +00:00
|
|
|
libumem_la_LDFLAGS = -lpthread
|
2006-03-11 18:57:05 +00:00
|
|
|
|
|
|
|
umem_test_SOURCES = umem_test.c
|
2006-09-03 12:48:23 +00:00
|
|
|
umem_test_LDADD = -lumem
|
2006-03-11 18:57:05 +00:00
|
|
|
|
2006-07-25 20:15:33 +00:00
|
|
|
umem_test2_SOURCES = umem_test2.c
|
2006-09-03 12:48:23 +00:00
|
|
|
umem_test2_LDADD = -lumem
|
|
|
|
|
|
|
|
umem_test3_SOURCES = umem_test3.c
|
2007-08-03 15:05:00 +00:00
|
|
|
umem_test3_LDADD = -lumem -lumem_malloc
|
2006-07-25 20:15:33 +00:00
|
|
|
|
2006-03-11 17:15:25 +00:00
|
|
|
libumem_la_SOURCES = init_lib.c \
|
|
|
|
umem_agent_support.c \
|
|
|
|
umem_fail.c \
|
|
|
|
umem_fork.c \
|
|
|
|
umem_update_thread.c \
|
|
|
|
vmem_mmap.c \
|
|
|
|
vmem_sbrk.c \
|
2006-03-11 18:57:05 +00:00
|
|
|
envvar.c \
|
|
|
|
getpcstack.c \
|
|
|
|
misc.c \
|
2006-03-12 09:58:38 +00:00
|
|
|
misc.h \
|
2006-03-11 18:57:05 +00:00
|
|
|
vmem_base.c \
|
2006-03-12 09:58:38 +00:00
|
|
|
vmem_base.h \
|
|
|
|
vmem_stand.h \
|
2006-03-11 18:57:05 +00:00
|
|
|
umem.c \
|
2006-03-12 09:58:38 +00:00
|
|
|
umem.h \
|
|
|
|
umem_base.h \
|
|
|
|
umem_impl.h \
|
|
|
|
sol_compat.h \
|
|
|
|
vmem.c \
|
|
|
|
sys/vmem.h \
|
|
|
|
sys/vmem_impl_user.h
|
|
|
|
|
2007-03-17 18:22:16 +00:00
|
|
|
libumem_malloc_la_SOURCES = malloc.c
|
2010-06-26 13:10:39 +00:00
|
|
|
libumem_malloc_la_LDFLAGS = -lpthread -R$(libdir) -lumem
|
2006-09-03 12:48:23 +00:00
|
|
|
|
2007-03-17 23:52:25 +00:00
|
|
|
man3_MANS = umem_alloc.3 umem_cache_create.3 umem_debug.3
|
|
|
|
EXTRA_DIST = COPYRIGHT OPENSOLARIS.LICENSE umem.spec Doxyfile umem_test4 \
|
|
|
|
$(man3_MANS)
|
|
|
|
|
2006-03-12 18:23:52 +00:00
|
|
|
nobase_include_HEADERS = umem.h sys/vmem.h
|
2006-03-12 10:19:52 +00:00
|
|
|
|
2006-09-03 12:48:23 +00:00
|
|
|
TESTS = umem_test umem_test2 umem_test3 umem_test4
|
2006-03-11 18:57:05 +00:00
|
|
|
|
2006-05-13 20:37:27 +00:00
|
|
|
html-local:
|
|
|
|
mkdir -p docs
|
|
|
|
doxygen Doxyfile
|
|
|
|
|
|
|
|
clean-local:
|
|
|
|
rm -rf docs
|
|
|
|
|
|
|
|
.PHONY: rpm
|
2006-05-13 20:50:18 +00:00
|
|
|
rpm: dist-bzip2
|
|
|
|
rpmbuild -ta $(distdir).tar.bz2
|
2006-05-13 20:37:27 +00:00
|
|
|
|
2006-03-11 17:15:25 +00:00
|
|
|
# XXX: Non-i386: SPARC asm. x86_64?
|
|
|
|
# Convert this to GNU as format: i386_subr_sol.s
|
2006-09-03 12:48:23 +00:00
|
|
|
# <http://cvs.opensolaris.org/source/xref/on/usr/src/lib/libumem/>
|