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.

48 lines
1.5 KiB

  1. APPVER = 5.0
  2. !include <win32.mak>
  3. cflags = $(cflags) /Gz
  4. cvarsdll = -DNT -DMPR50
  5. LIBS = rtm.lib rtutils.lib
  6. all: ipsample.dll
  7. OBJS = \
  8. hashtable.obj \
  9. sync.obj \
  10. utils.obj \
  11. packet.obj \
  12. socket.obj \
  13. networkentry.obj \
  14. networkmgr.obj \
  15. configentry.obj \
  16. configmgr.obj \
  17. mibmgr.obj \
  18. rtmapi.obj \
  19. rmapi.obj \
  20. test.obj \
  21. ipsample.obj
  22. # Build rule for converting c files to obj files
  23. .c.obj:
  24. $(cc) $(cdebug) $(cflags) $(cvarsdll) $*.c
  25. # Update messages
  26. msg00001.bin ipsamplemsg.rc ipsamplemsg.h : ipsamplemsg.mc
  27. mc -v ipsamplemsg.mc
  28. ipsample.rc: msg00001.bin ipsamplemsg.rc
  29. # Update the resources if necessary
  30. ipsample.res: ipsample.rc
  31. rc -r -fo ipsample.res ipsample.rc
  32. # Update the executable file
  33. ipsample.dll: ipsample.res $(OBJS)
  34. $(link) $(linkdebug) $(dlllflags) $(conlibsdll) $(LIBS) \
  35. -def:ipsample.def -out:$*.dll $**
  36. clean:
  37. del *.pdb *.pch *.obj *.dll *.lib *.exp \
  38. *.res *.bin ipsamplemsg.rc ipsamplemsg.h