Tcl Extension Architecture (TEA) Sample Extension

Check-in [9107449556]
Login

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

Overview
Comment:Use standard targets from targets.vc
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | vc-reform
Files: files | file ages | folders
SHA1: 9107449556b9ce322e6baad9b1eef41df772b9a4
User & Date: ashok 2017-10-06 13:43:05.142
Context
2017-10-07
14:20
Ignore VC++ output directories. check-in: 574a7c2012 user: ashok tags: vc-reform
2017-10-06
13:43
Use standard targets from targets.vc check-in: 9107449556 user: ashok tags: vc-reform
2017-10-05
17:07
Moved pkgindex to rules and cleaned up check-in: f5f3d48f4e user: ashok tags: vc-reform
Changes
Unified Diff Ignore Whitespace Patch
Changes to win/makefile.vc.
156
157
158
159
160
161
162
163
164
165
166

167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
!if !$(STATIC_BUILD)
	$(TMP_DIR)\sample.res
!endif

# Define any additional compiler flags that might be required for the project
PRJ_DEFINES = -D_CRT_SECURE_NO_DEPRECATE

# Default target is all which in turn uses the setup and pkgindex generation
# targets from rules.
all:	    setup pkgindex $(PRJLIB)


# MAKEBINCMD will do shared, static and debug links as appropriate
# _VC_MANIFEST_EMBED_DLL embeds the manifest for shared libraries
# and is a no-op for static libraries
$(PRJLIB): $(PRJ_OBJS)
       $(MAKEBINCMD) $**
       $(_VC_MANIFEST_EMBED_DLL)
       -@del $*.exp

# The default install target only installs binaries and scripts so add
# an additional target for our documentation. Note this *adds* a target
# since no commands are listed after it. The original targets for
# install (from rules.vc) will remain.
install: install-docs

install-docs:
	@echo Installing documentation files to '$(DOC_INSTALL_DIR)'
	@if exist $(DOCDIR) $(CPY) $(DOCDIR)\*.n "$(DOC_INSTALL_DIR)"









|
|
<

>
|
|
<
<
<
<
|




|







156
157
158
159
160
161
162
163
164

165
166
167
168




169
170
171
172
173
174
175
176
177
178
179
180
181
!if !$(STATIC_BUILD)
	$(TMP_DIR)\sample.res
!endif

# Define any additional compiler flags that might be required for the project
PRJ_DEFINES = -D_CRT_SECURE_NO_DEPRECATE

# Define the standard targets
!include "$(_RULESDIR)\targets.vc"


# 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

# The default install target only installs binaries and scripts so add
# an additional target for our documentation. Note this *adds* a target
# since no commands are listed after it. The original targets for
# install (from targets.vc) will remain.
install: install-docs

install-docs:
	@echo Installing documentation files to '$(DOC_INSTALL_DIR)'
	@if exist $(DOCDIR) $(CPY) $(DOCDIR)\*.n "$(DOC_INSTALL_DIR)"