Windows NT 4.0 source code leak
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.

49 lines
1.7 KiB

4 years ago
  1. CL = $(TOOLS)$(BINX)\cl -nologo -c -Alnw -Gc -G2sw -W2 -Zp -DMEDIUM \
  2. -DPROTWIN -I$(INC) $(CLBUILD)
  3. MASM = $(TOOLS)\BIN\masm /t $(MASMBUILD)
  4. LINK = $(TOOLS)\BIN\link /NOLOGO /BATCH /NOD /NOE $(LINKBUILD)
  5. RC = $(TOOLS)\BINR\rc -I$(INC) $(RCBUILD)
  6. IMPLIB = $(TOOLS)\BIN\implib $(IMPLIBBUILD)
  7. OUT = $(TOOLS)\BIN\szscrn
  8. all: testscrn.dll testscrn.lib
  9. $(OUT) "Testscrn.dll built"
  10. dump.obj: $(SRC)\dump.c $(SRC)\dump.h
  11. $(OUT) "Compiling $(SRC)\dump.c..."
  12. $(CL) $(CCFLAGS) -NT DUMP $(SRC)\dump.c
  13. comp.obj: $(SRC)\comp.c $(SRC)\dump.h
  14. $(OUT) "Compiling $(SRC)\comp.c..."
  15. $(CL) $(CCFLAGS) -NT COMP $(SRC)\comp.c
  16. clip.obj: $(SRC)\clip.c $(SRC)\dump.h
  17. $(OUT) "Compiling $(SRC)\clip.c..."
  18. $(CL) $(CCFLAGS) -NT CLIP $(SRC)\clip.c
  19. libmain.obj: $(SRC)\libmain.c $(SRC)\dump.h
  20. $(OUT) "Compiling $(SRC)\libmain.c..."
  21. $(CL) $(CCFLAGS) -NT LIBMAIN $(SRC)\libmain.c
  22. libentry.obj: $(SRC)\libentry.asm
  23. $(OUT) "Assembling $(SRC)\libentry.asm..."
  24. $(MASM) $(SRC)\libentry.asm;
  25. filelow.obj: $(SRC)\filelow.asm
  26. $(OUT) "Assembling $(SRC)\filelow.asm..."
  27. $(MASM) $(SRC)\filelow.asm;
  28. scrlow.obj: $(SRC)\scrlow.asm
  29. $(OUT) "Assembling $(SRC)\scrlow.asm..."
  30. $(MASM) $(SRC)\scrlow.asm;
  31. testscrn.dll : dump.obj comp.obj clip.obj libentry.obj libmain.obj filelow.obj \
  32. scrlow.obj $(SRC)\dump.def
  33. $(OUT) "Linking testscrn.dll..."
  34. $(LINK) dump comp clip libentry libmain filelow scrlow , testscrn.dll/align:16, /map, mDllcew libw, $(SRC)\dump.def
  35. $(OUT) "Resource compiling testscrn.dll..."
  36. $(RC) -t testscrn.dll
  37. testscrn.lib : testscrn.dll $(SRC)\dump.def
  38. $(OUT) "Implibing testscrn.lib"
  39. implib testscrn.lib $(SRC)\dump.def