1 # Nmake macros for building Windows 32-Bit apps
4 # If the rpc include directory is not included in the standard path
5 # you have to give the path to it here.
8 # If the rpc library is not included in the standard lib path
9 # you have to give the path to it here.
12 DEFINITION = ONCRPC.DEF
54 all: oncrpc.dll portmap.exe
57 del $(OBJS) oncrpc.lib oncrpc.dll oncrpc.exp portmap.obj portmap.exe ..\rpcgen\oncrpc.dll *.pdb
59 portmap.exe: oncrpc.lib portmap.obj
60 $(link) $(conlflags) $(ldebug) -out:portmap.exe PORTMAP.obj $(RPCLIBPATH)oncrpc.lib $(conlibsdll) wsock32.lib
61 copy portmap.exe ..\bin\pm_ascii.exe
63 oncrpc.lib: $(OBJS) oncrpc.def
64 $(implib) /out:oncrpc.lib /def:$(DEFINITION) $(OBJS)
66 oncrpc.dll: $(OBJS) oncrpc.lib oncrpc.exp
67 $(link) /DLL /out:oncrpc.dll -entry:_DllMainCRTStartup$(DLLENTRY) $(ldebug) oncrpc.exp $(OBJS) $(conlibsdll) wsock32.lib advapi32.lib
68 copy oncrpc.lib ..\bin
69 copy oncrpc.dll ..\bin
70 copy oncrpc.dll ..\rpcgen
73 $(cc) /I$(RPCINCLUDEPATH) $(cdebug) $(cflags) $(cvarsdll) $*.c