Skip to content
Snippets Groups Projects
Commit f0b7471b authored by Steven Murray's avatar Steven Murray Committed by Steven Murray
Browse files

bug #102374: RFE: Create a separate rmc client library called libcastorrmc.so

Modified smc/Imakefile so that the link stage of the smc command-line tool
explicitly names libcastorcommon.so as a dependency.  The build process already
works due to some implicit symbol resolutions as link time.  This modification
makes the link logic easier for the reader to by making it explict.
parent 4656ccb0
No related branches found
No related tags found
No related merge requests found
......@@ -28,8 +28,8 @@ CLIENTLIBMANPAGE(rmc_mount)
CLIENTLIBMANPAGE(rmc_read_elem_status)
CLIENTLIBMANPAGE(rmc_seterrbuf)
COMM The rmc library depends on libcastorcommon.so therefore include the rules
COMM to make it
COMM Both the rmc library and the smc command-line tool depend on
COMM libcastorcommon.so therefore include the rules to make it
include $(CASTOR_ROOT)/common/Makefile
RMCLIB_DEPLIBS = DepSharedLibraryTargetName(common,castorcommon)
......@@ -37,7 +37,7 @@ RMCLIB_LIBS = $(RMCLIB_DEPLIBS)
RMCLIB_OBJS = rmc_dismount.o rmc_errmsg.o rmc_export.o rmc_find_cartridge.o rmc_get_geometry.o rmc_import.o rmc_mount.o rmc_read_elem_status.o send2rmc.o
TapeSharedLibraryTarget(castorrmc,$(RMCLIB_OBJS),$(RMCLIB_DEPLIBS),$(RMCLIB_LIBS))
SMC_DEPLIBS = DepSharedLibraryTargetName(rmc,castorrmc)
SMC_DEPLIBS = DepSharedLibraryTargetName(common,castorcommon) DepSharedLibraryTargetName(rmc,castorrmc)
SMC_LIBS = $(SMC_DEPLIBS) BuildRPathcastorrmc
TapeProgramTarget(smc,smc.o,$(SMC_DEPLIBS),$(SMC_LIBS),6755)
EXEMANPAGE(smc)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment