Tcl Extension Architecture (TEA) Sample Extension

Check-in [13adaa3c2c]
Login

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

Overview
Comment:Tweak to ensure we don't overwrite the real make.tcl
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | practcl
Files: files | file ages | folders
SHA1: 13adaa3c2cb88de5f1743cd86c31784aa271d033
User & Date: hypnotoad 2016-06-25 14:54:38.986
Context
2016-07-07
14:04
Certain dependencies are now expressed as a dependency not a trigger. This prevents a lot of duplication of already compiled code.

Simplified the makefile's handling of DESTDIR check-in: edee81275c user: hypnotoad tags: practcl

2016-06-25
14:54
Tweak to ensure we don't overwrite the real make.tcl check-in: 13adaa3c2c user: hypnotoad tags: practcl
14:53
Moving most of the heavy lifting for install into the make.tcl file

The Makefile is evoloving into an inert bit that just invokes make.tcl calls.

Added a local make.tcl to the directory which redirects to the real make.tcl file in the source folder check-in: 6f3945d120 user: hypnotoad tags: practcl

Changes
Unified Diff Ignore Whitespace Patch
Changes to make.tcl.
80
81
82
83
84
85
86

87
88


89
90
91
92
93
94
95
}

if {$make(autoconf)} {
  #set mkout [open sample.mk w]
  #puts $mkout [::practcl::build::Makefile $::project(builddir) LIBRARY]
  #close $mkout
  LIBRARY generate-decls [LIBRARY define get name] $::project(builddir)

  set fout [open make.tcl w]
  puts $fout [list source [file join $::project(srcdir) make.tcl]]


}

if {$make(library)} {
  puts "BUILDING [LIBRARY define get libfile]"
  ::practcl::build::library [LIBRARY define get libfile] LIBRARY
}








>
|
|
>
>







80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
}

if {$make(autoconf)} {
  #set mkout [open sample.mk w]
  #puts $mkout [::practcl::build::Makefile $::project(builddir) LIBRARY]
  #close $mkout
  LIBRARY generate-decls [LIBRARY define get name] $::project(builddir)
  if {![file exists make.tcl]} {
    set fout [open make.tcl w]
    puts $fout [list source [file join $::project(srcdir) make.tcl]]
    close $fout
  }
}

if {$make(library)} {
  puts "BUILDING [LIBRARY define get libfile]"
  ::practcl::build::library [LIBRARY define get libfile] LIBRARY
}