!IF 0 Copyright (c) 1989 Microsoft Corporation Module Name: sources. Abstract: This file specifies the target component being built and the list of sources files needed to build that component. Also specifies optional compiler switches and libraries that are unique for the component being built. Author: Wesley Witt (wesw) !ENDIF !include ..\..\faxsrc.inc TARGETNAME=$(FAXSVC) TARGETPATH=obj TARGETTYPE=PROGRAM UMTYPE=console LINKER_STACKSIZE=-stack:1048576,32768 !ifdef NOUNICODE UMENTRY=winmain !else UMENTRY=wwinmain !endif BACKGROUND_USE=1 NTKEEPRESOURCETMPFILES=1 USE_CRTDLL=1 USE_STL=1 MSC_WARNING_LEVEL = /W3 !IF 0 The reason for MSC_WARNING_LEVEL = /W3 is a Bug in #pragma warning (disable : 4786) // identifier was truncated to '255' characters in the debug information // This pragma does not work KB ID: Q167355 !ENDIF USECXX_FLAG=/Tp USE_NATIVE_EH=1 PRECOMPILED_INCLUDE=faxsvc.h PRECOMPILED_PCH=precomp.pch PRECOMPILED_OBJ=precomp.obj C_DEFINES=$(C_DEFINES) -DFAX_WORKSTATION_ONLY=0 -DUSE_EXTENDED_FSPI=1 -D_START_AS_EXE_ INCLUDES=\ $(INCLUDES); \ $(FAXROOT)\tiff\inc; \ $(FAXROOT)\tiff\src; \ $(FAXROOT)\admin\faxres\$(O); \ ..\registry; \ ..\inc; \ ..\include; \ ..\faxevent\$(O); TARGETLIBS=\ $(SDK_LIB_PATH)\rpcrt4.lib \ $(SDK_LIB_PATH)\rpcutil.lib \ $(SDK_LIB_PATH)\tapi32.lib \ $(SDK_LIB_PATH)\ntdll.lib \ $(SDK_LIB_PATH)\uuid.lib \ $(SDK_LIB_PATH)\mpr.lib \ $(SDK_LIB_PATH)\gdi32.lib \ $(SDK_LIB_PATH)\winspool.lib \ $(SDK_LIB_PATH)\user32.lib \ $(SDK_LIB_PATH)\VCCOMSUP.LIB \ !if !$(FREEBUILD) $(SDK_LIB_PATH)\imagehlp.lib \ !endif $(SDK_LIB_PATH)\version.lib \ $(SDK_LIB_PATH)\ole32.lib \ $(SDK_LIB_PATH)\oleaut32.lib \ $(SDK_LIB_PATH)\wsock32.lib \ $(SDK_LIB_PATH)\uuid.lib \ $(SDK_LIB_PATH)\shell32.lib \ $(SDK_LIB_PATH)\netapi32.lib \ $(SDK_LIB_PATH)\Crypt32.lib \ $(SDK_LIB_PATH)\Credui.lib \ $(SDK_LIB_PATH)\Shlwapi.lib \ $(SDK_LIB_PATH)\Faultrep.lib \ $(SDK_LIB_PATH)\thrownew.obj \ $(FAXROOT)\service\registry\$O\faxreg.lib \ $(FAXROOT)\service\rpc\stubs\faxsvc\$O\svcstub.lib \ $(FAXLIB)\*\$(FAXTIFF).lib \ $(FAXLIB)\*\faxrend.lib SOURCES=\ faxdev.c \ Events.cpp \ archive.c \ faxrpc.c \ faxsvc.c \ faxlog.c \ handle.c \ job.c \ queue.c \ receive.c \ route.c \ security.c \ server.c \ tapi.c \ tapidbg.c \ tapiCountry.c \ util.c \ ExtensionData.cpp \ RouteGroup.cpp \ RouteRule.cpp \ Receipts.cpp \ version.rc