mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.1 KiB
45 lines
1.1 KiB
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 \
|