2 # This is a Makefile stub which handles the creation of Linux BSD shared
5 # In order to use this stub, the following makefile variables must be defined.
10 # BSDLIB_INSTALL_DIR = $(SHLIBDIR)
20 BSD_LIB = $(BSDLIB_IMAGE).so.$(BSDLIB_VERSION)
25 (cd pic; ld -Bshareable -o $(BSD_LIB) $(OBJS))
26 $(MV) pic/$(BSD_LIB) .
27 $(RM) -f ../$(BSD_LIB)
28 $(LN) $(BSD_LIB) ../$(BSD_LIB)
30 install-shlibs install:: $(BSD_LIB)
31 $(INSTALL_PROGRAM) $(BSD_LIB) \
32 $(DESTDIR)$(BSDLIB_INSTALL_DIR)/$(BSD_LIB)
35 uninstall-shlibs uninstall::
36 $(RM) -f $(DESTDIR)$(BSDLIB_INSTALL_DIR)/$(BSD_LIB)
41 $(RM) -f ../$(BSD_LIB)