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.
52 lines
1.1 KiB
52 lines
1.1 KiB
MAJORCOMP=windows
|
|
MINORCOMP=GDI
|
|
|
|
TARGETNAME=dpserial
|
|
TARGETTYPE=DYNLINK
|
|
|
|
TARGETPATH=obj
|
|
|
|
TARGETLIBS= \
|
|
$(SDK_LIB_PATH)\gdi32.lib \
|
|
$(WINDOWS_LIB_PATH)\dciman32.lib \
|
|
$(WINDOWS_LIB_PATH)\user32p.lib \
|
|
$(SDK_LIB_PATH)\kernel32.lib \
|
|
$(SDK_LIB_PATH)\uuid.lib \
|
|
$(SDK_LIB_PATH)\winmm.lib \
|
|
$(SDK_LIB_PATH)\advapi32.lib \
|
|
$(SDK_LIB_PATH)\tapi32.lib
|
|
|
|
INCLUDES=..\misc
|
|
|
|
#The following line directs makefile.def to process makefile.inc in .
|
|
#and make the target 'misc' (which copies c files from ..\misc so
|
|
#they can be compiled here.
|
|
#NTTARGETFILE0=misc
|
|
|
|
|
|
DLLENTRY=_DllMainCRTStartup
|
|
|
|
!IFNDEF MSC_WARNING_LEVEL
|
|
MSC_WARNING_LEVEL=/W3
|
|
!ENDIF
|
|
MSC_WARNING_LEVEL=$(MSC_WARNING_LEVEL) /WX
|
|
|
|
|
|
!IFDEF PENTIUMCOUNTER
|
|
C_DEFINES=$(C_DEFINES) -DPENTIUMCOUNTER
|
|
ASM_DEFINES=$(ASM_DEFINES) -DPENTIUMCOUNTER
|
|
!endif
|
|
|
|
C_DEFINES=$(C_DEFINES) -D_WIN32 -D_NOCSECT_TYPE -DIS_32 -DUSE_CRITSECTS -DWIN16_SEPARATE
|
|
|
|
LINKLIBS= ..\misc\obj$(BUILD_ALT_DIR)\*\dpmisc.lib
|
|
|
|
SOURCES= \
|
|
dllmain.c \
|
|
dpspimp.cpp \
|
|
tapicode.cpp \
|
|
commcode.cpp \
|
|
dpserial.rc
|
|
|
|
|
|
DLLDEF=dpserial.def
|