summaryrefslogtreecommitdiff
path: root/minix/servers/ds/Makefile
blob: 649611c18b07c9c74cf29a6208fe63ee9ced1e7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Makefile for Data Store Server (DS)
PROG=	ds
SRCS=	main.c store.c

DPADD+=	${LIBSYS}
LDADD+=	-lsys

# FIXME: workaround for the linker pass not seeing weak symbols. The
# following symbols are essential for magic instrumentation, since they
# perform memory de/allocation. For some reason, their weak versions are
# not picked up by the linker in the first (instrumentation) pass. With
# these definitions we force the first pass to include them.
CPPFLAGS.store.c+= -Dregcomp=_regcomp -Dregfree=_regfree

.include <minix.service.mk>