Resume work on CMake for Wireshark. Finally found and fixed a
[metze/wireshark/wip.git] / wiretap / CMakeLists.txt
1 # CMakeLists.txt
2 #
3 # $Id$
4 #
5 # Wireshark - Network traffic analyzer
6 # By Gerald Combs <gerald@wireshark.org>
7 # Copyright 1998 Gerald Combs
8 #
9 # This program is free software; you can redistribute it and/or
10 # modify it under the terms of the GNU General Public License
11 # as published by the Free Software Foundation; either version 2
12 # of the License, or (at your option) any later version.
13 #
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 # GNU General Public License for more details.
18 #
19 # You should have received a copy of the GNU General Public License
20 # along with this program; if not, write to the Free Software
21 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
22 #
23
24
25 set(WIRETAP_FILES
26         5views.c
27         airopeek9.c
28         ascend.c
29         atm.c
30         ber.c
31         btsnoop.c
32         buffer.c
33         catapult_dct2000.c
34         commview.c
35         cosine.c
36         csids.c
37         daintree-sna.c
38         dbs-etherwatch.c
39         dct3trace.c
40         erf.c
41         etherpeek.c
42         eyesdn.c
43         file_access.c
44         file_wrappers.c
45         hcidump.c
46         i4btrace.c
47         iptrace.c
48         iseries.c
49         k12.c
50         lanalyzer.c
51         libpcap.c
52         mpeg.c
53         netmon.c
54         netscreen.c
55         nettl.c
56         network_instruments.c
57         netxray.c
58         ngsniffer.c
59         packetlogger.c
60         pcap-common.c
61         pcapng.c
62         pppdump.c
63         radcom.c
64         snoop.c
65         toshiba.c
66         visual.c
67         vms.c
68         wtap.c
69 )
70
71 ADD_LEX_FILES(WIRETAP_FILES
72         ascend-scanner.l
73         k12text.l
74 )
75
76 ADD_YACC_FILES(WIRETAP_FILES
77         ascend-grammar.y
78 )
79
80 ADD_LIBRARY(wiretap SHARED 
81         ${WIRETAP_FILES}
82 )
83
84 INSTALL(TARGETS wiretap LIBRARY DESTINATION lib)