Fossil

Check-in [e11efff8]
Login

Check-in [e11efff8]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add explanation of how to use makemake.tcl script (and how not to break the build)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: e11efff8e4de0aefcfb2a78b7c985374114e5439014aefee09c073e469d27cf3
User & Date: danshearer 2021-03-17 12:38:58
Original Comment: Add explanation of how to use this script (and how not to break the build)
Context
2021-03-17
15:27
Improve description of technotes as per forum post 225b049220 ... (check-in: ae70df75 user: danshearer tags: trunk)
12:38
Add explanation of how to use makemake.tcl script (and how not to break the build) ... (check-in: e11efff8 user: danshearer tags: trunk)
2021-03-16
21:08
Regenerated makefiles to account for webmail.c removal in [274df1cad42f]. ... (check-in: 8228ed34 user: stephan tags: trunk)
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/makemake.tcl.

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
#!/usr/bin/tclsh
#
# Run this Tcl script to generate the various makefiles for a variety













# of platforms.  Files generated include:
#
#     src/main.mk           # makefile for all unix systems
#     win/Makefile.mingw    # makefile for mingw on windows
#     win/Makefile.*        # makefiles for other windows compilers
#
# Run this script while in the "src" subdirectory.  Like this:
#
#      tclsh makemake.tcl
#
# Add new source files by listing the files (without their .c suffix)
# in the "src" variable.  Add new resource files to the "extra_files"
# variable.  There are other variables that you can alter, down to
# the "STOP HERE" comment.  The stuff below "STOP HERE" should rarely need
# to change.


#
#############################################################################

# Basenames of all source files that get preprocessed using
# "translate" and "makeheaders".  To add new C-language source files to the
# project, simply add the basename to this list and rerun this script.
#


|
>
>
>
>
>
>
>
>
>
>
>
>
>
|





<
<
<
<




|
>
>







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
#!/usr/bin/tclsh
#
#    ### Run this Tcl script EVERY time you modify it in any way! ###
#
# This Tcl script generates make files for various platforms. The makefiles
# then need to be committed.
#
# If you modify this file then:
#
#     1. cd src; tclsh makemake.tcl
#
#     2. if errors are reported, fix them and go to step 1
#
#     3. if "fossil diff" reports changes in any of the generated
#        files, commit the changed files to the repo
#
# Files generated include:
#
#     src/main.mk           # makefile for all unix systems
#     win/Makefile.mingw    # makefile for mingw on windows
#     win/Makefile.*        # makefiles for other windows compilers
#




# Add new source files by listing the files (without their .c suffix)
# in the "src" variable.  Add new resource files to the "extra_files"
# variable.  There are other variables that you can alter, down to
# the "STOP HERE" comment.  The stuff below "STOP HERE" should rarely need
# to change. After modification, go to step 1 above.
#
# Delete unused source files in the "src" variable, then go to step 1 above.
#
#############################################################################

# Basenames of all source files that get preprocessed using
# "translate" and "makeheaders".  To add new C-language source files to the
# project, simply add the basename to this list and rerun this script.
#