!ifndef ROOT ROOT=$(MAKEDIR:\as\hook=) !endif !ifndef DEVROOT DEVROOT=$(ROOT)\dev !endif # # SOURCES # # Makefile for nmasnt.dll # !include ..\ascom.inc C_DEFINES=$(C_DEFINES) -DDLL_HOOK -DWINABLE -D_WIN32_WINNT=0x0403 MAJORCOMP=as MINORCOMP=hook TARGETNAME=nmasnt TARGETPATH=$(_OBJ_DIR) TARGETTYPE=DYNLINK DLLDEF=hook.def !if "$(BUILD_PRODUCT)" != "NT" ALT_PROJECT_TARGET = NT !endif 386_STDCALL=1 #BBTCOMP=1 !if $(386) !UNDEF USE_MSVCRT !UNDEF USE_LIBCMT USE_SYSDLL=1 !endif DLLENTRY = DllMain LINKLIBS=\ $(ROOT)\nmutil\nmutila\$(_OBJ_DIR)\*\nmutila.lib TARGETLIBS=$(SDK_LIB_PATH)\kernel32.lib \ $(SDK_LIB_PATH)\advapi32.lib \ $(SDK_LIB_PATH)\user32.lib \ $(SDK_LIB_PATH)\gdi32.lib # # List of sources # SOURCES=\ hook.rc \ globals.cpp \ het.cpp \ im.cpp \ osi.cpp # # Precompiled specs # PRECOMPILED_INCLUDE = precomp.h PRECOMPILED_PCH = precomp.pch PRECOMPILED_OBJ = precomp.obj PRECOMPILED_CXX = 1 CONDITIONAL_INCLUDES = \ macocidl.h \ macwin32.h \ rpcerr.h \ rpcmac.h \ winwlm.h \ macname1.h \ macname2.h \ macpub.h \ macapi.h BUFFER_OVERFLOW_CHECKS=NO_NTDLL