
378
For example, the placeholders will be expanded as shown in table C.2.
Table C.2 Placeholder Expansions (Example)
Placeholder Expanded placeholder (example)
$(FULLFILE) c:\hew\workspace\project\file.src
$(FILEDIR) c:\hew\workspace\project
$(FILENAME) file.src
$(FILELEAF) file
$(EXTENSION) src
$(WORKSPDIR) c:\hew\workspace
$(WORKSPNAME) workspace
$(PROJDIR) c:\hew\workspace\project
$(PROJECTNAME) project
$(CONFIGDIR) c:\hew\workspace\project\debug
$(CONFIGNAME) debug
$(HEWDIR) c:\hew
$(TCINSTALL) c:\hew\toolchains\hitachi\sh\511
$(TOOLDIR) c:\hew\toolchains\hitachi\sh\511
$(TEMPDIR) c:\Temp
$(WINDIR) c:\Windows
$(WINSYSDIR) c:\Windows\System
$(EXEDIR) v:\vc\win32
$(USERNAME) JHARK
$(PASSWORD) 214436
$(VCDIR) “c:\project” is mapped to “x:\vc\project”
$(COMMENT) “Please Enter Comment” dialog is invoked
$(LINE) 12
In table C.2, we are assuming that
• a file path is “c:\hew\workspace\project\file.src”.
• a workspace named “workspace” is located at “c:\hew\workspace”.
• a project named “project” is located at “c:\hew\workspace\project”.
• a configuration named “debug” has a configuration directory located at “c:\hew\workspace\project\debug”.
• HEW.EXE is installed in “c:\hew”.
• a *.HRF file of a toolchain (i.e. compiler, assembler, linker) is located at “c:\hew\toolchain\hitachi\sh\511”.
This is referred to as $(TCINSTALL) on the option setting dialogs of the [Options] menu and as
$(TOOLDIR) on the “Tools Administration” dialog.
• the Windows® operating system is installed in “c:\Windows” and the Windows® system directory is
“c:\Windows\System”.
• a version control executable path is “v:\vc\win32\ss.exe”, a user name and its password to login the version
control system are “JHARK” and “214436” respectively, $(COMMENT) is specified in a command line to
the version control executable, and “c:\project” is mapped to “x:\vc\project” on the “Projects” tab of the
“Version Control Setup” dialog, which is invoked via [Tools->Version Control->Configure…].
• an error of compiler or assembler occurred at line 12.
Comentarios a estos manuales