lwp: Move 'rw' to src/lwp/test

'rw' is an old test program; move it to src/lwp/test with the other old
tests.

While we're here, don't link 'rw' with util.a; it's not needed.

Change-Id: I68e0ed5eb07c7b40d1e1e8069b953157fd1087f3
Reviewed-on: https://gerrit.openafs.org/16013
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
This commit is contained in:
Andrew Deason 2025-01-03 12:43:35 -06:00 committed by Michael Meffie
parent 755fad2f26
commit 956c0d7d57
4 changed files with 5 additions and 8 deletions

View File

@ -192,12 +192,6 @@ threadname.o : threadname.c
exc_handling.o : exc_handling.c
#
# tests
#
rw: rw.o liblwp.a $(TOP_LIBDIR)/util.a $(TOP_LIBDIR)/libopr.a
$(AFS_LDRULE) rw.o liblwp.a $(TOP_LIBDIR)/util.a $(TOP_LIBDIR)/libopr.a
#
# Install targets
#
@ -224,6 +218,6 @@ buildtools: ${TOP_LIBDIR}/liblwp.a depinstall
#
clean:
$(LT_CLEAN)
$(RM) -f *.o *.a core rw AFS_component_version_number.c
$(RM) -f *.o *.a core AFS_component_version_number.c
include ../config/Makefile.version

View File

@ -37,5 +37,8 @@ selsubs.o: selsubs.c seltest.h
test_key: test_key.o
$(AFS_LDRULE) test_key.o ${LIBS} ${TOP_LIBDIR}/util.a
rw: rw.o $(LIBS) $(TOP_LIBDIR)/libopr.a
$(AFS_LDRULE) rw.o $(LIBS) $(TOP_LIBDIR)/libopr.a
clean:
-$(RM) -f *.o *.a test test_key selclient selserver core
-$(RM) -f *.o *.a rw test test_key selclient selserver core