To serve multiple plattforms and development environments,
a plattform independet format for makefiles is needed.
Sub chapter pages: ACDK General installation notice This is a generic installation for ACDK packages. ACDK projects directory layout Description of the common directory layout of an ACDK project. In ACDK Make Project a compilation unit (executable or library) will be defined. In ACDK Make Workspace a distribution unit with sources, configuration, tests and documentation will be defined. |
nmake -f acdk_all.nmake
make -f [package].[platform]
nmake -f acdk_all.linux
workspace_name.lsp
in the workspace
directory, which defines the contained projects, supported
platforms and version information.$ACDKHOME/bin/acdklisp workspace_name.lsp
project_name.lsp
is provided, which following information:$ACDKHOME/bin/acdklisp project_name.lsp [targetname]
/somewhere/acdk
contains the current distribution of acdk.
Example: /usr/local/acdk-1.00 or d:\programming\acdk-1.00.
This directory is also refered ACDKHOME.
/somewhere/acdk/bin
The place for the exutables.
/somewhere/acdk/cfg
The place for configuration data, like lisp files.
/somewhere/acdk/include
The public include headers.
Note: actually also the .cpp files will be copied to
this location, because they are used to generate
the online documentation.
/somewhere/acdk/acdk-workspaces*
Each workspace resists in a sperate directory, which
should be named by the short package name, f.i.
acdk_core, acdk_perl, acdkx_orb, etc.
See below
acdk_project/
The root directory contains normally following files:
acdk_project/index.*
HTML and text files with mayor documentation links.
acdk_project/acdk_project.lsp
The acdk make for the project.
see: Target Workspaces.
Workspaces.
acdk_project/acdk_project.*
target specific make files
acdk_project/Makefile
driver for the target specific make files.
acdk_project/src
This directory contains the projects with all
sources (*.h, *.cpp).
The sources are organized in namespace packages,
whereas each namespace (nested) corresponds to a
(nested) directory.
acdk_project/docs
This directory contains the documentation
of this workspace. For the standard workspaces
these docs will be installed into the acdk project
web.
acdk_project/cfg
Configuration data. will be installed into
the ACDKHOME/cfg directory.
acdk_project/tests
contains the sources for the test executables.
For more information about test please see also: ACDK Unit Tests.
default
: Build library or executable.clean
: removes all *.o files.depend
: creates files for dependencies.outputdirectories
: creates all outputdirectories if needed.all
: clean depend outputdirectories $(FINALTARGET) doc install
Projects
: For each project there
is make target with the same name.clean
: calls clean for all projects.doc
: generates the document files (genweb needed).install
: install header, sources and documentation files.metamakemake
: regenerate Workspace Makefiles from project lsp files.makemake
: regenerate Project Makefiles from project lsp files.distrib
and ddistrib
: