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.

37 lines
835 B

  1. TARGETOS=WINNT
  2. SEHMAP=TRUE
  3. # RFLAGS is for Windows resources
  4. RFLAGS= -fo$@ -DWIN32 -r -D_WIN32 -DWINVER=0x0400
  5. !include <win32.mak>
  6. all: remote.exe remoteds.exe
  7. # Update the resources if necessary
  8. remote.exe: remote.obj \
  9. remote.res \
  10. client.obj \
  11. pipeex.obj \
  12. srvad.obj \
  13. srvchild.obj \
  14. srvctos.obj \
  15. srvhshak.obj \
  16. srvlist.obj \
  17. srvmain.obj \
  18. srvquery.obj \
  19. srvstoc.obj \
  20. srvutil.obj
  21. $(link) $(linkdebug) $(conflags) -out:$*.exe $** $(conlibsmt) advapi32.lib user32.lib
  22. remoteds.exe: remoteds.obj \
  23. remoteds.res
  24. $(link) $(linkdebug) $(conflags) -out:$*.exe $** $(conlibsmt) advapi32.lib
  25. .c.obj:
  26. $(cc) $(cdebug) $(cflags) $(cvarsmt) $*.c
  27. .rc.res:
  28. $(RC) $(RFLAGS) $(@B).rc