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.

56 lines
1.4 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__INLINE_INTRINSICS \
  20. -D_LONGLONG \
  21. -ansi \
  22. -nostdinc \
  23. -I../inc \
  24. -I$(ROOT)/usr/include \
  25. -O \
  26. $(ABI) \
  27. $(WARNFLAGS) \
  28. $(NULL)
  29. LDFLAGS = \
  30. -nostdlib \
  31. -L../lib \
  32. $(SYSLIBS) \
  33. $(NULL)
  34. LIB = ../lib/libGLS.so
  35. NULL =
  36. TARGETS = tcallarr tcapture tparser
  37. default: $(TARGETS)
  38. clean:
  39. rm -f $(TARGETS)
  40. tcallarr: tcallarr.c $(LIB)
  41. $(CC) $(CFLAGS) -o $@ $@.c $(LDFLAGS) -lGLS
  42. tcapture: tcapture.c $(LIB)
  43. $(CC) $(CFLAGS) -o $@ $@.c $(LDFLAGS) -lGLS
  44. tparser: tparser.c $(LIB)
  45. $(CC) $(CFLAGS) -o $@ $@.c $(LDFLAGS) -lGLS