mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 10:43:24 +00:00
Batch file for creating npmozctl.def depending on the settings
This commit is contained in:
parent
d2b7917ed5
commit
01b89f1f1a
30
webshell/embed/ActiveX/mkctldef.bat
Executable file
30
webshell/embed/ActiveX/mkctldef.bat
Executable file
@ -0,0 +1,30 @@
|
||||
@echo off
|
||||
|
||||
REM This script generates the DEF file for the control DLL depending on
|
||||
REM what has been set to go into it
|
||||
|
||||
echo ; npmozctl.def : Declares the module parameters.
|
||||
echo ; This file was autogenerated by mkctldef.bat!
|
||||
echo.
|
||||
echo LIBRARY "npmozctl.DLL"
|
||||
echo EXPORTS
|
||||
echo ; ActiveX exports
|
||||
echo DllCanUnloadNow @100 PRIVATE
|
||||
echo DllGetClassObject @101 PRIVATE
|
||||
echo DllRegisterServer @102 PRIVATE
|
||||
echo DllUnregisterServer @103 PRIVATE
|
||||
echo.
|
||||
|
||||
:test_plugin
|
||||
if NOT "%MOZ_ACTIVEX_PLUGIN_SUPPORT%"=="1" goto test_control
|
||||
echo ; Plugin exports
|
||||
echo NP_GetEntryPoints @1
|
||||
echo NP_Initialize @2
|
||||
echo NP_Shutdown @3
|
||||
echo ; NSGetFactory @10
|
||||
|
||||
:test_control
|
||||
if NOT "%MOT_ACTIVEX_CONTROL_SUPPORT%"=="1" goto end
|
||||
|
||||
|
||||
:end
|
Loading…
Reference in New Issue
Block a user