
#   ************************************************************************
#   *		   SOURCES Inclusion For Building APPHELP.LIB		   *
#   ************************************************************************

#   General Description of Target

#   The real target is a user-mode import library named APPHELP.LIB - but to
#   make it we build a DLL that we don't want.

TARGETNAME = apphelp
TARGETPATH = obj
TARGETTYPE = DYNLINK

TARGETPATHLIB = $(PATH_LIB)

NO_BINPLACE = 1

#   ************************************************************************
#   Source files

SOURCES = main.cpp sdbapi.cpp

#   ========================================================================
#   Include Files

INCLUDES = $(PATH_INC)

#   General headers for user-mode programming

INCLUDES = $(INCLUDES);$(PATH_COMMON_USER_INC)

#   ========================================================================
#   Module Definition File

#   The DLL's exported functions are listed in a module definition file as
#   the easiest way to have them exported in plain text entirely without
#   decoration.

DLLDEF = apphelp.def

#   ========================================================================
#   Libraries

#   This dummy DLL may as well be built without linking to libraries.

BUFFER_OVERFLOW_CHECKS = 0

DLLENTRY = DllMain

#   ************************************************************************
#   Preferences

!include $(PATH_COMMON_INC)\warnmk.inc

#   ========================================================================
#   Optimisation

!include $(PATH_COMMON_INC)\optsmk.inc

#   ========================================================================
#   Convenience

#   Via a separate MAKEFILE.INC inclusion, provide a "clean" pseudo-target
#   that strips all the build products.

USE_MAKEFILE_INC = 1

#   ************************************************************************

