B.9.4. Pre_Post_Lib group

The Pre_Post_Lib group enables you to run specific commands before the librarian, or immediately after. You can insert OS commands, for example DOS/Windows, or UNIX shell commands, and any program on the local workstation. You can also use this group to insert $(macro_name) make commands.

If you are working in Windows, you must precede a shell command with a plus sign, for example +echo this is a message. Examine the makefile to see what macros are available for these commands.

Table B.45 describes the settings available in the Pre_Post_Lib group.

Table B.45. Pre_Post_Lib group

NameDescription
Pre_lib

Enables you to specify commands to be run before the librarian. The makefile defines the following variables that can be used in this command:

OBJS

Space separated list of object files to insert in the library.

PROGRAM

The filename of the library to create or update.

Post_lib

Enables you to specify commands to be run immediately after the librarian. The makefile defines the following variables that can be used in this command:

OBJS

Space separated list of object files to insert in the library.

PROGRAM

The filename of the library to create or update.

Copyright © 2003, 2004 ARM Limited. All rights reserved.ARM DUI 0234B
Non-Confidential