Leaked source code of windows server 2003
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.
|
|
# # MAKEFILE # Sample WBEM Method Provider # # Copyright (c)1998 Microsoft Corporation, All Rights Reserved #
TARGET = methprov.dll
goal: $(TARGET)
OBJS = $(OBJDIR)\maindll.obj $(OBJDIR)\methprov.obj $(OBJDIR)\classfac.obj
LIBS = msvcrt.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib \ advapi32.lib ole32.lib oleaut32.lib uuid.lib wbemuuid.lib
# # Compiler and link flags #
!ifndef NODEBUG OBJDIR=debug LINK = -debug:full /DLL -debugtype:cv /NOD CFLAGS = -c -Od -Z7 -Ze -W3 -G3s -nologo \ -DWIN32 -D_DLL -DWIN32ANSI -DSTRICT -DDEBUG !else OBJDIR=retail LINK = -debug:none /DLL /NOD CFLAGS = -c -Oat -Ze -W3 -G3s -nologo \ -DWIN32 -D_DLL -DWIN32ANSI -DSTRICT !endif #NODEBUG
cc = cl $(CFLAGS)
.cpp{$(OBJDIR)}.obj: if not exist $(OBJDIR) md $(OBJDIR) $(cc) $< -Fo$(OBJDIR)\$(<B).obj
$(TARGET) : $(OBJS) $(DEFFILE) link @<< $(LINK) -entry:LibMain32 -def:methprov.def -out:$(OBJDIR)\$(TARGET) -subsystem:windows,4.0 $(OBJS) $(LIBS) <<
##### Dependencies #####
maindll.obj : maindll.cpp sample.h classfac.obj : classfac.cpp sample.h methprov.obj : methprov.cpp sample.h
|