#----- Include the PSDK's WIN32.MAK to pick up defines------------------- !include # Nmake macros for building Windows 32-Bit apps !include !if ("$(TARGETOS)" == "WINNT") && ("$(CPU)" == "IA64") !message Sorry, this is not supported on the IA64 platforms. !else PROJ = FaxJobOperationsVB all: $(OUTDIR) $(OUTDIR)\FAXCOMEXLib.dll $(OUTDIR)\$(PROJ).exe $(OUTDIR): if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" IMPORTS = /imports:FAXCOMEXLib,Microsoft.VisualBasic,System,System.Collections,System.Collections.Generic,System.Diagnostics !IFDEF NODEBUG DEBUG= !ELSE DEBUG=/define:"CONFIG=\"Debug\",DEBUG=-1,TRACE=-1" /debug+ /debug:full !ENDIF REFERENCES =/reference:$(OUTDIR)\FAXCOMEXLib.dll,System.dll VBFILES = FaxJobOperations.vb "My Project\AssemblyInfo.vb" "My Project\Application.Designer.vb" "My Project\Resources.Designer.vb" "My Project\Settings.Designer.vb" !if ("$(TARGETOS)" == "WINNT") && ("$(CPU)" != "IA64") && ("$(CPU)" != "AMD64") $(OUTDIR)\FAXCOMEXLib.dll : "$(MSSDK)\lib\faxcomex.tlb" set BUILDMSG3=making $(@F) tlbimp.exe "$(MSSDK)\lib\faxcomex.tlb" /primary /keyfile:key.snk /out:$@ !endif !if ("$(TARGETOS)" == "WINNT") && ("$(CPU)" == "AMD64") $(OUTDIR)\FAXCOMEXLib.dll: "$(MSSDK)\lib\x64\faxcomex.tlb" set BUILDMSG3=making $(@F) tlbimp.exe "$(MSSDK)\lib\x64\faxcomex.tlb" /primary /keyfile:key.snk /out:$@ /machine:x64 !endif $(OUTDIR)\$(PROJ).exe: $(VBFILES) Vbc.exe /noconfig $(IMPORTS) /rootnamespace:FaxJobOperations $(DEBUG) /define:"_MyType=\"Console\"" $(REFERENCES) /keyfile:key.snk /out:$(OUTDIR)\$(PROJ).exe /target:exe $(VBFILES) clean: $(CLEANUP) !endif