36 lines
924 B
Plaintext
36 lines
924 B
Plaintext
# Nmake macros for building Win32 & Win64 apps
|
|
|
|
TARGETOS=WINNT
|
|
|
|
!include <Win32.Mak>
|
|
|
|
PROJNAME = CertPSam
|
|
OBJFILES = Atl.Obj CeLib.Obj CeDebug.Obj CeError.Obj CeFormat.Obj \
|
|
CertPSam.Obj Pch.Obj CertPSam_i.Obj Module.Obj Policy.obj
|
|
EXTRA_LIBS = CertIdl.Lib Crypt32.Lib WinINet.Lib
|
|
|
|
all: $(PROJNAME).Dll
|
|
|
|
CertPSam.h CertPSam.Tlb: CertPSam.Idl
|
|
midl /h CertPSam.h /tlb CertPSam.Tlb CertPSam.Idl
|
|
|
|
CertPSam.Res: CertPSam.rc CertPSam.Tlb Resource.h
|
|
$(rc) $(rcvars) -r -fo $*.Res $*.rc
|
|
|
|
CertPSam.Obj: CertPSam.Cpp CertPSam.h Resource.h Policy.h
|
|
|
|
CeLib.Obj: CeLib.Cpp
|
|
|
|
Policy.Obj: Policy.Cpp Policy.h CertPSam.h Resource.h
|
|
|
|
.Cpp.Obj:
|
|
$(cc) $(cdebug) $(cflags) $(cvarsdll) -I. -DUNICODE $*.Cpp
|
|
|
|
|
|
$(PROJNAME).Dll: $(OBJFILES) CertPSam.Res
|
|
$(link) $(linkdebug) $(dlllflags) -def:CertPSam.Def -out:$*.Dll $** -nodefaultlib:libc $(olelibsdll) $(EXTRA_LIBS)
|
|
|
|
|
|
clean:
|
|
del *.Obj *.Res
|