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.

75 lines
1.9 KiB

  1. !include <ntwin32.mak>
  2. all: gutils.dll gutils.lib # install
  3. gutils.obj: gutils.c gutils.h
  4. $(cc) $(cflags) $(cvars) gutils.c
  5. gbit.obj: gbit.c gutils.h
  6. $(cc) $(cflags) $(cvars) gbit.c
  7. gfile.obj: gfile.c gutils.h
  8. $(cc) $(cflags) $(cvars) gfile.c
  9. gmem.obj: gmem.c gutils.h
  10. $(cc) $(cflags) $(cvars) gmem.c
  11. gdate.obj: gdate.c gutils.h
  12. $(cc) $(cflags) $(cvars) gdate.c
  13. status.obj: status.c gutils.h
  14. $(cc) $(cflags) $(cvars) status.c
  15. table.obj: table.c table.h tpriv.h gutils.h
  16. $(cc) $(cflags) $(cvars) table.c
  17. tprint.obj: tprint.c table.h tpriv.h gutils.h
  18. $(cc) $(cflags) $(cvars) tprint.c
  19. tpaint.obj: tpaint.c table.h tpriv.h gutils.h
  20. $(cc) $(cflags) $(cvars) tpaint.c
  21. tscroll.obj: tscroll.c table.h tpriv.h gutils.h
  22. $(cc) $(cflags) $(cvars) tscroll.c
  23. list.obj: list.c gutils.h
  24. $(cc) $(cflags) $(cvars) list.c
  25. sockets.obj: sockets.c gutils.h
  26. $(cc) $(cflags) $(cvars) sockets.c
  27. tree.obj: tree.c gutils.h
  28. $(cc) $(cflags) $(cvars) tree.c
  29. utils.obj: utils.c gutils.h
  30. $(cc) $(cflags) $(cvars) utils.c
  31. gutils.res: gutils.rc gutils.dlg gutilsrc.h horzline.cur vertline.cur
  32. rc -r gutils.rc
  33. OBJS = gutils.obj gfile.obj gbit.obj gmem.obj gdate.obj status.obj table.obj tscroll.obj tree.obj utils.obj tprint.obj tpaint.obj sockets.obj list.obj
  34. gutils.dll gutils.lib: gutils.def gutils.res $(OBJS)
  35. $(link) @<<
  36. -base:0x1c000000
  37. -dll
  38. -subsystem:windows
  39. -def:gutils.def
  40. -entry:LibMain
  41. -out:gutils.dll
  42. $(OBJS) gutils.res $(guilibs) wsock32.lib
  43. <<
  44. gutils.exp: gutils.lib
  45. install: gutils.dll gutils.h table.h gutils.lib
  46. copy gutils.dll c:\nt\windows
  47. copy gutils.h d:\nt\mstools\h
  48. copy table.h d:\nt\mstools\h
  49. copy gutils.lib d:\nt\mstools\lib