1# Makefile for Data Store Server (DS) 2PROG= ds 3SRCS= main.c store.c 4 5DPADD+= ${LIBSYS} 6LDADD+= -lsys 7 8# FIXME: workaround for the linker pass not seeing weak symbols. The 9# following symbols are essential for magic instrumentation, since they 10# perform memory de/allocation. For some reason, their weak versions are 11# not picked up by the linker in the first (instrumentation) pass. With 12# these definitions we force the first pass to include them. 13CPPFLAGS.store.c+= -Dregcomp=_regcomp -Dregfree=_regfree 14 15.include <minix.service.mk> 16