Commit 386a4279 authored by Niels Möller's avatar Niels Möller

Added rules for building getpwnam-wrapper.so. Needs to be configured.

Rev: src/testsuite/Makefile.in:1.16
parent fe4b91bc
......@@ -40,7 +40,7 @@ TS_SH = conv-1-test conv-2-test conv-3-test \
TS_C = $(TS_SOURCES:.c=$(EXEEXT))
TS_ALL = $(TS_C) $(TS_SH)
TARGETS = $(TS_C) prgrp-timeout$(EXEEXT)
TARGETS = $(TS_C) prgrp-timeout$(EXEEXT) # getpwnam-wrapper.so
TEST_OBJS = testutils.$(OBJEXT) \
../algorithms.$(OBJEXT) \
......@@ -107,6 +107,14 @@ include $(srcdir)/.test-rules.make
prgrp-timeout$(EXEEXT): prgrp-timeout.$(OBJEXT)
$(LINK) prgrp-timeout.$(OBJEXT) -o prgrp-timeout
# FIXME: Make this optional
getpwnam-wrapper.$(OBJEXT): getpwnam-wrapper.c
$(COMPILE) -fPIC -rdynamic -c $< \
&& $(DEP_PROCESS)
getpwnam-wrapper.so: getpwnam-wrapper.$(OBJEXT)
$(LINK) -shared -Wl,-soname,getpwnam-wrapper.so.1 -o getpwnam-wrapper.so getpwnam-wrapper.$(OBJEXT) -ldl -lc -lcrypt
distdir: $(DISTFILES)
set -e; for f in $(DISTFILES) ; do \
if [ -f "$$f" ] ; then cp "$$f" "$(distdir)" ; \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment