CMake: API reference fixes.
[metze/wireshark/wip.git] / epan / dissectors / asn1 / tcap / Makefile.am
index 72d28e600b71f203086de73b93b255356a2a2b87..9e30e6a7983c427b41afaa0c4ed3ebf83d7f07dc 100644 (file)
@@ -2,22 +2,37 @@
 # By Gerald Combs <gerald@wireshark.org>
 # Copyright 1998 Gerald Combs
 #
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-
+# SPDX-License-Identifier: GPL-2.0-or-later
 
-include ../Makefile.preinc
-include Makefile.common
 include ../Makefile.inc
 
+PROTOCOL_NAME=tcap
+
+EXT_ASN_FILE_LIST =
+
+ASN_FILE_LIST = \
+       $(PROTOCOL_NAME).asn\
+       UnidialoguePDUs.asn \
+       DialoguePDUs.asn
+
+INCLUDED_ASN_FILE_LIST = \
+       TCAPMessages.asn \
+       TC-Notation-Extensions.asn
+
+# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn
+# files do not exist for all protocols: Please add/remove as required.
+EXTRA_DIST = \
+       $(EXTRA_DIST_COMMON) \
+       $(ASN_FILE_LIST) \
+       $(INCLUDED_ASN_FILE_LIST) \
+       packet-$(PROTOCOL_NAME)-template.c \
+       packet-$(PROTOCOL_NAME)-template.h \
+       $(PROTOCOL_NAME).cnf
+
+SRC_FILES = \
+       $(EXTRA_DIST) \
+       $(EXT_ASN_FILE_LIST)
+
+A2W_FLAGS= -b
+
+EXTRA_CNF=