diff --git a/Makefile.in b/Makefile.in index 53cc372f9d..9d4d09426e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -190,8 +190,9 @@ rxgen: $(DIR_roken) config rx: config lwp rxgen rx_depinstall util rxgk_depinstall +${COMPILE_PART1} rx ${COMPILE_PART2} -rx_test: rx libafsrpc +rx_test: rx libafsrpc libafsauthent +${COMPILE_PART1} rx/test ${COMPILE_PART2} + +${COMPILE_PART1} rx/simple.example ${COMPILE_PART2} rxstat: rx rxstat_depinstall +${COMPILE_PART1} rxstat ${COMPILE_PART2} diff --git a/src/rx/Makefile.in b/src/rx/Makefile.in index 77b37bda40..00e182fcb6 100644 --- a/src/rx/Makefile.in +++ b/src/rx/Makefile.in @@ -183,6 +183,7 @@ dest: librx.a # clean: cd test && $(MAKE) clean + cd simple.example && $(MAKE) clean $(LT_CLEAN) $(RM) -f *.o *.a core *_component_version_number.c diff --git a/src/rx/simple.example/Makefile.in b/src/rx/simple.example/Makefile.in index 1054d01b61..5ac46f2724 100644 --- a/src/rx/simple.example/Makefile.in +++ b/src/rx/simple.example/Makefile.in @@ -19,20 +19,22 @@ LIBS=$(TOP_LIBDIR)/libafsauthent.a $(TOP_LIBDIR)/libafsrpc.a \ all: sample_client sample_server +install dest: + sample_client: sample_client.o ${LIBS} sample.cs.o - $(AFS_LDRULE) sample_client.o sample.cs.o ${LIBS} + $(AFS_LDRULE) sample_client.o sample.cs.o ${LIBS} ${LIB_hcrypto} ${LIB_roken} sample_server: sample_server.o sample.ss.o ${LIBS} - $(AFS_LDRULE) sample_server.o sample.ss.o ${LIBS} + $(AFS_LDRULE) sample_server.o sample.ss.o ${LIBS} ${LIB_hcrypto} ${LIB_roken} sample_client.o: sample.h sample_server.o: sample.h sample.cs.c: sample.xg - $(RXGEN) -A -x -C -o $@ sample.xg + $(RXGEN) -A -x -C -o $@ ${srcdir}/sample.xg sample.ss.c: sample.xg - $(RXGEN) -A -x -S -o $@ sample.xg + $(RXGEN) -A -x -S -o $@ ${srcdir}/sample.xg sample.h: sample.xg - $(RXGEN) -A -x -h -o $@ sample.xg + $(RXGEN) -A -x -h -o $@ ${srcdir}/sample.xg clean: rm -f *.o sample.cs.c sample.ss.c sample_client sample_server