72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
!if !defined(MSDEVDIR) && !defined(MSVCDIR) && !defined(VCINSTALLDIR) && !defined(MSSDK) && !defined(WINDOWSSDKDIR)
MSG = ^
Visual C++ compiler environment not initialized.
!error $(MSG)
!endif
# Defaults for built-in internal settings defined in parent makefile
!ifndef DISABLE_DEFAULT_TARGETS
DISABLE_DEFAULT_TARGETS = 0
!endif
################################################################
# 1. Define external programs being used
#----------------------------------------------------------
# Set the proper copy method to avoid overwrite questions
|
>
>
>
|
|
|
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
!if !defined(MSDEVDIR) && !defined(MSVCDIR) && !defined(VCINSTALLDIR) && !defined(MSSDK) && !defined(WINDOWSSDKDIR)
MSG = ^
Visual C++ compiler environment not initialized.
!error $(MSG)
!endif
# Defaults for built-in internal settings defined in parent makefile
!ifndef DISABLE_STANDARD_TARGETS
DISABLE_STANDARD_TARGETS = 0
!endif
!ifndef DISABLE_CLEAN_TARGETS
DISABLE_CLEAN_TARGETS = 0
!endif
################################################################
# 1. Define external programs being used
#----------------------------------------------------------
# Set the proper copy method to avoid overwrite questions
|
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
|
!ifndef DEFAULT_BUILD_TARGET
DEFAULT_BUILD_TARGET = all
!endif
default-target: $(DEFAULT_BUILD_TARGET)
default-install: default-install-binaries default-install-libraries
default-install-binaries: $(PRJLIB)
@echo Installing binaries to '$(SCRIPT_INSTALL_DIR)'
@if not exist "$(SCRIPT_INSTALL_DIR)" mkdir "$(SCRIPT_INSTALL_DIR)"
@$(CPY) $(PRJLIB) "$(SCRIPT_INSTALL_DIR)" >NUL
|
>
>
>
>
>
>
>
>
>
>
>
>
|
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
|
!ifndef DEFAULT_BUILD_TARGET
DEFAULT_BUILD_TARGET = all
!endif
default-target: $(DEFAULT_BUILD_TARGET)
default-pkgindex:
@echo package ifneeded $(PROJECT) $(DOTVERSION) \
[list load [file join $$dir $(PRJLIBNAME)]] >> $(OUT_DIR)\pkgIndex.tcl
default-pkgindex-tea:
@if exist $(ROOT)\pkgIndex.tcl.in nmakehlp -s << $(ROOT)\pkgIndex.tcl.in > $(OUT_DIR)\pkgIndex.tcl
@PACKAGE_VERSION@ $(DOTVERSION)
@PACKAGE_NAME@ $(PROJECT)
@PKG_LIB_FILE@ $(PRJLIBNAME)
<<
default-install: default-install-binaries default-install-libraries
default-install-binaries: $(PRJLIB)
@echo Installing binaries to '$(SCRIPT_INSTALL_DIR)'
@if not exist "$(SCRIPT_INSTALL_DIR)" mkdir "$(SCRIPT_INSTALL_DIR)"
@$(CPY) $(PRJLIB) "$(SCRIPT_INSTALL_DIR)" >NUL
|
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
|
@if not exist $(OUT_DIR)\nul mkdir $(OUT_DIR)
@if not exist $(TMP_DIR)\nul mkdir $(TMP_DIR)
# Always enable this target as this is fairly standard across Tcl and all
# extensions and does the same thing everywhere.
setup: default-setup
!if ! $(DISABLE_DEFAULT_TARGETS)
install: default-install
clean: default-clean
realclean: hose
hose: default-hose
distclean: realclean default-distclean
!endif
!ifndef DISABLE_IMPLICIT_RULES
|
|
>
>
>
|
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
|
@if not exist $(OUT_DIR)\nul mkdir $(OUT_DIR)
@if not exist $(TMP_DIR)\nul mkdir $(TMP_DIR)
# Always enable this target as this is fairly standard across Tcl and all
# extensions and does the same thing everywhere.
setup: default-setup
!if ! $(DISABLE_STANDARD_TARGETS)
install: default-install
!endif
!if ! $(DISABLE_CLEAN_TARGETS)
clean: default-clean
realclean: hose
hose: default-hose
distclean: realclean default-distclean
!endif
!ifndef DISABLE_IMPLICIT_RULES
|