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.
38 lines
761 B
38 lines
761 B
# Nmake macros for building Win32 & Win64 apps
|
|
|
|
TARGETOS=WINNT
|
|
|
|
|
|
|
|
!include <win32.mak>
|
|
|
|
IncDir=$(BKOFFICE)Include
|
|
|
|
|
|
PROJNAME = CertEnc
|
|
OBJFILES = adate.Obj along.Obj altname.Obj astring.Obj atl.Obj \
|
|
bitstr.Obj ceError.Obj ceLib.Obj CertEnc.Obj crldist.Obj pch.Obj
|
|
EXTRA_LIBS = Certidl.Lib Crypt32.Lib
|
|
|
|
|
|
all: $(PROJNAME).Dll
|
|
|
|
|
|
CertEnc.Res: CertEnc.Rc CertEnc.Tlb
|
|
$(rc) $(rcvars) -r -fo $*.Res $*.Rc
|
|
|
|
|
|
CertEnc.Tlb: "$(IncDir)\CertEnc.Idl"
|
|
midl "$(IncDir)\CertEnc.Idl"
|
|
|
|
|
|
.Cpp.Obj:
|
|
$(cc) $(cdebug) $(cflags) $(cvarsdll) -I. -DUNICODE $*.Cpp
|
|
|
|
|
|
$(PROJNAME).Dll: $(OBJFILES) CertEnc.Res
|
|
$(link) $(linkdebug) $(dlllflags) -def:CertEnc.def -out:$*.Dll $** $(olelibsdll) $(EXTRA_LIBS)
|
|
|
|
|
|
clean:
|
|
del *.Obj *.Res
|