beautypg.com

Adding and customizing build targets, Creating makefile.target file – HP Integrity NonStop J-Series User Manual

Page 114

background image

Adding and customizing build targets

You can add build targets to any type of NSDEE project, including projects that use managed
builds. You can also customize predefined build targets for managed builds. How to add and
customize build targets is described in the following sections:

“Creating a makefile.targets file for managed builds” (page 114)

“Adding build targets ” (page 115)

“Creating custom build targets for managed projects” (page 116)

“Creating custom deploy targets ” (page 118)

Creating a makefile.targets file for managed builds

To add or customize build targets for managed builds, you must create a makefile.targets
file as a top-level file in your project. You can use this file to add build targets and create custom
build targets. The main makefile that NSDEE creates for your project automatically includes
makefile.targets

if it exists.

To create a makefile.targets file, perform the following steps from the NonStop Development
perspective:

1.

In the NonStop Project Explorer view, select the project which you will add
makefile.targets

to as a top-level project file.

2.

Select New

→File from the context menu to open the New File wizard.

3.

In the New File wizard, enter the file name makefile.targets in the File name: field:

Figure 74 Creating makefile.target file

4.

Select Finish to dismiss the New File wizard and create the file. The file will automatically be
opened in a text editor.

Since makefile.targets is not automatically associated with the Makefile editor, perform the
following steps to make the association:

114

Tasks

This manual is related to the following products: