Skip to content

Commit

Permalink
Now all disectors requiring asn2wrs can be generated using
Browse files Browse the repository at this point in the history
cmake.

svn path=/trunk/; revision=49254
  • Loading branch information
Jörg Mayer committed May 11, 2013
1 parent 5bf8bd4 commit d266d38
Show file tree
Hide file tree
Showing 9 changed files with 227 additions and 2 deletions.
3 changes: 1 addition & 2 deletions README.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

$Id$

Notice
Notice

To find out the current state of the cmake implementaion for
Wireshark, please take a look at "What needs to be done?" below.
Expand Down Expand Up @@ -87,7 +87,6 @@ All the executables now build from clean source on:
What needs to be done?
======================

- Add asn1 autogen target (assigned: krj)
- Add back platform specific objects.
- Fix places in the cmake files marked as todo.
- Guides are not installed.
Expand Down
28 changes: 28 additions & 0 deletions asn1/t124/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,31 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#

set( PROTOCOL_NAME t124 )

set( PROTO_OPT )

set( EXT_ASN_FILE_LIST_LATE
../t125/MCS-PROTOCOL.asn
)

set( ASN_FILE_LIST
GCC-PROTOCOL.asn
)

set( EXTRA_DIST
${ASN_FILE_LIST}
packet-${PROTOCOL_NAME}-template.c
packet-${PROTOCOL_NAME}-template.h
${PROTOCOL_NAME}.cnf
)

set( SRC_FILES
${EXTRA_DIST}
${EXT_ASN_FILE_LIST}
)

set( A2W_FLAGS )

ASN2WRS()

27 changes: 27 additions & 0 deletions asn1/t125/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,30 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#

set( PROTOCOL_NAME t125 )

set( PROTO_OPT )

set( EXT_ASN_FILE_LIST
)

set( ASN_FILE_LIST
MCS-PROTOCOL.asn
)

set( EXTRA_DIST
${ASN_FILE_LIST}
packet-${PROTOCOL_NAME}-template.c
packet-${PROTOCOL_NAME}-template.h
${PROTOCOL_NAME}.cnf
)

set( SRC_FILES
${EXTRA_DIST}
${EXT_ASN_FILE_LIST}
)

set( A2W_FLAGS -b )

ASN2WRS()

27 changes: 27 additions & 0 deletions asn1/t38/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,30 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#

set( PROTOCOL_NAME t38 )

set( PROTO_OPT )

set( EXT_ASN_FILE_LIST
)

set( ASN_FILE_LIST
T38_2002.asn
)

set( EXTRA_DIST
${ASN_FILE_LIST}
packet-${PROTOCOL_NAME}-template.c
packet-${PROTOCOL_NAME}-template.h
${PROTOCOL_NAME}.cnf
)

set( SRC_FILES
${EXTRA_DIST}
${EXT_ASN_FILE_LIST}
)

set( A2W_FLAGS )

ASN2WRS()

31 changes: 31 additions & 0 deletions asn1/tcap/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,34 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#

set( PROTOCOL_NAME tcap )

set( PROTO_OPT )

set( EXT_ASN_FILE_LIST
)

set( ASN_FILE_LIST
${PROTOCOL_NAME}.asn
UnidialoguePDUs.asn
DialoguePDUs.asn
)

set( EXTRA_DIST
${ASN_FILE_LIST}
packet-${PROTOCOL_NAME}-template.c
packet-${PROTOCOL_NAME}-template.h
${PROTOCOL_NAME}.cnf
)

set( SRC_FILES
${EXTRA_DIST}
${EXT_ASN_FILE_LIST}
TCAPMessages.asn
TC-Notation-Extensions.asn
)

set( A2W_FLAGS -b )

ASN2WRS()

27 changes: 27 additions & 0 deletions asn1/tetra/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,30 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#

set( PROTOCOL_NAME tetra )

set( PROTO_OPT )

set( EXT_ASN_FILE_LIST
)

set( ASN_FILE_LIST
${PROTOCOL_NAME}.asn
)

set( EXTRA_DIST
${ASN_FILE_LIST}
packet-${PROTOCOL_NAME}-template.c
packet-${PROTOCOL_NAME}-template.h
${PROTOCOL_NAME}.cnf
)

set( SRC_FILES
${EXTRA_DIST}
${EXT_ASN_FILE_LIST}
)

set( A2W_FLAGS -u )

ASN2WRS()

28 changes: 28 additions & 0 deletions asn1/ulp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,31 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#

set( PROTOCOL_NAME ulp )

set( PROTO_OPT )

set( EXT_ASN_FILE_LIST
)

set( ASN_FILE_LIST
ULP.asn
SUPL.asn
ULP-Components.asn
)

set( EXTRA_DIST
${ASN_FILE_LIST}
packet-${PROTOCOL_NAME}-template.c
${PROTOCOL_NAME}.cnf
)

set( SRC_FILES
${EXTRA_DIST}
${EXT_ASN_FILE_LIST}
)

set( A2W_FLAGS )

ASN2WRS()

27 changes: 27 additions & 0 deletions asn1/wlancertextn/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,30 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#

set( PROTOCOL_NAME wlancertextn )

set( PROTO_OPT )

set( EXT_ASN_FILE_LIST
)

set( ASN_FILE_LIST
WLANCERTEXTN.asn
)

set( EXTRA_DIST
${ASN_FILE_LIST}
packet-${PROTOCOL_NAME}-template.c
packet-${PROTOCOL_NAME}-template.h
${PROTOCOL_NAME}.cnf
)

set( SRC_FILES
${EXTRA_DIST}
${EXT_ASN_FILE_LIST}
)

set( A2W_FLAGS -b )

ASN2WRS()

31 changes: 31 additions & 0 deletions asn1/x2ap/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,34 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#

set( PROTOCOL_NAME x2ap )

set( PROTO_OPT )

set( EXT_ASN_FILE_LIST
)

set( ASN_FILE_LIST
X2AP-CommonDataTypes.asn
X2AP-Constants.asn
X2AP-Containers.asn
X2AP-IEs.asn
X2AP-PDU-Contents.asn
X2AP-PDU-Descriptions.asn
)

set( EXTRA_DIST
${ASN_FILE_LIST}
packet-${PROTOCOL_NAME}-template.c
${PROTOCOL_NAME}.cnf
)

set( SRC_FILES
${EXTRA_DIST}
${EXT_ASN_FILE_LIST}
)

set( A2W_FLAGS )

ASN2WRS()

0 comments on commit d266d38

Please sign in to comment.