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.

89 lines
2.2 KiB

  1. # Copyright 1995-2095, Silicon Graphics, Inc.
  2. # All Rights Reserved.
  3. #
  4. # This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;
  5. # the contents of this file may not be disclosed to third parties, copied or
  6. # duplicated in any form, in whole or in part, without the prior written
  7. # permission of Silicon Graphics, Inc.
  8. #
  9. # RESTRICTED RIGHTS LEGEND:
  10. # Use, duplication or disclosure by the Government is subject to restrictions
  11. # as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
  12. # and Computer Software clause at DFARS 252.227-7013, and/or in similar or
  13. # successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -
  14. # rights reserved under the Copyright Laws of the United States.
  15. !include <ntwin32.mak>
  16. CDEFS = \
  17. -D__GLS_PLATFORM_WIN32=1 \
  18. -D__GLS_RELEASE=\"0\" \
  19. -D__STDC__ \
  20. $(NULL)
  21. CINCS = \
  22. -I../inc \
  23. $(NULL)
  24. NULL =
  25. OBJECTS = \
  26. cap.obj \
  27. ctx.obj \
  28. dec.obj \
  29. encoding.obj \
  30. exec.obj \
  31. g_glsapi.obj \
  32. g_cap.obj \
  33. g_const.obj \
  34. g_decbin.obj \
  35. g_decswp.obj \
  36. g_dectxt.obj \
  37. g_dspcap.obj \
  38. g_dspdec.obj \
  39. g_dspexe.obj \
  40. g_exec.obj \
  41. g_op.obj \
  42. global.obj \
  43. glslib.obj \
  44. glsutil.obj \
  45. immed.obj \
  46. opcode.obj \
  47. parser.obj \
  48. pixel.obj \
  49. platform.obj \
  50. read.obj \
  51. readbin.obj \
  52. readtxt.obj \
  53. size.obj \
  54. write.obj \
  55. writebin.obj \
  56. writetxt.obj \
  57. $(NULL)
  58. STUB = OPENGL32
  59. TARGET = GLS32
  60. default: $(TARGET).DLL
  61. clean:
  62. -del /q *.DLL *.EXP *.LIB *.obj 2>nul
  63. $(STUB).DLL: $(STUB).EXP g_glstub.obj
  64. $(link) $(ldebug) $(dlllflags) -out:$@ $(STUB).EXP g_glstub.obj \
  65. $(libcdll) kernel32.lib
  66. $(STUB).EXP $(STUB).LIB: g_glstub.def g_glstub.obj
  67. $(implib) -machine:$(CPU) -def:g_glstub.def -out:$(STUB).LIB \
  68. g_glstub.obj
  69. $(TARGET).DLL: $(TARGET).EXP $(OBJECTS) $(STUB).DLL
  70. $(link) $(ldebug) $(dlllflags) -out:$@ $(TARGET).EXP $(OBJECTS) \
  71. $(libcdll) kernel32.lib
  72. $(TARGET).EXP $(TARGET).LIB: g_gls.def $(OBJECTS)
  73. $(implib) -machine:$(CPU) -def:g_gls.def -out:$(TARGET).LIB \
  74. $(OBJECTS)
  75. .c.obj:
  76. $(cc) $(cflags) $(scall) $(cdebug) $(cvarsdll) $(CDEFS) $(CINCS) $<