3 # Wireshark - Network traffic analyzer
4 # By Gerald Combs <gerald@wireshark.org>
5 # Copyright 2004 Gerald Combs
7 # This program is free software; you can redistribute it and/or
8 # modify it under the terms of the GNU General Public License
9 # as published by the Free Software Foundation; either version 2
10 # of the License, or (at your option) any later version.
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
17 # You should have received a copy of the GNU General Public License
18 # along with this program; if not, write to the Free Software
19 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 PIDL = ../../../../tools/pidl/pidl --ws-parser
23 pidl_out = --outputdir ../..
24 pidl_inc = --includedir ..
40 iwbemloginclientidex \
56 DONT_BUILD_SUBDIRS = \
62 .PHONY: $(SUBDIRS) $(DONT_BUILD_SUBDIRS)
64 $(SUBDIRS) $(DONT_BUILD_SUBDIRS): %: ../packet-dcerpc-%.c ../packet-dcerpc-%.h
66 ../packet-dcerpc-atsvc.c \
67 ../packet-dcerpc-atsvc.h: atsvc/atsvc.idl atsvc/atsvc.cnf
68 cd $(<D) && $(PIDL) $(pidl_out) $(pidl_inc) -- $(<F)
70 ../packet-dcerpc-clusapi.c \
71 ../packet-dcerpc-clusapi.h: clusapi/clusapi.idl clusapi/clusapi.cnf \
73 cd $(<D) && $(PIDL) $(pidl_out) $(pidl_inc) -- $(<F)
75 ../packet-dcerpc-dfs.c \
76 ../packet-dcerpc-dfs.h: dfs/dfs.idl dfs/dfs.cnf
77 cd $(<D) && $(PIDL) $(pidl_out) $(pidl_inc) -- $(<F)
79 ../packet-dcerpc-dnsserver.c \
80 ../packet-dcerpc-dnsserver.h: dnsserver/dnsserver.idl dnsserver/dnsserver.cnf
81 cd $(<D) && $(PIDL) $(pidl_out) $(pidl_inc) -- $(<F)
83 ../packet-dcerpc-dssetup.c \
84 ../packet-dcerpc-dssetup.h: dssetup/dssetup.idl misc/misc.idl
85 cd $(<D) && $(PIDL) $(pidl_out) $(pidl_inc) -- $(<F)
87 ../packet-dcerpc-efs.c \
88 ../packet-dcerpc-efs.h: efs/efs.idl efs/efs.cnf
89 cd $(<D) && $(PIDL) $(pidl_out) $(pidl_inc) -- $(<F)
91 ../packet-dcerpc-eventlog.c \
92 ../packet-dcerpc-eventlog.h: eventlog/eventlog.idl eventlog/eventlog.cnf \
94 cd $(<D) && $(PIDL) $(pidl_out) $(pidl_inc) -- $(<F)
96 ../packet-dcerpc-frsrpc.c \
97 ../packet-dcerpc-frsrpc.h: frsrpc/frsrpc.idl frsrpc/frsrpc.cnf \
98 misc/misc.idl idl_types.h
99 cd $(<D) && $(PIDL) $(pidl_out) $(pidl_inc) -- $(<F)
101 ../packet-dcerpc-frstrans.c \
102 ../packet-dcerpc-frstrans.h: frstrans/frstrans.idl frstrans/frstrans.cnf \
103 misc/misc.idl idl_types.h
104 cd $(<D) && $(PIDL) $(pidl_out) $(pidl_inc) -- $(<F)
106 ../packet-dcerpc-fsrvp.c \
107 ../packet-dcerpc-fsrvp.h: fsrvp/fsrvp.idl fsrvp/fsrvp.cnf \
109 cd $(<D) && $(PIDL) $(pidl_out) $(pidl_inc) -- $(<F)
111 ../packet-dcerpc-initshutdown.c \
112 ../packet-dcerpc-initshutdown.h: initshutdown/initshutdown.idl \
113 initshutdown/initshutdown.cnf \
114 lsa/lsa.idl idl_types.h
115 cd $(<D) && $(PIDL) $(pidl_out) $(pidl_inc) -- $(<F)
117 ../packet-dcerpc-iwbemlevel1login.c \
118 ../packet-dcerpc-iwbemlevel1login.h: iwbemlevel1login/iwbemlevel1login.idl \
119 iwbemlevel1login/iwbemlevel1login.cnf \
121 cd $(<D) && $(PIDL) $(pidl_out) $(pidl_inc) -- $(<F)
123 ../packet-dcerpc-iwbemloginclientid.c \
124 ../packet-dcerpc-iwbemloginclientid.h: iwbemloginclientid/iwbemloginclientid.idl \
125 iwbemloginclientid/iwbemloginclientid.cnf \
127 cd $(<D) && $(PIDL) $(pidl_out) $(pidl_inc) -- $(<F)
129 ../packet-dcerpc-iwbemloginclientidex.c \
130 ../packet-dcerpc-iwbemloginclientidex.h: iwbemloginclientidex/iwbemloginclientidex.idl \
131 iwbemloginclientidex/iwbemloginclientidex.cnf \
133 cd $(<D) && $(PIDL) $(pidl_out) $(pidl_inc) -- $(<F)
135 ../packet-dcerpc-iwbemservices.c \
136 ../packet-dcerpc-iwbemservices.h: iwbemservices/iwbemservices.idl \
137 iwbemservices/iwbemservices.cnf \
139 cd $(<D) && $(PIDL) $(pidl_out) $(pidl_inc) -- $(<F)
141 ../packet-dcerpc-lsa.c \
142 ../packet-dcerpc-lsa.h: lsa/lsa.idl lsa/lsa.cnf idl_types.h
143 cd $(<D) && $(PIDL) $(pidl_out) $(pidl_inc) -- $(<F)
145 ../packet-dcerpc-mapi.c \
146 ../packet-dcerpc-mapi.h: mapi/mapi.idl mapi/mapi.cnf \
147 idl_types.h mapicodes_enum.h mapitags_enum.h
148 cd $(<D) && $(PIDL) $(pidl_out) $(pidl_inc) -- $(<F)
150 ../packet-dcerpc-mdssvc.c \
151 ../packet-dcerpc-mdssvc.h: mdssvc/mdssvc.idl mdssvc/mdssvc.cnf \
153 cd $(<D) && $(PIDL) $(pidl_out) $(pidl_inc) -- $(<F)
155 ../packet-dcerpc-misc.c \
156 ../packet-dcerpc-misc.h: misc/misc.idl misc/misc.cnf idl_types.h
157 cd $(<D) && $(PIDL) $(pidl_out) $(pidl_inc) -- $(<F)
159 ../packet-dcerpc-nspi.c \
160 ../packet-dcerpc-nspi.h: nspi/nspi.idl nspi/nspi.cnf \
161 idl_types.h mapicodes_enum.h mapitags_enum.h
162 cd $(<D) && $(PIDL) $(pidl_out) $(pidl_inc) -- $(<F)
164 ../packet-dcerpc-rcg.c \
165 ../packet-dcerpc-rcg.h: rcg/rcg.idl rcg/rcg.cnf \
166 idl_types.h mapicodes_enum.h
167 cd $(<D) && $(PIDL) $(pidl_out) $(pidl_inc) -- $(<F)
169 ../packet-dcerpc-rfr.c \
170 ../packet-dcerpc-rfr.h: rfr/rfr.idl rfr/rfr.cnf \
171 idl_types.h mapicodes_enum.h
172 cd $(<D) && $(PIDL) $(pidl_out) $(pidl_inc) -- $(<F)
174 ../packet-dcerpc-samr.c \
175 ../packet-dcerpc-samr.h: samr/samr.idl samr/samr.cnf idl_types.h
176 cd $(<D) && $(PIDL) $(pidl_out) $(pidl_inc) -- $(<F)
178 ../packet-dcerpc-srvsvc.c \
179 ../packet-dcerpc-srvsvc.h: srvsvc/srvsvc.idl srvsvc/srvsvc.cnf idl_types.h
180 cd $(<D) && $(PIDL) $(pidl_out) $(pidl_inc) -- $(<F)
182 ../packet-dcerpc-svcctl.c \
183 ../packet-dcerpc-svcctl.h: svcctl/svcctl.idl svcctl/svcctl.cnf
184 cd $(<D) && $(PIDL) $(pidl_out) $(pidl_inc) -- $(<F)
186 ../packet-dcerpc-winreg.c \
187 ../packet-dcerpc-winreg.h: winreg/winreg.idl winreg/winreg.cnf \
189 cd $(<D) && $(PIDL) $(pidl_out) $(pidl_inc) -- $(<F)
191 ../packet-dcerpc-winspool.c \
192 ../packet-dcerpc-winspool.h: winspool/winspool.idl winspool/winspool.cnf \
194 cd $(<D) && $(PIDL) $(pidl_out) $(pidl_inc) -- $(<F)
196 ../packet-dcerpc-witness.c \
197 ../packet-dcerpc-witness.h: witness/witness.idl witness/witness.cnf \
198 misc/misc.idl idl_types.h
199 cd $(<D) && $(PIDL) $(pidl_out) $(pidl_inc) -- $(<F)
201 ../packet-dcerpc-wkssvc.c \
202 ../packet-dcerpc-wkssvc.h: wkssvc/wkssvc.idl wkssvc/wkssvc.cnf \
203 lsa/lsa.idl srvsvc/srvsvc.idl \
205 cd $(<D) && $(PIDL) $(pidl_out) $(pidl_inc) -- $(<F)
207 ../packet-dcerpc-wzcsvc.c \
208 ../packet-dcerpc-wzcsvc.h: wzcsvc/wzcsvc.idl wzcsvc/wzcsvc.cnf
209 cd $(<D) && $(PIDL) $(pidl_out) $(pidl_inc) -- $(<F)