Run checkAPI in plugins dir.
[obnox/wireshark/wip.git] / plugins / Makefile.nmake
1 #
2 # $Id$
3 #
4
5 include ..\config.nmake
6
7 ############### no need to modify below this line #########
8
9 ## To add a plugin: Add entry to process-plugins and to install-plugins
10
11 all: checkapi
12         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake PLUGIN_TARGET= process-plugins
13
14 clean: clean-local
15         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake PLUGIN_TARGET=clean process-plugins
16
17 distclean: distclean-local
18         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake PLUGIN_TARGET=distclean process-plugins
19
20 maintainer-clean: maintainer-clean-local
21         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake PLUGIN_TARGET=maintainer-clean process-plugins
22
23
24 clean-local:
25         rm -rf $(VERSION)
26
27 distclean-local: clean-local
28
29 maintainer-clean-local: distclean-local
30
31 checkapi: 
32         $(MAKE) -f Makefile.nmake PLUGIN_TARGET=checkapi process-plugins 
33
34 process-plugins:
35         cd agentx
36         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake $(PLUGIN_TARGET)
37         cd ..
38         cd artnet
39         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake $(PLUGIN_TARGET)
40         cd ..
41         cd asn1
42         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake $(PLUGIN_TARGET)
43         cd ..
44         cd ciscosm
45         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake $(PLUGIN_TARGET)
46         cd ..
47         cd docsis
48         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake $(PLUGIN_TARGET)
49         cd ..
50         cd enttec
51         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake $(PLUGIN_TARGET)
52         cd ..
53         cd ethercat
54         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake $(PLUGIN_TARGET)
55         cd ..
56         cd giop
57         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake $(PLUGIN_TARGET)
58         cd ..
59         cd gryphon
60         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake $(PLUGIN_TARGET)
61         cd ..
62         cd infiniband
63         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake $(PLUGIN_TARGET)
64         cd ..
65         cd irda
66         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake $(PLUGIN_TARGET)
67         cd ..
68         cd lwres
69         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake $(PLUGIN_TARGET)
70         cd ..
71         cd m2m
72         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake $(PLUGIN_TARGET)
73         cd ..
74         cd mate
75         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake $(PLUGIN_TARGET)
76         cd ..
77         cd opcua
78         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake $(PLUGIN_TARGET)
79         cd ..
80         cd opsi
81         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake $(PLUGIN_TARGET)
82         cd ..
83         cd pcli
84         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake $(PLUGIN_TARGET)
85         cd ..
86         cd profinet
87         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake $(PLUGIN_TARGET)
88         cd ..
89         cd rlm
90         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake $(PLUGIN_TARGET)
91         cd ..
92         cd rtnet
93         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake $(PLUGIN_TARGET)
94         cd ..
95         cd rudp
96         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake $(PLUGIN_TARGET)
97         cd ..
98         cd sbus
99         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake $(PLUGIN_TARGET)
100         cd ..
101         cd stats_tree
102         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake $(PLUGIN_TARGET)
103         cd ..
104         cd unistim
105         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake $(PLUGIN_TARGET)
106         cd ..
107         cd v5ua
108         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake $(PLUGIN_TARGET)
109         cd ..
110         cd wimax
111         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake $(PLUGIN_TARGET)
112         cd ..
113         cd wimaxasncp
114         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake $(PLUGIN_TARGET)
115         cd ..
116         if exist Custom.nmake $(MAKE) /$(MAKEFLAGS) -f Custom.nmake $(PLUGIN_TARGET)
117
118 ################################################################################
119 # copy all plugins to /plugins/$(VERSION), so Wireshark will load them, when
120 # started from within the source tree.
121 ################################################################################
122
123 install-plugins:
124 !IFDEF ENABLE_LIBWIRESHARK
125         rm -rf $(VERSION)
126         mkdir $(VERSION)
127         xcopy agentx\*.dll $(VERSION) /d
128         xcopy artnet\*.dll $(VERSION) /d
129         xcopy asn1\*.dll $(VERSION) /d
130         xcopy ciscosm\*.dll $(VERSION) /d
131         xcopy docsis\*.dll $(VERSION) /d
132         xcopy enttec\*.dll $(VERSION) /d
133         xcopy ethercat\*.dll $(VERSION) /d
134         xcopy giop\*.dll $(VERSION) /d
135         xcopy gryphon\*.dll $(VERSION) /d
136         xcopy infiniband\*.dll $(VERSION) /d
137         xcopy irda\*.dll $(VERSION) /d
138         xcopy lwres\*.dll $(VERSION) /d
139         xcopy m2m\*.dll $(VERSION) /d
140         xcopy mate\*.dll $(VERSION) /d
141         xcopy opcua\*.dll $(VERSION) /d
142         xcopy opsi\*.dll $(VERSION) /d
143         xcopy pcli\*.dll $(VERSION) /d
144         xcopy profinet\*.dll $(VERSION) /d
145         xcopy rlm\*.dll $(VERSION) /d
146         xcopy rtnet\*.dll $(VERSION) /d
147         xcopy rudp\*.dll $(VERSION) /d
148         xcopy sbus\*.dll $(VERSION) /d
149         xcopy stats_tree\*.dll $(VERSION) /d
150         xcopy unistim\*.dll $(VERSION) /d
151         xcopy v5ua\*.dll $(VERSION) /d
152         xcopy wimax\*.dll $(VERSION) /d
153         xcopy wimaxasncp\*.dll $(VERSION) /d
154         if exist Custom.nmake $(MAKE) /$(MAKEFLAGS) -f Custom.nmake install-plugins
155 !ENDIF
156
157 clean-deps:
158         rm -rf $(VERSION)
159
160
161