Move the column preferences stuff to epan (the rest of the preferences
[obnox/wireshark/wip.git] / Makefile.common
1 # Makefile.common
2 #     Contains the stuff from Makefile.am and Makefile.nmake that is
3 #     a) common to both files and
4 #     b) portable between both files
5 #
6 # $Id$
7 #
8 # Ethereal - Network traffic analyzer
9 # By Gerald Combs <gerald@ethereal.com>
10 # Copyright 1998 Gerald Combs
11 #
12 # This program is free software; you can redistribute it and/or
13 # modify it under the terms of the GNU General Public License
14 # as published by the Free Software Foundation; either version 2
15 # of the License, or (at your option) any later version.
16 #
17 # This program is distributed in the hope that it will be useful,
18 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20 # GNU General Public License for more details.
21 #
22 # You should have received a copy of the GNU General Public License
23 # along with this program; if not, write to the Free Software
24 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
25
26 # Header files for dissector helpers
27 # XXX - these should be moved to epan/dissectors
28 DISSECTOR_SUPPORT_INCLUDES =    \
29         aftypes.h       \
30         arcnet_pids.h   \
31         asn1.h  \
32         bridged_pids.h  \
33         chdlctypes.h    \
34         etypes.h        \
35         follow.h        \
36         format-oid.h    \
37         greproto.h      \
38         h225-persistentdata.h   \
39         iax2_codec_type.h       \
40         ip_opts.h       \
41         isprint.h       \
42         lapd_sapi.h     \
43         llcsaps.h       \
44         nlpid.h \
45         oui.h   \
46         ppptypes.h      \
47         prefs-int.h     \
48         ptvcursor.h     \
49         reassemble.h    \
50         rpc_defrag.h    \
51         rtp_pt.h        \
52         sctpppids.h     \
53         smb.h   \
54         x264_prt_id.h   \
55         xmlstub.h
56
57 # "BUILT_SOURCES" are built before any "make all" or "make check" targets.
58 BUILT_SOURCES =         \
59         svnversion.h \
60         ps.c
61
62 # sources common for ethereal and tethereal
63 ETHEREAL_COMMON_SRC =   \
64         $(PLATFORM_SRC) \
65         capture_stop_conditions.c       \
66         cfile.c \
67         clopts_common.c \
68         conditions.c    \
69         disabled_protos.c       \
70         packet-range.c  \
71         pcap-util.c     \
72         print.c \
73         ps.c    \
74         ringbuffer.c    \
75         timestats.c     \
76         util.c  \
77         version_info.c
78
79 # corresponding headers
80 ETHEREAL_COMMON_INCLUDES =      \
81         $(DISSECTOR_SUPPORT_INCLUDES)   \
82         svnversion.h            \
83         capture_stop_conditions.h       \
84         cfile.h \
85         clopts_common.h \
86         color.h \
87         conditions.h    \
88         disabled_protos.h       \
89         file.h  \
90         packet-range.h  \
91         pcap-util.h     \
92         pcap-util-int.h \
93         print.h \
94         ps.h    \
95         register.h      \
96         ringbuffer.h    \
97         timestats.h     \
98         util.h  \
99         version_info.h
100
101 # sources for Tethereal taps
102 TETHEREAL_TAP_SRC =     \
103         tap-ansi_astat.c        \
104         tap-bootpstat.c \
105         tap-dcerpcstat.c        \
106         tap-gsm_astat.c \
107         tap-h225counter.c       \
108         tap-h225rassrt.c        \
109         tap-httpstat.c  \
110         tap-iostat.c    \
111         tap-iousers.c   \
112         tap-mgcpstat.c  \
113         tap-protocolinfo.c      \
114         tap-protohierstat.c     \
115         tap-rpcstat.c   \
116         tap-rpcprogs.c  \
117         tap-sipstat.c \
118         tap-smbsids.c   \
119         tap-smbstat.c   \
120         tap-wspstat.c
121
122 # helpers alraedy available on some platforms (and on others not)
123 EXTRA_ethereal_SOURCES =        \
124         snprintf.c      \
125         strerror.c      \
126         strcasecmp.c    \
127         strncasecmp.c   \
128         mkstemp.c       \
129         strptime.c
130
131 # corresponding headers
132 EXTRA_ethereal_INCLUDES =       \
133         snprintf.h      \
134         snprintf-imp.h  \
135         strerror.h      \
136         mkstemp.h       \
137         strptime.h
138
139 # ethereal specifics
140 ethereal_SOURCES =      \
141         $(ETHEREAL_COMMON_SRC)  \
142         alert_box.c     \
143         capture.c       \
144         capture_combo_utils.c   \
145         color_filters.c \
146         file.c  \
147         filters.c       \
148         g711.c \
149         merge.c \
150         proto_hier_stats.c      \
151         summary.c
152
153 # corresponding headers
154 ethereal_INCLUDES =     \
155         alert_box.h     \
156         capture.h       \
157         capture_combo_utils.h   \
158         color_filters.h \
159         filters.h       \
160         g711.h  \
161         globals.h       \
162         menu.h  \
163         merge.h \
164         progress_dlg.h  \
165         proto_hier_stats.h      \
166         simple_dialog.h \
167         statusbar.h     \
168         summary.h       \
169         tap_dfilter_dlg.h       \
170         ui_util.h
171
172 # tethereal specifics
173 tethereal_SOURCES =     \
174         $(ETHEREAL_COMMON_SRC)  \
175         $(TETHEREAL_TAP_SRC)    \
176         tethereal-tap-register.c        \
177         tethereal.c
178
179 # text2pcap specifics
180 text2pcap_SOURCES = \
181         text2pcap.c \
182         text2pcap-scanner.l
183
184 # mergecap specifics
185 mergecap_SOURCES = \
186         mergecap.c \
187         merge.c \
188         svnversion.h
189
190 # editcap specifics
191 editcap_SOURCES = \
192         editcap.c
193
194 # dftest specifics
195 dftest_SOURCES =        \
196         dftest.c        \
197         util.c
198
199 # randpkt specifics
200 randpkt_SOURCES = \
201         randpkt.c
202
203 # this target needed for distribution only
204 noinst_HEADERS =        \
205         $(DISSECTOR_SUPPORT_INCLUDES) \
206         $(ETHEREAL_COMMON_INCLUDES) \
207         $(ethereal_INCLUDES) \
208         $(EXTRA_ethereal_INCLUDES)
209