Move h225-persistentdata.[ch] to epan,
[metze/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         iax2_codec_type.h       \
39         ip_opts.h       \
40         isprint.h       \
41         lapd_sapi.h     \
42         llcsaps.h       \
43         nlpid.h \
44         oui.h   \
45         ppptypes.h      \
46         ptvcursor.h     \
47         reassemble.h    \
48         rpc_defrag.h    \
49         rtp_pt.h        \
50         sctpppids.h     \
51         smb.h   \
52         x264_prt_id.h   \
53         xmlstub.h
54
55 # "BUILT_SOURCES" are built before any "make all" or "make check" targets.
56 BUILT_SOURCES =         \
57         svnversion.h \
58         ps.c
59
60 # sources common for ethereal and tethereal
61 ETHEREAL_COMMON_SRC =   \
62         $(PLATFORM_SRC) \
63         capture_stop_conditions.c       \
64         capture_ui_utils.c      \
65         cfile.c \
66         clopts_common.c \
67         conditions.c    \
68         disabled_protos.c       \
69         packet-range.c  \
70         pcap-util.c     \
71         print.c \
72         ps.c    \
73         ringbuffer.c    \
74         timestats.c     \
75         util.c  \
76         version_info.c
77
78 # corresponding headers
79 ETHEREAL_COMMON_INCLUDES =      \
80         $(DISSECTOR_SUPPORT_INCLUDES)   \
81         svnversion.h            \
82         capture_stop_conditions.h       \
83         capture_ui_utils.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_sync.c  \
145         capture_loop.c  \
146         color_filters.c \
147         file.c  \
148         filters.c       \
149         g711.c \
150         merge.c \
151         proto_hier_stats.c      \
152         summary.c
153
154 # corresponding headers
155 ethereal_INCLUDES =     \
156         alert_box.h     \
157         capture.h       \
158         capture_sync.h  \
159         color_filters.h \
160         filters.h       \
161         g711.h  \
162         globals.h       \
163         main_window.h   \
164         menu.h  \
165         merge.h \
166         progress_dlg.h  \
167         proto_hier_stats.h      \
168         simple_dialog.h \
169         statusbar.h     \
170         summary.h       \
171         tap_dfilter_dlg.h       \
172         ui_util.h
173
174 # tethereal specifics
175 tethereal_SOURCES =     \
176         $(ETHEREAL_COMMON_SRC)  \
177         $(TETHEREAL_TAP_SRC)    \
178         tethereal-tap-register.c        \
179         tethereal.c
180
181 # text2pcap specifics
182 text2pcap_SOURCES = \
183         text2pcap.c \
184         text2pcap-scanner.l
185
186 # mergecap specifics
187 mergecap_SOURCES = \
188         mergecap.c \
189         merge.c \
190         svnversion.h
191
192 # editcap specifics
193 editcap_SOURCES = \
194         editcap.c
195
196 # dftest specifics
197 dftest_SOURCES =        \
198         dftest.c        \
199         util.c
200
201 # randpkt specifics
202 randpkt_SOURCES = \
203         randpkt.c
204
205 # this target needed for distribution only
206 noinst_HEADERS =        \
207         $(DISSECTOR_SUPPORT_INCLUDES) \
208         $(ETHEREAL_COMMON_INCLUDES) \
209         $(ethereal_INCLUDES) \
210         $(EXTRA_ethereal_INCLUDES)
211