Fixed problem with mkctldef.bat when being built from Win98

This commit is contained in:
locka%iol.ie 1999-06-30 22:35:24 +00:00
parent 57279667b2
commit 185d527140
2 changed files with 17 additions and 17 deletions

View File

@ -133,7 +133,7 @@ install:: $(DLL)
regsvr32 /s /c $(DIST)\bin\$(DLLNAME).dll
$(DEFFILE) : mkctldef.bat
mkctldef.bat > $(DEFFILE)
mkctldef.bat $(DEFFILE)
MozillaControl_i.c MozillaControl.h: MozillaControl.idl
midl /Oicf /h MozillaControl.h /iid MozillaControl_i.c MozillaControl.idl

View File

@ -3,25 +3,25 @@
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.
echo ; npmozctl.def : Declares the module parameters. > %1
echo ; This file was autogenerated by mkctldef.bat! >> %1
echo. >> %1
echo LIBRARY "npmozctl.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
: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
echo ; Plugin exports >> %1
echo NP_GetEntryPoints @1 >> %1
echo NP_Initialize @2 >> %1
echo NP_Shutdown @3 >> %1
echo ; NSGetFactory @10 >> %1
:test_control
if NOT "%MOT_ACTIVEX_CONTROL_SUPPORT%"=="1" goto end