The project should get a name (PROJECTNAME) and a version (combined from numbers given a MAJORVERSION, MINORVERSION, and PATCHVERSION). The value of projectname should simply be that of PROJECTNAME converted to lower case letters.
There are some restrictions for the values of PROJECTNAME and projectname. Neither of the values must contain LATEX special characters. The value of PROJECTNAME must be an Aldor identifier; it is used for the identifiers LibraryInformationMyAlps in the generated file src/mymyalpsversion.as as well as for the assertions DontNeedLibraryMyAlps and MacrosMyAlps in the Makefile targets loop and the Makefile variables FLAGSal and FLAGSx.
The name of the generated libraries is by default the project name in lower case letters, but can be set to be something else. The libraries
lib$(LIBRARYNAME).al
lib$(LIBRARYNAME).a |
will be generated.
The .al library consists of .ao files whose names are the same as the corresponding .as.nw files in the src (sub-)directory except that they will have an additional prefix which is given by LIBPREFIX. For example, if there is a source file src/basic/data.as.nw and LIBPREFIX=cx then the corresponding file inside the .al library will be generated as cxdata.ao.
The same rule applies to the .a library and the .o files therein.
The intention of such a prefix is to make the filenames inside the library unique with respect to other projects. Currently the building process will not work if the variable LIBPREFIX has no value, i. e., is empty.
It ist important to list the value of CREDITS with double quotes.
CREDITS+=,"Somebody Else"
|
Among others the file src/mymyalpsversion.as is generated from the above data.
Its code generation appears in src/Makefile.nw. The file src/mymyalpsversion.as provides information about the library and looks as follows.