diff options
author | Jeff Morriss <jeff.morriss@ulticom.com> | 2011-10-10 02:31:11 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss@ulticom.com> | 2011-10-10 02:31:11 +0000 |
commit | cf012d27b10930edc93ca0e44d2a38e69200169f (patch) | |
tree | 0c80b13c452cecb6bab14694c1bebf8e49a740a5 /asn1/gnm | |
parent | 6142dd287bb03011ee572d01bcf903c81523fd0c (diff) |
Build the ASN.1 dissectors directly into epan/dissectors (rather than building
them and then copying them over). The "all" target to builds these dissectors
now (instead of "generate_files" and/or "copy_files").
asn2wrs's "-O" option now means "the dissector goes in this directory" (rather
than "all output goes in this directory"); it also means that the "-s" (single
output file) option is now required.
Fix things up so that it's possible to build all of the ASN.1 dissectors in
one shot.
Fix building of conformance files when doing out-of-source-tree builds.
Unfortunately "make all" in the asn1 directory always builds something--I think
because of circular depedencies.
svn path=/trunk/; revision=39333
Diffstat (limited to 'asn1/gnm')
-rw-r--r-- | asn1/gnm/Makefile.common | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/asn1/gnm/Makefile.common b/asn1/gnm/Makefile.common index 1700cac3fd..7689f6906d 100644 --- a/asn1/gnm/Makefile.common +++ b/asn1/gnm/Makefile.common @@ -22,10 +22,6 @@ PROTOCOL_NAME=gnm -DISSECTOR_FILES=packet-$(PROTOCOL_NAME).c \ - packet-$(PROTOCOL_NAME).h - - EXT_ASN_FILE_LIST = ASN_FILE_LIST = GNM.asn @@ -46,8 +42,8 @@ SRC_FILES = \ A2W_FLAGS= -b EXTRA_CNF= \ - ../cmip/cmip-exp.cnf + $(builddir)/../cmip/cmip-exp.cnf -../cmip/cmip-exp.cnf: - (cd ../cmip && $(MAKE_CNF_EXPORT)) +$(builddir)/../cmip/cmip-exp.cnf: + (cd $(builddir)/../cmip && $(MAKE_CNF_EXPORT)) |