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.

69 lines
1.9 KiB

  1. # this makefile is used to generate the six stub files from
  2. # the three different ASN.1 source files.
  3. #
  4. # h235.asn generates h235.c, h235.h
  5. # h245.asn generates h245.c, h245.h
  6. # h225.asn generates h225.c, h225.h
  7. #
  8. # the ASN1CPP preprocessor always returns a failure status
  9. # so, for now, we use the "-" prefix to ignore the return value.
  10. # should bug lonchanc about this.
  11. # -- arlied
  12. BASEDIR = $(_NTDRIVE)$(_NTROOT)
  13. ASN_BINDIR = $(BASEDIR)\private\asn1\bin
  14. ASN_INCDIR = $(BASEDIR)\private\inc\asn1
  15. #ASN1C = $(ASN_BINDIR)\asn1c.exe
  16. #ASN1CPP = $(ASN_BINDIR)\asn1cpp.exe
  17. ASN1C = \\dbarlow\public\h323\asn1c.exe
  18. ASN1CPP = \\dbarlow\public\h323\asn1cpp.exe
  19. TARGETLIBS = \
  20. $(SDK_LIB_PATH)\kernel32.lib \
  21. $(SDK_LIB_PATH)\advapi32.lib \
  22. $(SDK_LIB_PATH)\ole32.lib \
  23. $(SDK_LIB_PATH)\msasn1.lib
  24. # ..\lib\*\gkutil.lib
  25. default: all
  26. scratch: clean all
  27. all: h225asn.c h225asn.h h235asn.c h235asn.h h245asn.c h245asn.h h4503pp.c h4503pp.h
  28. h225asn.c h225asn.h: h235asn.asn h245asn.asn h225asn.asn h245asn.h
  29. $(ASN1C) -m -p PDU -c chosen -o present -v bit_mask -n h225 -g h235asn.asn -g h245asn.asn h235asn.asn h245asn.asn h225asn.asn
  30. h245asn.c h245asn.h: h245asn.asn
  31. $(ASN1C) -m -p PDU -c chosen -o present -v bit_mask -n h245 h245asn.asn
  32. h235asn.c h235asn.h: h235asn.asn
  33. $(ASN1C) -m -p PDU -c chosen -o present -v bit_mask -n h235 h235asn.asn
  34. h4503pp.c h4503pp.h: h4503pp.asn
  35. $(ASN1C) -m -p PDU -c chosen -o present -v bit_mask -n h450 -g h235asn.asn -g h225asn.asn -g h245asn.asn h235asn.asn h225asn.asn h245asn.asn h4503pp.asn
  36. h225asn.asn: h225.asn
  37. -$(ASN1CPP) -o h225asn.asn h235.asn h225.asn
  38. h235asn.asn: h235.asn
  39. -$(ASN1CPP) -o h235asn.asn h235.asn
  40. h245asn.asn: h245.asn
  41. -$(ASN1CPP) -o h245asn.asn h245.asn
  42. h4503pp.asn: h4503.asn
  43. -$(ASN1CPP) -o h4503pp.asn h4503.asn
  44. clean:
  45. del h*ans.c /q
  46. del h*ans.h /q
  47. del h*asn.asn /q
  48. del h*.out /q