244 lines
8.2 KiB
Plaintext
244 lines
8.2 KiB
Plaintext
GECKO_SDK_PATH=c:\source\xpcom\gecko-sdk
|
|
CASA_SDK_PATH=c:\PROGRA~1\Novell\CASA
|
|
|
|
!IF "$(CFG)" == ""
|
|
CFG=Debug
|
|
!MESSAGE No configuration specified. Defaulting to Debug.
|
|
!ENDIF
|
|
|
|
!IF "$(CFG)" != "Release" && "$(CFG)" != "Debug"
|
|
!MESSAGE Invalid configuration "$(CFG)" specified.
|
|
!MESSAGE You can specify a configuration when running NMAKE
|
|
!MESSAGE by defining the macro CFG on the command line. For example:
|
|
!MESSAGE
|
|
!MESSAGE NMAKE /f "makefile.mak" CFG="Debug"
|
|
!MESSAGE
|
|
!MESSAGE Possible choices for configuration are:
|
|
!MESSAGE
|
|
!MESSAGE "Release" (based on "Win32 (x86) Dynamic-Link Library")
|
|
!MESSAGE "Debug" (based on "Win32 (x86) Dynamic-Link Library")
|
|
!MESSAGE
|
|
!ERROR An invalid configuration is specified.
|
|
!ENDIF
|
|
|
|
!IF "$(OS)" == "Windows_NT"
|
|
NULL=
|
|
!ELSE
|
|
NULL=nul
|
|
!ENDIF
|
|
|
|
!IF "$(CFG)" == "Release"
|
|
|
|
OUTDIR=.\Release
|
|
INTDIR=.\Release
|
|
# Begin Custom Macros
|
|
OutDir=.\Release
|
|
# End Custom Macros
|
|
|
|
ALL : "$(OUTDIR)\MiCASAKeys.dll" "$(OUTDIR)\MiCASAKeys.bsc"
|
|
|
|
|
|
CLEAN :
|
|
-@erase "$(INTDIR)\MiCASAKeys.obj"
|
|
-@erase "$(INTDIR)\MiCASAKeys.sbr"
|
|
-@erase "$(INTDIR)\MiCASAKeysModule.obj"
|
|
-@erase "$(INTDIR)\MiCASAKeysModule.sbr"
|
|
-@erase "$(INTDIR)\vc60.idb"
|
|
-@erase "$(OUTDIR)\MiCASAKeys.bsc"
|
|
-@erase "$(OUTDIR)\MiCASAKeys.dll"
|
|
-@erase "$(OUTDIR)\MiCASAKeys.exp"
|
|
-@erase "$(OUTDIR)\MiCASAKeys.lib"
|
|
|
|
"$(OUTDIR)" :
|
|
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
|
|
|
|
CPP=cl.exe
|
|
CPP_PROJ=/nologo /MD /W3 /O1 /I "$(GECKO_SDK_PATH)\include" /I "$(CASA_SDK_PATH)\include" /FI"$(GECKO_SDK_PATH)\include\mozilla-config.h" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "XPCOM_GLUE" /FR"$(INTDIR)\\" /Fp"$(INTDIR)\MiCASAKeys.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
|
|
#CPP_PROJ=/nologo /MD /W3 /O2 /I "$(GECKO_SDK_PATH)\include" /I "$(CASA_SDK_PATH)\include" /FI"$(GECKO_SDK_PATH)\include\mozilla-config.h" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "MYCOMPONENT_EXPORTS" /D "XPCOM_GLUE" /D "_WINDLL" /FR"$(INTDIR)\\" /Fp"$(INTDIR)\MiCASAKeys.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /EHsc /c
|
|
#CPP_PROJ=/nologo /MD /W3 /O1 /I "$(GECKO_SDK_PATH)\include" /I "$(CASA_SDK_PATH)\include" /FI"$(GECKO_SDK_PATH)\include\mozilla-config.h" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "XPCOM_GLUE" /FR"$(INTDIR)\\" /Fp"$(INTDIR)\MiCASAKeys.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
|
|
|
|
.c{$(INTDIR)}.obj::
|
|
$(CPP) @<<
|
|
$(CPP_PROJ) $<
|
|
<<
|
|
|
|
.cpp{$(INTDIR)}.obj::
|
|
$(CPP) @<<
|
|
$(CPP_PROJ) $<
|
|
<<
|
|
|
|
.cxx{$(INTDIR)}.obj::
|
|
$(CPP) @<<
|
|
$(CPP_PROJ) $<
|
|
<<
|
|
|
|
.c{$(INTDIR)}.sbr::
|
|
$(CPP) @<<
|
|
$(CPP_PROJ) $<
|
|
<<
|
|
|
|
.cpp{$(INTDIR)}.sbr::
|
|
$(CPP) @<<
|
|
$(CPP_PROJ) $<
|
|
<<
|
|
|
|
.cxx{$(INTDIR)}.sbr::
|
|
$(CPP) @<<
|
|
$(CPP_PROJ) $<
|
|
<<
|
|
|
|
MTL=midl.exe
|
|
MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /win32
|
|
RSC=rc.exe
|
|
BSC32=bscmake.exe
|
|
BSC32_FLAGS=/nologo /o"$(OUTDIR)\MiCASAKeys.bsc"
|
|
BSC32_SBRS= \
|
|
"$(INTDIR)\MiCASAKeys.sbr" \
|
|
"$(INTDIR)\MiCASAKeysModule.sbr"
|
|
|
|
"$(OUTDIR)\MiCASAKeys.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
|
|
$(BSC32) @<<
|
|
$(BSC32_FLAGS) $(BSC32_SBRS)
|
|
<<
|
|
|
|
LINK32=link.exe
|
|
#LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib nspr4.lib plds4.lib plc4.lib xpcomglue.lib shlwapi.lib /nologo /dll /incremental:no /pdb:"$(OUTDIR)\MiCASAKeys.pdb" /machine:I386 /out:"$(OUTDIR)\MiCASAKeys.dll" /implib:"$(OUTDIR)\MiCASAKeys.lib" /libpath:"$(GECKO_SDK_PATH)\lib"
|
|
LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib nspr4.lib plds4.lib plc4.lib xpcomglue.lib shlwapi.lib /nologo /dll /incremental:no /pdb:"$(OUTDIR)\MiCASAKeys.pdb" /machine:I386 /out:"$(OUTDIR)\MiCASAKeys.dll" /implib:"$(OUTDIR)\MiCASAKeys.lib" /libpath:"$(GECKO_SDK_PATH)\lib"
|
|
LINK32_OBJS= \
|
|
"$(INTDIR)\MiCASAKeys.obj" \
|
|
"$(INTDIR)\MiCASAKeysModule.obj"
|
|
|
|
"$(OUTDIR)\MiCASAKeys.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
|
|
$(LINK32) @<<
|
|
$(LINK32_FLAGS) $(LINK32_OBJS)
|
|
<<
|
|
|
|
TargetPath=.\Release\MiCASAKeys.dll
|
|
SOURCE="$(InputPath)"
|
|
|
|
# Begin Custom Macros
|
|
OutDir=.\Release
|
|
# End Custom Macros
|
|
|
|
!ELSEIF "$(CFG)" == "Debug"
|
|
|
|
OUTDIR=.\Debug
|
|
INTDIR=.\Debug
|
|
# Begin Custom Macros
|
|
OutDir=.\Debug
|
|
# End Custom Macros
|
|
|
|
ALL : "$(OUTDIR)\MiCASAKeys.dll" "$(OUTDIR)\MiCASAKeys.bsc"
|
|
|
|
|
|
CLEAN :
|
|
-@erase "$(INTDIR)\MiCASAKeys.obj"
|
|
-@erase "$(INTDIR)\MiCASAKeys.sbr"
|
|
-@erase "$(INTDIR)\MiCASAKeysModule.obj"
|
|
-@erase "$(INTDIR)\MiCASAKeysModule.sbr"
|
|
-@erase "$(INTDIR)\vc60.idb"
|
|
-@erase "$(INTDIR)\vc60.pdb"
|
|
-@erase "$(OUTDIR)\MiCASAKeys.bsc"
|
|
-@erase "$(OUTDIR)\MiCASAKeys.dll"
|
|
-@erase "$(OUTDIR)\MiCASAKeys.exp"
|
|
-@erase "$(OUTDIR)\MiCASAKeys.ilk"
|
|
-@erase "$(OUTDIR)\MiCASAKeys.lib"
|
|
-@erase "$(OUTDIR)\MiCASAKeys.pdb"
|
|
|
|
"$(OUTDIR)" :
|
|
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
|
|
|
|
CPP=cl.exe
|
|
#CPP_PROJ=/nologo /MDd /W3 /Gm /ZI /Od /I "$(GECKO_SDK_PATH)\include" /I "$(CASA_SDK_PATH)\include" /FI"$(GECKO_SDK_PATH)\include\mozilla-config.h" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "XPCOM_GLUE" /FR"$(INTDIR)\\" /Fp"$(INTDIR)\MiCASAKeys.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
|
|
#CPP_PROJ=/nologo /MDd /W3 /ZI /Od /I "$(GECKO_SDK_PATH)\include" /I "$(CASA_SDK_PATH)\include" /FI"$(GECKO_SDK_PATH)\include\mozilla-config.h" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "XPCOM_GLUE" /D "MYCOMPONENT_EXPORTS" /D "_WINDLL" /FR"$(INTDIR)\\" /Fp"$(INTDIR)\MiCASAKeys.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /RTC1 /EHsc /c
|
|
CPP_PROJ=/nologo /MDd /W3 /Gm /ZI /Od /I "$(GECKO_SDK_PATH)\include" /I "$(CASA_SDK_PATH)\include" /FI"$(GECKO_SDK_PATH)\include\mozilla-config.h" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "XPCOM_GLUE" /FR"$(INTDIR)\\" /Fp"$(INTDIR)\MiCASAKeys.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
|
|
|
|
.c{$(INTDIR)}.obj::
|
|
$(CPP) @<<
|
|
$(CPP_PROJ) $<
|
|
<<
|
|
|
|
.cpp{$(INTDIR)}.obj::
|
|
$(CPP) @<<
|
|
$(CPP_PROJ) $<
|
|
<<
|
|
|
|
.cxx{$(INTDIR)}.obj::
|
|
$(CPP) @<<
|
|
$(CPP_PROJ) $<
|
|
<<
|
|
|
|
.c{$(INTDIR)}.sbr::
|
|
$(CPP) @<<
|
|
$(CPP_PROJ) $<
|
|
<<
|
|
|
|
.cpp{$(INTDIR)}.sbr::
|
|
$(CPP) @<<
|
|
$(CPP_PROJ) $<
|
|
<<
|
|
|
|
.cxx{$(INTDIR)}.sbr::
|
|
$(CPP) @<<
|
|
$(CPP_PROJ) $<
|
|
<<
|
|
|
|
MTL=midl.exe
|
|
MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /win32
|
|
RSC=rc.exe
|
|
BSC32=bscmake.exe
|
|
BSC32_FLAGS=/nologo /o"$(OUTDIR)\MiCASAKeys.bsc"
|
|
BSC32_SBRS= \
|
|
"$(INTDIR)\MiCASAKeys.sbr" \
|
|
"$(INTDIR)\MiCASAKeysModule.sbr"
|
|
|
|
"$(OUTDIR)\MiCASAKeys.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
|
|
$(BSC32) @<<
|
|
$(BSC32_FLAGS) $(BSC32_SBRS)
|
|
<<
|
|
|
|
LINK32=link.exe
|
|
LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib nspr4.lib plds4.lib plc4.lib xpcomglue.lib shlwapi.lib /nologo /dll /incremental:yes /pdb:"$(OUTDIR)\MiCASAKeys.pdb" /debug /machine:I386 /out:"$(OUTDIR)\MiCASAKeys.dll" /implib:"$(OUTDIR)\MiCASAKeys.lib" /pdbtype:sept /libpath:"$(GECKO_SDK_PATH)\lib"
|
|
#LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib nspr4.lib plds4.lib plc4.lib xpcomglue.lib /nologo /dll /incremental:no /pdb:"$(OUTDIR)\MiCASAKeys.pdb" /debug /machine:I386 /out:"$(OUTDIR)\MiCASAKeys.dll" /implib:"$(OUTDIR)\MiCASAKeys.lib" /libpath:"$(GECKO_SDK_PATH)\lib"
|
|
LINK32_OBJS= \
|
|
"$(INTDIR)\MiCASAKeys.obj" \
|
|
"$(INTDIR)\MiCASAKeysModule.obj"
|
|
|
|
"$(OUTDIR)\MiCASAKeys.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
|
|
$(LINK32) @<<
|
|
$(LINK32_FLAGS) $(LINK32_OBJS)
|
|
<<
|
|
|
|
TargetPath=.\Debug\MiCASAKeys.dll
|
|
SOURCE="$(InputPath)"
|
|
|
|
# Begin Custom Macros
|
|
OutDir=.\Debug
|
|
# End Custom Macros
|
|
|
|
!ENDIF
|
|
|
|
NO_EXTERNAL_DEPS=1
|
|
|
|
!IF "$(NO_EXTERNAL_DEPS)" != "1"
|
|
!IF EXISTS("MiCASAKeys.dep")
|
|
!INCLUDE "MiCASAKeys.dep"
|
|
!ELSE
|
|
!MESSAGE Warning: cannot find "MiCASAKeys.dep"
|
|
!ENDIF
|
|
!ENDIF
|
|
|
|
|
|
!IF "$(CFG)" == "Release" || "$(CFG)" == "Debug"
|
|
SOURCE=.\MiCASAKeys.cpp
|
|
|
|
"$(INTDIR)\MiCASAKeys.obj" "$(INTDIR)\MiCASAKeys.sbr" : $(SOURCE) "$(INTDIR)"
|
|
$(CPP) $(CPP_PROJ) $(SOURCE)
|
|
|
|
SOURCE=.\MiCASAKeysModule.cpp
|
|
|
|
"$(INTDIR)\MiCASAKeysModule.obj" "$(INTDIR)\MiCASAKeysModule.sbr" : $(SOURCE) "$(INTDIR)"
|
|
|
|
!ENDIF
|
|
|