diff options
Diffstat (limited to 'c/src/optman/rel.am')
-rw-r--r-- | c/src/optman/rel.am | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/c/src/optman/rel.am b/c/src/optman/rel.am new file mode 100644 index 0000000000..fd47220c33 --- /dev/null +++ b/c/src/optman/rel.am @@ -0,0 +1,19 @@ +# Make foo.rel from foo.o +${ARCH}/%$(LIB_VARIANT).rel: ${ARCH}/%.o + test -d $(ARCH) || mkdir $(ARCH) + ${make-rel} + +bsplib_DATA = $(PGMS) + +TMPINSTALL_FILES += \ + $(C_FILES:%.c=$(PROJECT_RELEASE)/lib/%$(LIB_VARIANT).rel) + +$(PROJECT_RELEASE)/lib/%$(LIB_VARIANT).rel: $(ARCH)/%$(LIB_VARIANT).rel + $(INSTALL_DATA) $< $@ + +all-local: ${ARCH} $(PGMS) $(TMPINSTALL_FILES) + +.PRECIOUS: $(PGMS) + +EXTRA_DIST = $(C_FILES) + |