28.6 Installation and Uninstallation

Installing the library is relatively easy. We first have to make sure that the library is properly translated. Then we copy the files that match src/libmyalps*.a* to the directory lib under the directory where the environment variable ALDORROOT points to. Additionally, the file include/myalps.as.nw is copied to the include directory under ALDORROOT.

357ainstalling and uninstalling the library 357a  (346)  357b
install: all
        $(CP) lib/lib$(LIBRARYNAME)*.a* $(ALDORROOT)/lib
        $(CP) include/$(LIBRARYNAME).as $(ALDORROOT)/include

Defines:
install, used in chunk 405.

Uses ALDORROOT 425, all 346, CP 350a, and LIBRARYNAME 124.

Uninstalling the library just means to remove the corresponding include and library files from ALDORROOT.

357binstalling and uninstalling the library 357a+   (346)  357a
uninstall: checkALDORROOT
        $(RM) $(ALDORROOT)/lib/lib$(LIBRARYNAME)*.a*
        $(RM) $(ALDORROOT)/include/$(LIBRARYNAME).as


Defines:
uninstall, never used.

Uses ALDORROOT 425, checkALDORROOT 423a, and LIBRARYNAME 124.