Dummy Makefile for rxgk

Include a libtool export symbol list for the shared library, which
only has the client RPC calls and the NewFooSecurityObject primitives
for now, since that's all that's stubbed out.

Also connect the rxgk directory up to be buildable from the root, but
nothing depends on it yet so it will not be built.

Looking ahead, build a libafsrpc_rxgk.la object.

Change-Id: I12ddefbdaa1ad4845649e3a32efdeaaa21b5e9b7
Reviewed-on: http://gerrit.openafs.org/10563
Reviewed-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: D Brashear <shadow@your-file-system.com>
This commit is contained in:
Ben Kaduk 2013-01-04 16:16:04 -05:00 committed by D Brashear
parent ee56e925f0
commit 231bd022ed
5 changed files with 102 additions and 0 deletions

View File

@ -57,6 +57,7 @@ generated: force buildtools
+${COMPILE_PART1} fsint ${COMPILE_GENERATED}
+${COMPILE_PART1} kauth ${COMPILE_GENERATED}
+${COMPILE_PART1} ptserver ${COMPILE_GENERATED}
+${COMPILE_PART1} rxgk ${COMPILE_GENERATED}
+${COMPILE_PART1} rxkad ${COMPILE_GENERATED}
+${COMPILE_PART1} rxstat ${COMPILE_GENERATED}
+${COMPILE_PART1} sys ${COMPILE_GENERATED}
@ -217,6 +218,9 @@ afs: config export comerr afs_depinstall
sys: cmd comerr afs hcrypto rx rxstat fsint sys_depinstall
+${COMPILE_PART1} sys ${COMPILE_PART2}
rxgk: cmd comerr hcrypto rx rxgk_depinstall
+${COMPILE_PART1} rxgk ${COMPILE_PART2}
rxkad: cmd comerr hcrypto rfc3961 rx rxkad_depinstall
+${COMPILE_PART1} rxkad ${COMPILE_PART2}
@ -428,6 +432,9 @@ lwp_depinstall: config
rx_depinstall: config
+${COMPILE_PART1} rx ${COMPILE_DEPINSTALL}
rxgk_depinstall: config comerr
+${COMPILE_PART1} rxgk ${COMPILE_DEPINSTALL}
rxkad_depinstall: config comerr
+${COMPILE_PART1} rxkad ${COMPILE_DEPINSTALL}
@ -698,6 +705,7 @@ clean2:
-${COMPILE_PART1} export ${COMPILE_CLEAN}
-${COMPILE_PART1} afs ${COMPILE_CLEAN}
-${COMPILE_PART1} sys ${COMPILE_CLEAN}
-${COMPILE_PART1} rxgk ${COMPILE_CLEAN}
-${COMPILE_PART1} rxkad ${COMPILE_CLEAN}
-${COMPILE_PART1} auth ${COMPILE_CLEAN}
-${COMPILE_PART1} ubik ${COMPILE_CLEAN}
@ -892,6 +900,7 @@ distclean: clean
src/rx/test/Makefile \
src/rxdebug/Makefile \
src/rxgen/Makefile \
src/rxgk/Makefile \
src/rxkad/Makefile \
src/rxkad/test/Makefile \
src/rxosd/Makefile \

View File

@ -256,6 +256,7 @@ AC_OUTPUT([
src/rx/test/Makefile
src/rxdebug/Makefile
src/rxgen/Makefile
src/rxgk/Makefile
src/rxkad/Makefile
src/rxkad/test/Makefile
src/rxosd/Makefile

3
src/rxgk/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
/rxgk_errs.h
/rxgk_errs.c
/rxgk_int.h

85
src/rxgk/Makefile.in Normal file
View File

@ -0,0 +1,85 @@
srcdir=@srcdir@
include @TOP_OBJDIR@/src/config/Makefile.config
include @TOP_OBJDIR@/src/config/Makefile.pthread
include @TOP_OBJDIR@/src/config/Makefile.libtool
INCLS= ${TOP_INCDIR}/rx/rx.h ${TOP_INCDIR}/rx/rxgk.h ${TOP_INCDIR}/rx/rxgk_errs.h \
${TOP_INCDIR}/rx/rxgk_int.h
LT_objs = rxgk_client.lo rxgk_server.lo rxgk_errs.lo rxgk_int.cs.lo \
rxgk_int.xdr.lo rxgk_int.ss.lo rxgk_procs.lo
LT_deps = $(top_builddir)/src/opr/liboafs_opr.la \
$(top_builddir)/src/comerr/liboafs_comerr.la \
$(top_builddir)/src/rx/liboafs_rx.la
LT_libs = # gssapi will go here
all: depinstall rxgk_int.cs.c rxgk_int.ss.c rxgk_int.xdr.c rxgk_int.h \
${LT_objs} liboafs_rxgk.la libafsrpc_rxgk.la
generated: \
rxgk_errs.h rxgk_errs.c rxgk_int.h rxgk_int.cs.c rxgk_int.xdr.c \
rxgk_int.ss.c
depinstall: \
${TOP_INCDIR}/rx/rxgk.h \
${TOP_INCDIR}/rx/rxgk_errs.h \
${TOP_INCDIR}/rx/rxgk_int.h
${TOP_INCDIR}/rx/rxgk.h: ${srcdir}/rxgk.h ${TOP_INCDIR}/rx/rxgk_errs.h \
${TOP_INCDIR}/rx/rxgk_int.h
${INSTALL_DATA} ${srcdir}/rxgk.h $@
${TOP_INCDIR}/rx/rxgk_errs.h: rxgk_errs.h
${INSTALL_DATA} $? $@
${TOP_INCDIR}/rx/rxgk_int.h: rxgk_int.h
${INSTALL_DATA} $? $@
rxgk_int.cs.c: rxgk_int.xg
${RXGEN} -b -A -x -C -o $@ ${srcdir}/rxgk_int.xg
rxgk_int.ss.c: rxgk_int.xg
${RXGEN} -b -A -x -S -o $@ ${srcdir}/rxgk_int.xg
rxgk_int.xdr.c: rxgk_int.xg
${RXGEN} -b -A -x -c -o $@ ${srcdir}/rxgk_int.xg
rxgk_int.h: rxgk_int.xg
${RXGEN} -b -A -x -h -o $@ ${srcdir}/rxgk_int.xg
rxgk_int.ss.o: rxgk_int.ss.c rxgk_int.xdr.c rxgk_int.h
rxgk_int.cs.o: rxgk_int.cs.c rxgk_int.xdr.c rxgk_int.h
rxgk_int.xdr.o: rxgk_int.xdr.c rxgk_int.h
liboafs_rxgk.la: liboafs_rxgk.la.sym ${LT_objs} ${LT_deps}
$(LT_LDLIB_shlib) $(LT_objs) $(LT_deps) $(LT_libs)
libafsrpc_rxgk.la: $(LT_objs)
$(LT_LDLIB_pic) $(LT_objs)
$(LT_objs): $(INCLS)
rxgk_errs.h: rxgk_errs.c
rxgk_errs.c: rxgk_errs.et
$(RM) -f rxgk_errs.h rxgk_errs.c
${COMPILE_ET} -p ${srcdir} rxgk_errs
#
# Installation targets
#
test: all
install: liboafs_rxgk.la
dest: liboafs_rxgk.la
#
# Misc. targets
#
clean:
$(LT_CLEAN)
$(RM) -f *.o *.a *.cs.c *.ss.c *.xdr.c rxgk_int.h core
include ../config/Makefile.version

View File

@ -0,0 +1,4 @@
RXGK_CombineTokens
RXGK_GSSNegotiate
rxgk_NewClientSecurityObject
rxgk_NewServerSecurityObject