!ifdef PROJECT_ROOT ! INCLUDE $(PROJECT_ROOT)\pchealth\build\paths.all !else ! INCLUDE $(INETROOT)\build\paths.all !endif # this looks like a -*-Makefile-*- !include ..\..\common.inc MAJORCOMP=PCHMars MINORCOMP=dll # # USE_NOLIBS gets rid of linking with the CRT. It also causes a link with # int64.lib # #USE_NOLIBS = 1 #USE_STL=1 #USE_ATL = 1 #ATL_VER = 30 INCLUDES = ..;$(MARS_DIR)\ext\inc;$(INCLUDES) !ifndef NOPCHBLD PRECOMPILED_CXX = 1 PRECOMPILED_INCLUDE = ..\precomp.h PRECOMPILED_OBJ = precomp.obj !endif # # UMTYPE console will link with advapi32.lib and kerenel32.lib # UMTYPE = windows TARGETNAME = pchshell TARGETTYPE = DYNLINK DLLENTRY = DllMain # # Unfortunately, we get a link warning since we stub this in sdstub.cpp and # it is used in stocklib.lib. # # warning LNK4049: locally defined symbol "_ILCreateFromPathW@4" imported # #LINKER_FLAGS= $(LINKER_FLAGS) -IGNORE:4049 # # Define path for private libs # #!ifndef PRIVATE_LIB_PATH #PRIVATE_LIB_PATH = $(BASEDIR)\private\lib #!endif DELAYLOAD=WININET.DLL; SHELL32.DLL; HLINK.DLL DLOAD_ERROR_HANDLER=PCHSHELL_DelayLoadFailureHook # # Since we need to run on win95 link to the w95 shell (shell32.w95). # This should catch anyone trying to use shell32 exports that aren't # in w95. The w95 shell lib doesn't contain the proper information # for bbt. If we want to bbt we need to link to a more recent shell # lib so on retail builds we link to the nt4 shell. # TARGETLIBS = \ $(LOCALLIBPATH)\parser.lib \ $(LOCALLIBPATH)\acuuid.lib \ $(SDKLIBPATH)\kernel32.lib \ $(SDKLIBPATH)\user32.lib \ $(SDKLIBPATH)\ole32.lib \ $(SDKLIBPATH)\oleaut32.lib \ $(SDKLIBPATH)\uuid.lib \ $(SDKLIBPATH)\gdi32.lib \ $(SDKLIBPATH)\urlmon.lib \ $(SDKLIBPATH)\advapi32.lib \ $(SDKLIBPATH)\wininet.lib \ $(SDKLIBPATH)\hlink.lib \ $(SHELL_LIB_PATH)\shuuid.lib \ $(SHELL_LIB_PATH)\shlwapip.lib \ $(SHELL_LIB_PATH)\shell32p.lib \ $(SHELL_LIB_PATH)\comctlp.lib \ LINKLIBS = \ $(LOCALLIBPATH)\marslib.lib !if "$(IA64)"=="1" LINKLIBS = $(LINKLIBS) $(SDKLIBPATH)\atl21asm.lib !endif DLLDEF = ..\marscore.def SOURCES = \ ..\marscore.rc \ ..\axhost.cpp \ ..\external.cpp \ ..\globals.cpp \ ..\marscore.cpp \ ..\marswin.cpp \ ..\panel.cpp \ ..\place.cpp \ ..\profsvc.cpp \ ..\util.cpp \ dload.c !INCLUDE $(INETROOT)\build\sources.all