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.

59 lines
1.5 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. TARGETLIBS = \
  18. $(SDK_LIB_PATH)\kernel32.lib \
  19. $(SDK_LIB_PATH)\advapi32.lib \
  20. $(SDK_LIB_PATH)\ole32.lib \
  21. $(SDK_LIB_PATH)\msasn1.lib \
  22. ..\lib\*\gkutil.lib
  23. default: all
  24. all: h225pp.c h225pp.h h235pp.c h235pp.h h245pp.c h245pp.h
  25. h225pp.c h225pp.h: h235pp.asn h245pp.asn h225pp.asn h245pp.h
  26. $(ASN1C) -m -p PDU -c chosen -o present -v bit_mask -n h225 -g h245pp.asn h235pp.asn h245pp.asn h225pp.asn
  27. h245pp.c h245pp.h: h245pp.asn
  28. $(ASN1C) -m -p PDU -c chosen -o present -v bit_mask -n h245 h245pp.asn
  29. h235pp.c h235pp.h: h235pp.asn
  30. $(ASN1C) -m -p PDU -c chosen -o present -v bit_mask -n h235 h235pp.asn
  31. h225pp.asn: h225.asn
  32. -$(ASN1CPP) -o h225pp.asn h235.asn h225.asn
  33. h235pp.asn: h235.asn
  34. -$(ASN1CPP) -o h235pp.asn h235.asn
  35. h245pp.asn: h245.asn
  36. -$(ASN1CPP) -o h245pp.asn h245.asn
  37. clean:
  38. del h*pp.c /q
  39. del h*pp.h /q
  40. del h*pp.asn /q
  41. del h*.out /q