all: compile_et ${TOP_INCDIR}/afs/com_err.h ${TOP_INCDIR}/afs/error_table.h \
${TOP_INCDIR}/afs/mit-sipb-cr.h ${TOP_LIBDIR}/libafscom_err.a \
- liboafs_comerr.la libafsrpc_comerr.la
+ liboafs_comerr.la libcomerr_pic.la
buildtools: compile_et
compile_et: compile_et.o error_table.o
$(Q)case $(SYS_NAME) in \
- *_linux* | *_umlinux* | *_darwin* ) \
- $(AFS_LDRULE_NOQ) compile_et.o error_table.o -L${TOP_LIBDIR} -lopr;; \
+ *_linux* | *_umlinux* | *_darwin* | rs_aix72 ) \
+ $(LT_LDRULE_static_NOQ) compile_et.o error_table.o -L${TOP_LIBDIR} -lopr $(buildtool_roken) $(MT_LIBS);; \
* ) \
- $(AFS_LDRULE_NOQ) compile_et.o error_table.o -L${TOP_LIBDIR} -lopr -ll;; \
+ $(LT_LDRULE_static_NOQ) compile_et.o error_table.o -L${TOP_LIBDIR} -lopr -ll $(buildtool_roken) $(MT_LIBS);; \
esac
libafscom_err.a: $(LT_objs)
liboafs_comerr.la: $(LT_objs) $(LT_deps)
$(LT_LDLIB_shlib) $(LT_objs) $(LT_deps) $(LT_libs)
-libafsrpc_comerr.la: $(LT_objs)
+libcomerr_pic.la: $(LT_objs)
$(LT_LDLIB_pic) $(LT_objs)
# When we build this file, we're using a .c file that's in the object directory,
et_lex.lex.c test1.h test1.c test2.h test2.c \
eddep makedep core AFS_component_version_number.c
+.PHONY: test
test:
- cd test; $(MAKE)
+ cd test && $(MAKE)
compile_et.o: AFS_component_version_number.c
# specify yacc build product as a dependency so our .c.o rule will apply