46 lines
1.1 KiB
Plaintext
46 lines
1.1 KiB
Plaintext
|
MAJORCOMP=setup
|
||
|
MINORCOMP=hwdblib
|
||
|
|
||
|
SETUP_ROOT=$(PROJECT_ROOT)\ntsetup
|
||
|
HWDB_ROOT=$(SETUP_ROOT)\hwdb
|
||
|
|
||
|
#
|
||
|
# The PRERELEASE option
|
||
|
#
|
||
|
!include $(SETUP_ROOT)\sources.inc
|
||
|
|
||
|
# target
|
||
|
TARGETNAME=hwdblib
|
||
|
TARGETTYPE=LIBRARY
|
||
|
TARGETPATH=obj
|
||
|
CHICAGO_PRODUCT=1
|
||
|
|
||
|
MC_FLAGS=$(MC_FLAGS) -A
|
||
|
|
||
|
NO_NTDLL=1
|
||
|
USE_LIBCMT=1
|
||
|
UMTYPE=windows
|
||
|
|
||
|
SOURCES= \
|
||
|
..\hwdb.c \
|
||
|
..\dllentry.c \
|
||
|
..\util.c \
|
||
|
|
||
|
|
||
|
# include path
|
||
|
INCLUDES=$(HWDB_ROOT); \
|
||
|
$(HWDB_ROOT)\inc; \
|
||
|
$(SETUP_ROOT)\inc; \
|
||
|
$(HWDB_ROOT)\utils\inc; \
|
||
|
$(ADMIN_INC_PATH); \
|
||
|
$(BASE_INC_PATH); \
|
||
|
|
||
|
# link libraries
|
||
|
TARGETLIBS=\
|
||
|
$(SDK_LIB_PATH)\kernel32.lib \
|
||
|
$(SDK_LIB_PATH)\user32.lib \
|
||
|
$(SDK_LIB_PATH)\advapi32.lib \
|
||
|
$(SDK_LIB_PATH)\setupapi.lib \
|
||
|
$(HWDB_ROOT)\$(O)\utils.lib \
|
||
|
$(HWDB_ROOT)\utils\pch\$(O)\pch.obj \
|