aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2001-10-26 02:32:56 +0000
committerH. Peter Anvin <hpa@zytor.com>2001-10-26 02:32:56 +0000
commitd5cfcf4d16630bd5961157fb66f6a9d9d288c063 (patch)
tree3c63d766ced63f9b1d6bc70dd0bdea5aed455336 /Makefile
parentaf538c1a2aa168d1c66e6e1c1fa3a3fb3e5b00b6 (diff)
downloadlpsm-d5cfcf4d16630bd5961157fb66f6a9d9d288c063.tar.gz
lpsm-d5cfcf4d16630bd5961157fb66f6a9d9d288c063.tar.xz
lpsm-d5cfcf4d16630bd5961157fb66f6a9d9d288c063.zip
Add overall man page lpsm(7)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile28
1 files changed, 16 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index ebada37..7cb659c 100644
--- a/Makefile
+++ b/Makefile
@@ -11,17 +11,20 @@
##
## -----------------------------------------------------------------------
-TEST = teststore testbuddy testalloc testrecovery zallocevil \
- test_mmap ftrunctest
-SONAME = libpsm.so.0
-VERSION = 0.1.9
-LIBPSM = libpsm.so.$(VERSION) libpsm.a
-
-CFILES = arena.c bitops.c \
- mgmt.c malloc.c free.c realloc.c zalloc.c calloc.c stats.c
-OSOBJ = $(patsubst %.c,%.o,$(CFILES))
-OSPICOBJ = $(patsubst %.c,%.pic.o,$(CFILES))
-MANPAGES = $(patsubst %.in,%,$(wildcard *.[1-9].in))
+TEST = teststore testbuddy testalloc testrecovery zallocevil \
+ test_mmap ftrunctest
+SONAME = libpsm.so.0
+VERSION = 0.1.9
+LIBPSM = libpsm.so.$(VERSION) libpsm.a
+
+CFILES = arena.c bitops.c \
+ mgmt.c malloc.c free.c realloc.c zalloc.c calloc.c stats.c
+OSOBJ = $(patsubst %.c,%.o,$(CFILES))
+OSPICOBJ = $(patsubst %.c,%.pic.o,$(CFILES))
+# MAN1PAGES = $(patsubst %.in,%,$(wildcard *.1.in))
+MAN3PAGES = $(patsubst %.in,%,$(wildcard *.3.in))
+MAN7PAGES = $(patsubst %.in,%,$(wildcard *.7.in))
+MANPAGES = $(MAN3PAGES) $(MAN7PAGES)
CC = gcc
ifndef DEBUG
@@ -74,12 +77,13 @@ install: all
cd $(INSTALLROOT)$(libdir) && ln -sf libpsm.so.$(VERSION) $(SONAME)
cd $(INSTALLROOT)$(libdir) && ln -sf libpsm.so.$(VERSION) libpsm.so
$(INSTALL) lpsm.h $(INSTALLROOT)$(includedir)
- $(INSTALL) $(MANPAGES) $(INSTALLROOT)$(man3dir)
+ $(INSTALL) $(MAN3PAGES) $(INSTALLROOT)$(man3dir)
cd $(INSTALLROOT)$(man3dir) && ln -sf lpsm_checkpoint.3 lpsm_need_checkpoint.3
cd $(INSTALLROOT)$(man3dir) && ln -sf lpsm_malloc.3 lpsm_free.3
cd $(INSTALLROOT)$(man3dir) && ln -sf lpsm_malloc.3 lpsm_realloc.3
cd $(INSTALLROOT)$(man3dir) && ln -sf lpsm_malloc.3 lpsm_zalloc.3
cd $(INSTALLROOT)$(man3dir) && ln -sf lpsm_malloc.3 lpsm_calloc.3
+ $(INSTALL) $(MAN7PAGES) $(INSTALLROOT)$(man7dir)
ldconfig
%.o: %.c