File: modules.txt

package info (click to toggle)
dcmtk 3.6.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 54,900 kB
  • sloc: cpp: 274,805; ansic: 47,345; makefile: 5,313; sh: 4,250; perl: 277; xml: 182; lex: 103
file content (65 lines) | stat: -rw-r--r-- 2,441 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Configuration of the different Modules
======================================

The following files in the "config" directory are used for the configuration
of the DCMTK modules:

confmod.in      definition of configuration tests for modules
confmod         creates "configure" for modules
general.m4      general configuration tests (see "config.txt")
Makefile.def    general default Makefile definitions for all modules, generated
                by "configure"
templates/configure.mod
                "configure" for the modules' directories, must be copied to the
                main module directory (see "dirstruc.txt")
include/dcmtk/config/osconfig.h
                definition that must be included into the modules' source
                files, generated by "configure"

"confmod" must be copied to the module's main directory and renamed to
"configure".


Modules configure
=================

This configure script runs the modules' and the main configure script in the
"config" directory (using special options):

Syntax:
        configure [-a|-c] <configure-options>

Purpose:
        Without options, this script calls "confmod" in the "config" directory
        to create the configuration for the Makefiles in the module.
        Using -a mean that first the "configure" in the "config" directory is
        called and then "confmod".  With -c only the "configure" in the
        "config" directory is started.  The "configure" options are passed to
        the called scripts.
        To determine the "config" directory the script searches from the local
        directory to the root to find a directory named "config".  The output
        of the "confmod" script (*.cache, *.status, *.log) is stored in the
        module's directory.  It is not possible to call "confmod" from the
        "config" directory.

"confmod.in" stores the configurations that must be used in the modules and not
in the "config" directory.  This is mainly used to define variables that
specify the "config" directory and the default Makefile template.


Modules Makefiles
=================

All Makefiles in the modules' directories must include the following lines:

@SET_MAKE@

SHELL = /bin/sh
VPATH = @srcdir@:@top_srcdir@/include:@top_srcdir@/@configdir@/include
srcdir = @srcdir@
top_srcdir = @top_srcdir@
configdir = @top_srcdir@/@configdir@

include $(configdir)/@common_makefile@

See the Makefile.* in the config/templates directory.