2 include @TOP_OBJDIR@/src/config/Makefile.config
3 include @TOP_OBJDIR@/src/config/Makefile.pthread
4 include @TOP_OBJDIR@/src/config/Makefile.libtool
6 INCLS= ${TOP_INCDIR}/rx/rx.h ${TOP_INCDIR}/rx/rxgk.h ${TOP_INCDIR}/rx/rxgk_errs.h \
7 ${TOP_INCDIR}/rx/rxgk_int.h
9 LT_objs = rxgk_client.lo rxgk_server.lo rxgk_errs.lo rxgk_int.cs.lo \
10 rxgk_int.xdr.lo rxgk_int.ss.lo rxgk_procs.lo rxgk_token.lo \
11 rxgk_packet.lo rxgk_crypto_rfc3961.lo
13 LT_deps = $(top_builddir)/src/opr/liboafs_opr.la \
14 $(top_builddir)/src/comerr/liboafs_comerr.la \
15 $(top_builddir)/src/rx/liboafs_rx.la \
16 $(top_builddir)/src/crypto/rfc3961/liboafs_rfc3961.la
18 LT_libs = # gssapi will go here
20 all: depinstall rxgk_int.cs.c rxgk_int.ss.c rxgk_int.xdr.c rxgk_int.h \
21 ${LT_objs} liboafs_rxgk.la librxgk_pic.la
24 rxgk_errs.h rxgk_errs.c rxgk_int.h rxgk_int.cs.c rxgk_int.xdr.c \
28 ${TOP_INCDIR}/rx/rxgk.h \
29 ${TOP_INCDIR}/rx/rxgk_errs.h \
30 ${TOP_INCDIR}/rx/rxgk_int.h
32 ${TOP_INCDIR}/rx/rxgk.h: ${srcdir}/rxgk.h ${TOP_INCDIR}/rx/rxgk_errs.h \
33 ${TOP_INCDIR}/rx/rxgk_int.h
34 ${INSTALL_DATA} ${srcdir}/rxgk.h $@
36 ${TOP_INCDIR}/rx/rxgk_errs.h: rxgk_errs.h
39 ${TOP_INCDIR}/rx/rxgk_int.h: rxgk_int.h
42 rxgk_int.cs.c: rxgk_int.xg
43 ${RXGEN} -b -A -x -C -o $@ ${srcdir}/rxgk_int.xg
45 rxgk_int.ss.c: rxgk_int.xg
46 ${RXGEN} -b -A -x -S -o $@ ${srcdir}/rxgk_int.xg
48 rxgk_int.xdr.c: rxgk_int.xg
49 ${RXGEN} -b -A -x -c -o $@ ${srcdir}/rxgk_int.xg
51 rxgk_int.h: rxgk_int.xg
52 ${RXGEN} -b -A -x -h -o $@ ${srcdir}/rxgk_int.xg
54 rxgk_int.ss.o: rxgk_int.ss.c rxgk_int.xdr.c rxgk_int.h
55 rxgk_int.cs.o: rxgk_int.cs.c rxgk_int.xdr.c rxgk_int.h
56 rxgk_int.xdr.o: rxgk_int.xdr.c rxgk_int.h
58 liboafs_rxgk.la: liboafs_rxgk.la.sym ${LT_objs} ${LT_deps}
59 $(LT_LDLIB_shlib) $(LT_objs) $(LT_deps) $(LT_libs)
61 librxgk_pic.la: $(LT_objs)
62 $(LT_LDLIB_pic) $(LT_objs)
66 rxgk_errs.h: rxgk_errs.c
67 rxgk_errs.c: rxgk_errs.et
68 $(RM) -f rxgk_errs.h rxgk_errs.c
69 ${COMPILE_ET} -p ${srcdir} rxgk_errs
72 # Installation targets
76 install: liboafs_rxgk.la rxgk.h rxgk_errs.h rxgk_int.h
77 if [ "@ENABLE_RXGK@" = yes ]; then \
78 ${INSTALL} -d ${DESTDIR}${includedir}/rx; \
79 ${INSTALL_DATA} ${srcdir}/rxgk.h ${DESTDIR}${includedir}/rx/rxgk.h ; \
80 ${INSTALL_DATA} rxgk_errs.h ${DESTDIR}${includedir}/rx/rxgk_errs.h ; \
81 ${INSTALL_DATA} rxgk_int.h ${DESTDIR}${includedir}/rx/rxgk_int.h ; \
84 dest: liboafs_rxgk.la rxgk.h rxgk_errs.h rxgk_int.h
85 if [ "@ENABLE_RXGK@" = yes ]; then \
86 ${INSTALL} -d ${DEST}${includedir}/rx; \
87 ${INSTALL_DATA} ${srcdir}/rxgk.h ${DEST}/include/rx/rxgk.h ; \
88 ${INSTALL_DATA} rxgk_errs.h ${DEST}/include/rx/rxgk_errs.h ; \
89 ${INSTALL_DATA} rxgk_int.h ${DEST}/include/rx/rxgk_int.h ; \
97 $(RM) -f *.o *.a *.cs.c *.ss.c *.xdr.c rxgk_int.h core
99 include ../config/Makefile.version