Source code of Windows XP (NT5)
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.

96 lines
2.1 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. ABI =
  16. SYSLIBS = -L $(ROOT)/usr/lib
  17. WARNFLAGS = -woff 799
  18. CFLAGS = \
  19. -D__GLS_FAKE_MUTEX=1 \
  20. -D__GLS_FAKE_THREAD_LOCAL_STORAGE=1 \
  21. -D__GLS_GL_DISPATCH=1 \
  22. -D__GLS_GL_DISPATCH_DSO=1 \
  23. -D__GLS_MSB_FIRST=1 \
  24. -D__GLS_PLATFORM_IRIX=1 \
  25. -D__GLS_RELEASE=\"0\" \
  26. -D__INLINE_INTRINSICS \
  27. -D_LONGLONG \
  28. -ansi \
  29. -nostdinc \
  30. -I../inc \
  31. -I$(ROOT)/usr/include \
  32. -O \
  33. $(ABI) \
  34. $(WARNFLAGS) \
  35. $(NULL)
  36. LDFLAGS = \
  37. $(ABI) \
  38. -nostdlib \
  39. $(SYSLIBS) \
  40. -shared \
  41. $(NULL)
  42. NULL =
  43. OBJECTS = \
  44. cap.o \
  45. ctx.o \
  46. dec.o \
  47. encoding.o \
  48. exec.o \
  49. g_glsapi.o \
  50. g_cap.o \
  51. g_const.o \
  52. g_decbin.o \
  53. g_decswp.o \
  54. g_dectxt.o \
  55. g_dspcap.o \
  56. g_dspdec.o \
  57. g_dspexe.o \
  58. g_exec.o \
  59. g_op.o \
  60. global.o \
  61. glslib.o \
  62. glsutil.o \
  63. immed.o \
  64. opcode.o \
  65. parser.o \
  66. pixel.o \
  67. platform.o \
  68. read.o \
  69. readbin.o \
  70. readtxt.o \
  71. size.o \
  72. write.o \
  73. writebin.o \
  74. writetxt.o \
  75. $(NULL)
  76. STUB = libGL.so
  77. TARGET = libGLS.so
  78. default: $(TARGET)
  79. clean:
  80. rm -f g_glstub.o $(OBJECTS) $(STUB) $(TARGET) so_locations
  81. $(STUB): g_glstub.o
  82. $(LD) -o $@ $(LDFLAGS) g_glstub.o -lc
  83. $(TARGET): $(OBJECTS) $(STUB)
  84. $(LD) -o $@ $(LDFLAGS) -exports_file g_gls.exp \
  85. -fini __glsFinalDSO -init __glsInitDSO \
  86. $(OBJECTS) $(STUB) -lm -lc