64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
all: setup default-target
clean: default-clean
realclean: default-hose
# Explicit dependency rules
$(PRJ_OBJS): $(TMP_DIR)\tls.tcl.h $(TMP_DIR)\tlsUuid.h
# We must define a pkgindex target that will create a pkgIndex.tcl
# file in the $(OUT_DIR) directory. We can just redirect to the
# default-pkgindex target for our sample extension.
pkgindex: default-pkgindex-tea
$(TMP_DIR)\tls.tcl.h: $(LIBDIR)\tls.tcl
"$(TCLSH)" << $(LIBDIR)\tls.tcl >$(TMP_DIR)\tls.tcl.h
set in [open [lindex $$argv 0] r]
while {[gets $$in line] != -1} {
switch -regexp -- $$line "^$$" - {^\s*#} continue
regsub -all {\\} $$line {\\\\} line
regsub -all {"} $$line {\"} line
puts "\"$$line\\n\""
}
<<
# Manifest which defines fossil/git commit id for build-info command
$(ROOT)\manifest.uuid:
if not exist $(ROOT)\manifest.uuid (
copy $(WIN_DIR)\gitmanifest.in $(ROOT)\manifest.uuid
where git
if ERRORLEVEL 0 (
|
98
99
100
101
102
103
104
105
106
107
108
109
|
112
113
114
115
116
117
118
119
120
|
-
-
-
|
if exist "$(SSL_INSTALL_FOLDER)\bin\libcrypto-*-x64.dll" (
xcopy /c /y "$(SSL_INSTALL_FOLDER)\bin\libcrypto-*-x64.dll" "$(PRJ_INSTALL_DIR)"
)
if exist "$(SSL_INSTALL_FOLDER)\bin\libssl-*-x64.dll" (
xcopy /c /y "$(SSL_INSTALL_FOLDER)\bin\libssl-*-x64.dll" "$(PRJ_INSTALL_DIR)"
)
# Explicit dependency rules
$(GENERICDIR)\tls.c: $(TMP_DIR)\tlsUuid.h
# Test package
test: default-test
|