Configuring and Managing MPE/iX Internet Services (August 2002)

Chapter 9
HP WebWise MPE/iX Secure Web Server
Module Creation Using a Template
168
merge directive is necessary when functions are called across object boundaries such as mod_hw.o calling
helloworld() in hw.o. The share option is needed when global data is shared between multiple object files.
The share option is not actually needed by the sample code.
The compile and link steps can be put in a Makefile to facilitate multiple builds of a module. As an example,
refer to the section Modified APXS Makefile (mod_hw).
Mod_hw.so is now ready to be configured into Apache. To do this, refer to the section Creating Apache
Modules.