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.

71 lines
2.1 KiB

  1. CC = cl
  2. CFLAGS_G = /f- /ASw /W3 /G2sw /BATCH /Zp /FPa
  3. CFLAGS_D = /Od /Zi /DDEBUG /DSTRICT
  4. LFLAGS_D = /CO /BATCH
  5. all: install
  6. gfile.obj: gfile.c gutils.h
  7. $(CC) -c $(CFLAGS_G) $(CFLAGS_D) gfile.c
  8. gbit.obj: gbit.c gutils.h
  9. $(CC) -c $(CFLAGS_G) $(CFLAGS_D) gbit.c
  10. utils.obj: utils.c gutils.h
  11. $(CC) -c $(CFLAGS_G) $(CFLAGS_D) utils.c
  12. tree.obj: tree.c gutils.h
  13. $(CC) -c $(CFLAGS_G) $(CFLAGS_D) tree.c
  14. list.obj: list.c gutils.h
  15. $(CC) -c $(CFLAGS_G) $(CFLAGS_D) list.c
  16. gmem.obj: gmem.c gutils.h
  17. $(CC) -c $(CFLAGS_G) $(CFLAGS_D) gmem.c
  18. gdate.obj: gdate.c gutils.h
  19. $(CC) -c $(CFLAGS_G) $(CFLAGS_D) gdate.c
  20. status.obj: status.c gutils.h
  21. $(CC) -c $(CFLAGS_G) $(CFLAGS_D) status.c
  22. table.obj: table.c table.h tpriv.h gutils.h
  23. $(CC) -c $(CFLAGS_G) $(CFLAGS_D) table.c
  24. tprint.obj: tprint.c table.h tpriv.h gutils.h
  25. $(CC) -c $(CFLAGS_G) $(CFLAGS_D) tprint.c
  26. tpaint.obj: tpaint.c table.h tpriv.h gutils.h
  27. $(CC) -c $(CFLAGS_G) $(CFLAGS_D) tpaint.c
  28. tscroll.obj: tscroll.c table.h tpriv.h gutils.h
  29. $(CC) -c $(CFLAGS_G) $(CFLAGS_D) tscroll.c
  30. gutils.obj: gutils.c gutils.h
  31. $(CC) -c $(CFLAGS_G) $(CFLAGS_D) /NT INIT_TEXT gutils.c
  32. libentry.obj: libentry.asm
  33. masm -Mx libentry,libentry,,,
  34. gutils.res: gutils.rc gutils.dlg gutilsrc.h horzline.cur vertline.cur
  35. rc -r gutils.rc
  36. table.lib: table.obj tscroll.obj tpaint.obj tprint.obj
  37. lib table.lib -+table -+tscroll -+tpaint -+tprint,,
  38. grest.lib: gfile.obj gmem.obj gdate.obj status.obj gbit.obj utils.obj tree.obj list.obj
  39. lib grest.lib -+gfile -+gmem -+gdate -+status -+gbit -+utils -+tree -+list,,
  40. gutils.dll: libentry.obj gutils.obj gutils.def gutils.res grest.lib table.lib
  41. link $(LFLAGS_D) gutils grest.lib table.lib libentry, gutils.dll,, /NOD sdllcew commdlg toolhelp libw,gutils.def,
  42. rc gutils.res gutils.dll
  43. implib gutils.lib gutils.def
  44. install: gutils.dll gutils.h table.h gutils.lib
  45. copy gutils.dll $(DLLDIR)
  46. copy gutils.h $(DEVTOOLS)\include
  47. copy table.h $(DEVTOOLS)\include
  48. copy list.h $(DEVTOOLS)\include
  49. copy tree.h $(DEVTOOLS)\include
  50. copy gutils.lib $(DEVTOOLS)\lib