#!/bin/sh

# This script generates the DEF file for the control DLL depending on
# what has been set to go into it

echo '; mozctl.def : Declares the module parameters.'   > $1
echo '; This file was autogenerated by mkctldef.sh! '   >> $1
echo ''                                                 >> $1
echo 'LIBRARY      "mozctl.DLL"'                        >> $1
echo 'EXPORTS'                                          >> $1
echo '    ; ActiveX exports'                            >> $1
echo '    DllCanUnloadNow        @100 PRIVATE'          >> $1
echo '    DllGetClassObject      @101 PRIVATE'          >> $1
echo '    DllRegisterServer      @102 PRIVATE'          >> $1
echo '    DllUnregisterServer    @103 PRIVATE'          >> $1
echo ''                                                 >> $1
