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.

79 lines
1.7 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. CFLAGS = \
  16. -D__GLS_PLATFORM_LINUX=1 \
  17. -D__GLS_RELEASE=\"0\" \
  18. -ansi \
  19. -I../inc \
  20. -I$(ROOT)/usr/include \
  21. -O \
  22. -Wall -Wno-parentheses -Wpointer-arith -Wwrite-strings \
  23. $(NULL)
  24. LDFLAGS = \
  25. -L$(ROOT)/usr/lib \
  26. -shared \
  27. $(NULL)
  28. NULL =
  29. OBJECTS = \
  30. cap.o \
  31. ctx.o \
  32. dec.o \
  33. encoding.o \
  34. exec.o \
  35. g_glsapi.o \
  36. g_cap.o \
  37. g_const.o \
  38. g_decbin.o \
  39. g_decswp.o \
  40. g_dectxt.o \
  41. g_dspcap.o \
  42. g_dspdec.o \
  43. g_dspexe.o \
  44. g_exec.o \
  45. g_op.o \
  46. global.o \
  47. glslib.o \
  48. glsutil.o \
  49. immed.o \
  50. opcode.o \
  51. parser.o \
  52. pixel.o \
  53. platform.o \
  54. read.o \
  55. readbin.o \
  56. readtxt.o \
  57. size.o \
  58. write.o \
  59. writebin.o \
  60. writetxt.o \
  61. $(NULL)
  62. STUB = libGL.so
  63. TARGET = libGLS.so
  64. default: $(TARGET)
  65. clean:
  66. rm -f g_glstub.o $(OBJECTS) $(STUB) $(TARGET)
  67. $(STUB): g_glstub.o
  68. $(CC) -o $@ $(LDFLAGS) g_glstub.o -lc
  69. $(TARGET): $(OBJECTS) $(STUB)
  70. $(CC) -o $@ $(LDFLAGS) $(OBJECTS) $(STUB) -ldl -lm -lc