version: Constify a variable.
[wine] / dlls / Makefile.in
1 # Automatically generated by make_makefiles; DO NOT EDIT!!
2
3 TOPSRCDIR = @top_srcdir@
4 TOPOBJDIR = ..
5 SRCDIR    = @srcdir@
6 VPATH     = @srcdir@
7
8 # special configure-dependent targets
9
10 GLU32FILES = glu32
11 OPENGLFILES = opengl32 wined3d
12 QUARTZFILES = winequartz.drv
13 XFILES = winex11.drv
14 EXTRADIRS = @GLU32FILES@ @OPENGLFILES@ @QUARTZFILES@ @XFILES@
15
16 # Subdir list
17
18 BASEDIRS = \
19         activeds \
20         advapi32 \
21         advpack \
22         amstream \
23         atl \
24         avicap32 \
25         avifil32 \
26         browseui \
27         cabinet \
28         capi2032 \
29         cards \
30         cfgmgr32 \
31         clusapi \
32         comcat \
33         comctl32 \
34         comdlg32 \
35         compstui \
36         credui \
37         crtdll \
38         crypt32 \
39         cryptdll \
40         cryptnet \
41         ctl3d32 \
42         d3d8 \
43         d3d9 \
44         d3dim \
45         d3drm \
46         d3dx8 \
47         d3dxof \
48         dbghelp \
49         dciman32 \
50         ddraw \
51         ddrawex \
52         devenum \
53         dinput \
54         dinput8 \
55         dmband \
56         dmcompos \
57         dmime \
58         dmloader \
59         dmscript \
60         dmstyle \
61         dmsynth \
62         dmusic \
63         dmusic32 \
64         dnsapi \
65         dplay \
66         dplayx \
67         dpnet \
68         dpnhpast \
69         dsound \
70         dswave \
71         dxdiagn \
72         gdi32 \
73         gphoto2.ds \
74         hhctrl.ocx \
75         hid \
76         hlink \
77         iccvid \
78         icmp \
79         ifsmgr.vxd \
80         imaadp32.acm \
81         imagehlp \
82         imm32 \
83         infosoft \
84         inseng \
85         iphlpapi \
86         itss \
87         kernel32 \
88         localspl \
89         lz32 \
90         mapi32 \
91         mciavi32 \
92         mcicda \
93         mciseq \
94         mciwave \
95         midimap \
96         mlang \
97         mmdevldr.vxd \
98         monodebg.vxd \
99         mpr \
100         mprapi \
101         msacm32 \
102         msacm32.drv \
103         msadp32.acm \
104         mscms \
105         mscoree \
106         msdmo \
107         msftedit \
108         msg711.acm \
109         mshtml \
110         msi \
111         msimg32 \
112         msisys.ocx \
113         msnet32 \
114         msrle32 \
115         msvcrt \
116         msvcrt20 \
117         msvcrt40 \
118         msvcrtd \
119         msvfw32 \
120         msvidc32 \
121         mswsock \
122         msxml3 \
123         nddeapi \
124         netapi32 \
125         newdev \
126         ntdll \
127         ntdsapi \
128         objsel \
129         odbc32 \
130         odbccp32 \
131         ole32 \
132         oleacc \
133         oleaut32 \
134         olecli32 \
135         oledlg \
136         olepro32 \
137         olesvr32 \
138         powrprof \
139         psapi \
140         pstorec \
141         qcap \
142         quartz \
143         query \
144         rasapi32 \
145         resutils \
146         riched20 \
147         riched32 \
148         rpcrt4 \
149         rsabase \
150         rsaenh \
151         sane.ds \
152         secur32 \
153         security \
154         sensapi \
155         serialui \
156         setupapi \
157         sfc \
158         sfc_os \
159         shdoclc \
160         shdocvw \
161         shell32 \
162         shfolder \
163         shlwapi \
164         snmpapi \
165         spoolss \
166         stdole2.tlb \
167         stdole32.tlb \
168         sti \
169         svrapi \
170         tapi32 \
171         twain_32 \
172         unicows \
173         url \
174         urlmon \
175         user32 \
176         userenv \
177         usp10 \
178         uxtheme \
179         vdhcp.vxd \
180         vdmdbg \
181         version \
182         vmm.vxd \
183         vnbt.vxd \
184         vnetbios.vxd \
185         vtdapi.vxd \
186         vwin32.vxd \
187         w32skrnl \
188         winealsa.drv \
189         winearts.drv \
190         wineaudioio.drv \
191         winecoreaudio.drv \
192         winedos \
193         wineesd.drv \
194         winejack.drv \
195         winejoystick.drv \
196         winemp3.acm \
197         winenas.drv \
198         wineoss.drv \
199         wineps.drv \
200         wing32 \
201         wininet \
202         winmm \
203         winnls32 \
204         winspool.drv \
205         wintab32 \
206         wintrust \
207         wldap32 \
208         wnaspi32 \
209         wow32 \
210         ws2_32 \
211         wsock32 \
212         wtsapi32
213
214 IMPLIBSUBDIRS = \
215         dxerr8 \
216         dxerr9 \
217         dxguid \
218         strmiids \
219         uuid \
220         winecrt0
221
222 TESTSUBDIRS = \
223         advapi32/tests \
224         advpack/tests \
225         browseui/tests \
226         cabinet/tests \
227         comcat/tests \
228         comctl32/tests \
229         comdlg32/tests \
230         crypt32/tests \
231         d3d8/tests \
232         d3d9/tests \
233         ddraw/tests \
234         dinput/tests \
235         dnsapi/tests \
236         dsound/tests \
237         gdi32/tests \
238         hlink/tests \
239         infosoft/tests \
240         iphlpapi/tests \
241         itss/tests \
242         kernel32/tests \
243         localspl/tests \
244         lz32/tests \
245         mapi32/tests \
246         mlang/tests \
247         msacm32/tests \
248         mscms/tests \
249         mshtml/tests \
250         msi/tests \
251         msvcrt/tests \
252         msvcrtd/tests \
253         msxml3/tests \
254         netapi32/tests \
255         ntdll/tests \
256         odbccp32/tests \
257         ole32/tests \
258         oleaut32/tests \
259         psapi/tests \
260         quartz/tests \
261         riched20/tests \
262         rpcrt4/tests \
263         rsabase/tests \
264         rsaenh/tests \
265         secur32/tests \
266         serialui/tests \
267         setupapi/tests \
268         shdocvw/tests \
269         shell32/tests \
270         shlwapi/tests \
271         snmpapi/tests \
272         urlmon/tests \
273         user32/tests \
274         usp10/tests \
275         uxtheme/tests \
276         version/tests \
277         wininet/tests \
278         winmm/tests \
279         winspool.drv/tests \
280         wintrust/tests \
281         ws2_32/tests
282
283 SUBDIRS = \
284         $(BASEDIRS) \
285         $(IMPLIBSUBDIRS) \
286         $(TESTSUBDIRS) \
287         glu32 \
288         opengl32 \
289         wined3d \
290         winequartz.drv \
291         winex11.drv
292
293 BUILDSUBDIRS   = $(BASEDIRS) $(EXTRADIRS) $(TESTSUBDIRS)
294 INSTALLSUBDIRS = $(BASEDIRS) $(EXTRADIRS) $(IMPLIBSUBDIRS)
295 DOCSUBDIRS     = $(BASEDIRS) $(EXTRADIRS)
296
297 # 16-bit dlls
298
299 WIN16_FILES = \
300         avifile.dll16 \
301         comm.drv16 \
302         commdlg.dll16 \
303         compobj.dll16 \
304         ctl3d.dll16 \
305         ctl3dv2.dll16 \
306         ddeml.dll16 \
307         dispdib.dll16 \
308         display.drv16 \
309         gdi.exe16 \
310         imm.dll16 \
311         keyboard.drv16 \
312         krnl386.exe16 \
313         lzexpand.dll16 \
314         mmsystem.dll16 \
315         mouse.drv16 \
316         msacm.dll16 \
317         msvideo.dll16 \
318         ole2.dll16 \
319         ole2conv.dll16 \
320         ole2disp.dll16 \
321         ole2nls.dll16 \
322         ole2prox.dll16 \
323         ole2thk.dll16 \
324         olecli.dll16 \
325         olesvr.dll16 \
326         rasapi16.dll16 \
327         setupx.dll16 \
328         shell.dll16 \
329         sound.drv16 \
330         storage.dll16 \
331         stress.dll16 \
332         system.drv16 \
333         toolhelp.dll16 \
334         twain.dll16 \
335         typelib.dll16 \
336         user.exe16 \
337         ver.dll16 \
338         w32sys.dll16 \
339         win32s16.dll16 \
340         win87em.dll16 \
341         winaspi.dll16 \
342         windebug.dll16 \
343         wineps16.drv16 \
344         wing.dll16 \
345         winnls.dll16 \
346         winsock.dll16 \
347         wintab.dll16 \
348         wprocs.dll16
349
350 @MAKE_RULES@
351
352 # Main target
353
354 all: $(BUILDSUBDIRS) @WIN16_FILES@
355
356 # Placeholders for 16-bit libraries
357
358 avifile.dll16:
359         echo "avifil32.dll" >$@
360
361 commdlg.dll16:
362         echo "comdlg32.dll" >$@
363
364 ctl3d.dll16 ctl3dv2.dll16:
365         echo "ctl3d32.dll" >$@
366
367 dispdib.dll16 gdi.exe16 wing.dll16:
368         echo "gdi32.dll" >$@
369
370 imm.dll16:
371         echo "imm32.dll" >$@
372
373 comm.drv16 krnl386.exe16 stress.dll16 system.drv16 toolhelp.dll16 win87em.dll16 windebug.dll16:
374         echo "kernel32.dll" >$@
375
376 lzexpand.dll16:
377         echo "lz32.dll" >$@
378
379 msacm.dll16:
380         echo "msacm32.dll" >$@
381
382 msvideo.dll16:
383         echo "msvfw32.dll" >$@
384
385 compobj.dll16 ole2.dll16 ole2conv.dll16 ole2nls.dll16 ole2prox.dll16 ole2thk.dll16 storage.dll16:
386         echo "ole32.dll" >$@
387
388 ole2disp.dll16 typelib.dll16:
389         echo "oleaut32.dll" >$@
390
391 olecli.dll16:
392         echo "olecli32.dll" >$@
393
394 olesvr.dll16:
395         echo "olesvr32.dll" >$@
396
397 rasapi16.dll16:
398         echo "rasapi32.dll" >$@
399
400 setupx.dll16:
401         echo "setupapi.dll" >$@
402
403 shell.dll16:
404         echo "shell32.dll" >$@
405
406 twain.dll16:
407         echo "twain_32.dll" >$@
408
409 ddeml.dll16 display.drv16 keyboard.drv16 mouse.drv16 user.exe16:
410         echo "user32.dll" >$@
411
412 ver.dll16:
413         echo "version.dll" >$@
414
415 w32sys.dll16 win32s16.dll16:
416         echo "w32skrnl.dll" >$@
417
418 wprocs.dll16:
419         echo "winedos.dll" >$@
420
421 wineps16.drv16:
422         echo "wineps.drv" >$@
423
424 mmsystem.dll16 sound.drv16:
425         echo "winmm.dll" >$@
426
427 winnls.dll16:
428         echo "winnls32.dll" >$@
429
430 wintab.dll16:
431         echo "wintab32.dll" >$@
432
433 winaspi.dll16:
434         echo "wnaspi32.dll" >$@
435
436 winsock.dll16:
437         echo "ws2_32.dll" >$@
438
439 # Import libraries
440
441 STATIC_IMPLIBEXT = $(IMPLIBEXT:def=def.a)
442
443 IMPORT_SYMLINKS = \
444         libwinspool.$(IMPLIBEXT)
445
446 IMPORT_LIBS = \
447         $(IMPORT_SYMLINKS) \
448         dxerr8/libdxerr8.a \
449         dxerr9/libdxerr9.a \
450         dxguid/libdxguid.a \
451         strmiids/libstrmiids.a \
452         uuid/libuuid.a \
453         winecrt0/libwinecrt0.a \
454         activeds/libactiveds.$(IMPLIBEXT) \
455         advapi32/libadvapi32.$(IMPLIBEXT) \
456         advpack/libadvpack.$(IMPLIBEXT) \
457         atl/libatl.$(IMPLIBEXT) \
458         avicap32/libavicap32.$(IMPLIBEXT) \
459         avifil32/libavifil32.$(IMPLIBEXT) \
460         cabinet/libcabinet.$(IMPLIBEXT) \
461         capi2032/libcapi2032.$(IMPLIBEXT) \
462         cards/libcards.$(IMPLIBEXT) \
463         cfgmgr32/libcfgmgr32.$(IMPLIBEXT) \
464         clusapi/libclusapi.$(IMPLIBEXT) \
465         comctl32/libcomctl32.$(IMPLIBEXT) \
466         comdlg32/libcomdlg32.$(IMPLIBEXT) \
467         compstui/libcompstui.$(IMPLIBEXT) \
468         crtdll/libcrtdll.$(IMPLIBEXT) \
469         crypt32/libcrypt32.$(IMPLIBEXT) \
470         cryptdll/libcryptdll.$(IMPLIBEXT) \
471         ctl3d32/libctl3d32.$(IMPLIBEXT) \
472         d3d8/libd3d8.$(IMPLIBEXT) \
473         d3d9/libd3d9.$(IMPLIBEXT) \
474         d3dim/libd3dim.$(IMPLIBEXT) \
475         d3drm/libd3drm.$(IMPLIBEXT) \
476         d3dx8/libd3dx8.$(IMPLIBEXT) \
477         d3dxof/libd3dxof.$(IMPLIBEXT) \
478         dbghelp/libdbghelp.$(IMPLIBEXT) \
479         dciman32/libdciman32.$(IMPLIBEXT) \
480         ddraw/libddraw.$(IMPLIBEXT) \
481         dinput/libdinput.$(IMPLIBEXT) \
482         dinput/libdinput.$(STATIC_IMPLIBEXT) \
483         dinput8/libdinput8.$(IMPLIBEXT) \
484         dmusic32/libdmusic32.$(IMPLIBEXT) \
485         dnsapi/libdnsapi.$(IMPLIBEXT) \
486         dplay/libdplay.$(IMPLIBEXT) \
487         dplayx/libdplayx.$(IMPLIBEXT) \
488         dpnet/libdpnet.$(IMPLIBEXT) \
489         dsound/libdsound.$(IMPLIBEXT) \
490         gdi32/libgdi32.$(IMPLIBEXT) \
491         glu32/libglu32.$(IMPLIBEXT) \
492         hid/libhid.$(IMPLIBEXT) \
493         hlink/libhlink.$(IMPLIBEXT) \
494         icmp/libicmp.$(IMPLIBEXT) \
495         imagehlp/libimagehlp.$(IMPLIBEXT) \
496         imm32/libimm32.$(IMPLIBEXT) \
497         iphlpapi/libiphlpapi.$(IMPLIBEXT) \
498         kernel32/libkernel32.$(IMPLIBEXT) \
499         lz32/liblz32.$(IMPLIBEXT) \
500         mapi32/libmapi32.$(IMPLIBEXT) \
501         mlang/libmlang.$(IMPLIBEXT) \
502         mpr/libmpr.$(IMPLIBEXT) \
503         mprapi/libmprapi.$(IMPLIBEXT) \
504         msacm32/libmsacm32.$(IMPLIBEXT) \
505         mscms/libmscms.$(IMPLIBEXT) \
506         msdmo/libmsdmo.$(IMPLIBEXT) \
507         mshtml/libmshtml.$(IMPLIBEXT) \
508         msi/libmsi.$(IMPLIBEXT) \
509         msimg32/libmsimg32.$(IMPLIBEXT) \
510         msvcrt/libmsvcrt.$(IMPLIBEXT) \
511         msvcrt20/libmsvcrt20.$(IMPLIBEXT) \
512         msvcrt40/libmsvcrt40.$(IMPLIBEXT) \
513         msvcrtd/libmsvcrtd.$(IMPLIBEXT) \
514         msvfw32/libmsvfw32.$(IMPLIBEXT) \
515         mswsock/libmswsock.$(IMPLIBEXT) \
516         nddeapi/libnddeapi.$(IMPLIBEXT) \
517         netapi32/libnetapi32.$(IMPLIBEXT) \
518         newdev/libnewdev.$(IMPLIBEXT) \
519         ntdll/libntdll.$(IMPLIBEXT) \
520         ntdsapi/libntdsapi.$(IMPLIBEXT) \
521         odbc32/libodbc32.$(IMPLIBEXT) \
522         odbccp32/libodbccp32.$(IMPLIBEXT) \
523         ole32/libole32.$(IMPLIBEXT) \
524         oleacc/liboleacc.$(IMPLIBEXT) \
525         oleaut32/liboleaut32.$(IMPLIBEXT) \
526         olecli32/libolecli32.$(IMPLIBEXT) \
527         oledlg/liboledlg.$(IMPLIBEXT) \
528         olepro32/libolepro32.$(IMPLIBEXT) \
529         olesvr32/libolesvr32.$(IMPLIBEXT) \
530         opengl32/libopengl32.$(IMPLIBEXT) \
531         powrprof/libpowrprof.$(IMPLIBEXT) \
532         psapi/libpsapi.$(IMPLIBEXT) \
533         quartz/libquartz.$(IMPLIBEXT) \
534         rasapi32/librasapi32.$(IMPLIBEXT) \
535         resutils/libresutils.$(IMPLIBEXT) \
536         riched20/libriched20.$(IMPLIBEXT) \
537         rpcrt4/librpcrt4.$(IMPLIBEXT) \
538         rsaenh/librsaenh.$(IMPLIBEXT) \
539         secur32/libsecur32.$(IMPLIBEXT) \
540         sensapi/libsensapi.$(IMPLIBEXT) \
541         serialui/libserialui.$(IMPLIBEXT) \
542         setupapi/libsetupapi.$(IMPLIBEXT) \
543         sfc/libsfc.$(IMPLIBEXT) \
544         sfc_os/libsfc_os.$(IMPLIBEXT) \
545         shdocvw/libshdocvw.$(IMPLIBEXT) \
546         shell32/libshell32.$(IMPLIBEXT) \
547         shfolder/libshfolder.$(IMPLIBEXT) \
548         shlwapi/libshlwapi.$(IMPLIBEXT) \
549         snmpapi/libsnmpapi.$(IMPLIBEXT) \
550         sti/libsti.$(IMPLIBEXT) \
551         tapi32/libtapi32.$(IMPLIBEXT) \
552         unicows/libunicows.$(IMPLIBEXT) \
553         url/liburl.$(IMPLIBEXT) \
554         urlmon/liburlmon.$(IMPLIBEXT) \
555         user32/libuser32.$(IMPLIBEXT) \
556         usp10/libusp10.$(IMPLIBEXT) \
557         uxtheme/libuxtheme.$(IMPLIBEXT) \
558         vdmdbg/libvdmdbg.$(IMPLIBEXT) \
559         version/libversion.$(IMPLIBEXT) \
560         wined3d/libwined3d.$(IMPLIBEXT) \
561         winedos/libwinedos.$(IMPLIBEXT) \
562         wininet/libwininet.$(IMPLIBEXT) \
563         winmm/libwinmm.$(IMPLIBEXT) \
564         winnls32/libwinnls32.$(IMPLIBEXT) \
565         winspool.drv/libwinspool.$(IMPLIBEXT) \
566         wintab32/libwintab32.$(IMPLIBEXT) \
567         wintrust/libwintrust.$(IMPLIBEXT) \
568         wldap32/libwldap32.$(IMPLIBEXT) \
569         wnaspi32/libwnaspi32.$(IMPLIBEXT) \
570         wow32/libwow32.$(IMPLIBEXT) \
571         ws2_32/libws2_32.$(IMPLIBEXT) \
572         wsock32/libwsock32.$(IMPLIBEXT) \
573         wtsapi32/libwtsapi32.$(IMPLIBEXT)
574
575 implib: $(IMPORT_LIBS)
576
577 .PHONY: implib
578
579 activeds/libactiveds.$(IMPLIBEXT): activeds/activeds.spec $(WINEBUILD)
580         @cd activeds && $(MAKE) libactiveds.$(IMPLIBEXT)
581
582 advapi32/libadvapi32.$(IMPLIBEXT): advapi32/advapi32.spec $(WINEBUILD)
583         @cd advapi32 && $(MAKE) libadvapi32.$(IMPLIBEXT)
584
585 advpack/libadvpack.$(IMPLIBEXT): advpack/advpack.spec $(WINEBUILD)
586         @cd advpack && $(MAKE) libadvpack.$(IMPLIBEXT)
587
588 atl/libatl.$(IMPLIBEXT): atl/atl.spec $(WINEBUILD)
589         @cd atl && $(MAKE) libatl.$(IMPLIBEXT)
590
591 avicap32/libavicap32.$(IMPLIBEXT): avicap32/avicap32.spec $(WINEBUILD)
592         @cd avicap32 && $(MAKE) libavicap32.$(IMPLIBEXT)
593
594 avifil32/libavifil32.$(IMPLIBEXT): avifil32/avifil32.spec $(WINEBUILD)
595         @cd avifil32 && $(MAKE) libavifil32.$(IMPLIBEXT)
596
597 cabinet/libcabinet.$(IMPLIBEXT): cabinet/cabinet.spec $(WINEBUILD)
598         @cd cabinet && $(MAKE) libcabinet.$(IMPLIBEXT)
599
600 capi2032/libcapi2032.$(IMPLIBEXT): capi2032/capi2032.spec $(WINEBUILD)
601         @cd capi2032 && $(MAKE) libcapi2032.$(IMPLIBEXT)
602
603 cards/libcards.$(IMPLIBEXT): cards/cards.spec $(WINEBUILD)
604         @cd cards && $(MAKE) libcards.$(IMPLIBEXT)
605
606 cfgmgr32/libcfgmgr32.$(IMPLIBEXT): cfgmgr32/cfgmgr32.spec $(WINEBUILD)
607         @cd cfgmgr32 && $(MAKE) libcfgmgr32.$(IMPLIBEXT)
608
609 clusapi/libclusapi.$(IMPLIBEXT): clusapi/clusapi.spec $(WINEBUILD)
610         @cd clusapi && $(MAKE) libclusapi.$(IMPLIBEXT)
611
612 comctl32/libcomctl32.$(IMPLIBEXT): comctl32/comctl32.spec $(WINEBUILD)
613         @cd comctl32 && $(MAKE) libcomctl32.$(IMPLIBEXT)
614
615 comdlg32/libcomdlg32.$(IMPLIBEXT): comdlg32/comdlg32.spec $(WINEBUILD)
616         @cd comdlg32 && $(MAKE) libcomdlg32.$(IMPLIBEXT)
617
618 compstui/libcompstui.$(IMPLIBEXT): compstui/compstui.spec $(WINEBUILD)
619         @cd compstui && $(MAKE) libcompstui.$(IMPLIBEXT)
620
621 crtdll/libcrtdll.$(IMPLIBEXT): crtdll/crtdll.spec $(WINEBUILD)
622         @cd crtdll && $(MAKE) libcrtdll.$(IMPLIBEXT)
623
624 crypt32/libcrypt32.$(IMPLIBEXT): crypt32/crypt32.spec $(WINEBUILD)
625         @cd crypt32 && $(MAKE) libcrypt32.$(IMPLIBEXT)
626
627 cryptdll/libcryptdll.$(IMPLIBEXT): cryptdll/cryptdll.spec $(WINEBUILD)
628         @cd cryptdll && $(MAKE) libcryptdll.$(IMPLIBEXT)
629
630 ctl3d32/libctl3d32.$(IMPLIBEXT): ctl3d32/ctl3d32.spec $(WINEBUILD)
631         @cd ctl3d32 && $(MAKE) libctl3d32.$(IMPLIBEXT)
632
633 d3d8/libd3d8.$(IMPLIBEXT): d3d8/d3d8.spec $(WINEBUILD)
634         @cd d3d8 && $(MAKE) libd3d8.$(IMPLIBEXT)
635
636 d3d9/libd3d9.$(IMPLIBEXT): d3d9/d3d9.spec $(WINEBUILD)
637         @cd d3d9 && $(MAKE) libd3d9.$(IMPLIBEXT)
638
639 d3dim/libd3dim.$(IMPLIBEXT): d3dim/d3dim.spec $(WINEBUILD)
640         @cd d3dim && $(MAKE) libd3dim.$(IMPLIBEXT)
641
642 d3drm/libd3drm.$(IMPLIBEXT): d3drm/d3drm.spec $(WINEBUILD)
643         @cd d3drm && $(MAKE) libd3drm.$(IMPLIBEXT)
644
645 d3dx8/libd3dx8.$(IMPLIBEXT): d3dx8/d3dx8.spec $(WINEBUILD)
646         @cd d3dx8 && $(MAKE) libd3dx8.$(IMPLIBEXT)
647
648 d3dxof/libd3dxof.$(IMPLIBEXT): d3dxof/d3dxof.spec $(WINEBUILD)
649         @cd d3dxof && $(MAKE) libd3dxof.$(IMPLIBEXT)
650
651 dbghelp/libdbghelp.$(IMPLIBEXT): dbghelp/dbghelp.spec $(WINEBUILD)
652         @cd dbghelp && $(MAKE) libdbghelp.$(IMPLIBEXT)
653
654 dciman32/libdciman32.$(IMPLIBEXT): dciman32/dciman32.spec $(WINEBUILD)
655         @cd dciman32 && $(MAKE) libdciman32.$(IMPLIBEXT)
656
657 ddraw/libddraw.$(IMPLIBEXT): ddraw/ddraw.spec $(WINEBUILD)
658         @cd ddraw && $(MAKE) libddraw.$(IMPLIBEXT)
659
660 dinput/libdinput.$(IMPLIBEXT): dinput/dinput.spec $(WINEBUILD)
661         @cd dinput && $(MAKE) libdinput.$(IMPLIBEXT)
662
663 dinput/libdinput.$(STATIC_IMPLIBEXT): dummy
664         @cd dinput && $(MAKE) libdinput.$(STATIC_IMPLIBEXT)
665
666 dinput8/libdinput8.$(IMPLIBEXT): dinput8/dinput8.spec $(WINEBUILD)
667         @cd dinput8 && $(MAKE) libdinput8.$(IMPLIBEXT)
668
669 dmusic32/libdmusic32.$(IMPLIBEXT): dmusic32/dmusic32.spec $(WINEBUILD)
670         @cd dmusic32 && $(MAKE) libdmusic32.$(IMPLIBEXT)
671
672 dnsapi/libdnsapi.$(IMPLIBEXT): dnsapi/dnsapi.spec $(WINEBUILD)
673         @cd dnsapi && $(MAKE) libdnsapi.$(IMPLIBEXT)
674
675 dplay/libdplay.$(IMPLIBEXT): dplay/dplay.spec $(WINEBUILD)
676         @cd dplay && $(MAKE) libdplay.$(IMPLIBEXT)
677
678 dplayx/libdplayx.$(IMPLIBEXT): dplayx/dplayx.spec $(WINEBUILD)
679         @cd dplayx && $(MAKE) libdplayx.$(IMPLIBEXT)
680
681 dpnet/libdpnet.$(IMPLIBEXT): dpnet/dpnet.spec $(WINEBUILD)
682         @cd dpnet && $(MAKE) libdpnet.$(IMPLIBEXT)
683
684 dsound/libdsound.$(IMPLIBEXT): dsound/dsound.spec $(WINEBUILD)
685         @cd dsound && $(MAKE) libdsound.$(IMPLIBEXT)
686
687 gdi32/libgdi32.$(IMPLIBEXT): gdi32/gdi32.spec $(WINEBUILD)
688         @cd gdi32 && $(MAKE) libgdi32.$(IMPLIBEXT)
689
690 glu32/libglu32.$(IMPLIBEXT): glu32/glu32.spec $(WINEBUILD)
691         @cd glu32 && $(MAKE) libglu32.$(IMPLIBEXT)
692
693 hid/libhid.$(IMPLIBEXT): hid/hid.spec $(WINEBUILD)
694         @cd hid && $(MAKE) libhid.$(IMPLIBEXT)
695
696 hlink/libhlink.$(IMPLIBEXT): hlink/hlink.spec $(WINEBUILD)
697         @cd hlink && $(MAKE) libhlink.$(IMPLIBEXT)
698
699 icmp/libicmp.$(IMPLIBEXT): icmp/icmp.spec $(WINEBUILD)
700         @cd icmp && $(MAKE) libicmp.$(IMPLIBEXT)
701
702 imagehlp/libimagehlp.$(IMPLIBEXT): imagehlp/imagehlp.spec $(WINEBUILD)
703         @cd imagehlp && $(MAKE) libimagehlp.$(IMPLIBEXT)
704
705 imm32/libimm32.$(IMPLIBEXT): imm32/imm32.spec $(WINEBUILD)
706         @cd imm32 && $(MAKE) libimm32.$(IMPLIBEXT)
707
708 iphlpapi/libiphlpapi.$(IMPLIBEXT): iphlpapi/iphlpapi.spec $(WINEBUILD)
709         @cd iphlpapi && $(MAKE) libiphlpapi.$(IMPLIBEXT)
710
711 kernel32/libkernel32.$(IMPLIBEXT): kernel32/kernel32.spec $(WINEBUILD)
712         @cd kernel32 && $(MAKE) libkernel32.$(IMPLIBEXT)
713
714 lz32/liblz32.$(IMPLIBEXT): lz32/lz32.spec $(WINEBUILD)
715         @cd lz32 && $(MAKE) liblz32.$(IMPLIBEXT)
716
717 mapi32/libmapi32.$(IMPLIBEXT): mapi32/mapi32.spec $(WINEBUILD)
718         @cd mapi32 && $(MAKE) libmapi32.$(IMPLIBEXT)
719
720 mlang/libmlang.$(IMPLIBEXT): mlang/mlang.spec $(WINEBUILD)
721         @cd mlang && $(MAKE) libmlang.$(IMPLIBEXT)
722
723 mpr/libmpr.$(IMPLIBEXT): mpr/mpr.spec $(WINEBUILD)
724         @cd mpr && $(MAKE) libmpr.$(IMPLIBEXT)
725
726 mprapi/libmprapi.$(IMPLIBEXT): mprapi/mprapi.spec $(WINEBUILD)
727         @cd mprapi && $(MAKE) libmprapi.$(IMPLIBEXT)
728
729 msacm32/libmsacm32.$(IMPLIBEXT): msacm32/msacm32.spec $(WINEBUILD)
730         @cd msacm32 && $(MAKE) libmsacm32.$(IMPLIBEXT)
731
732 mscms/libmscms.$(IMPLIBEXT): mscms/mscms.spec $(WINEBUILD)
733         @cd mscms && $(MAKE) libmscms.$(IMPLIBEXT)
734
735 msdmo/libmsdmo.$(IMPLIBEXT): msdmo/msdmo.spec $(WINEBUILD)
736         @cd msdmo && $(MAKE) libmsdmo.$(IMPLIBEXT)
737
738 mshtml/libmshtml.$(IMPLIBEXT): mshtml/mshtml.spec $(WINEBUILD)
739         @cd mshtml && $(MAKE) libmshtml.$(IMPLIBEXT)
740
741 msi/libmsi.$(IMPLIBEXT): msi/msi.spec $(WINEBUILD)
742         @cd msi && $(MAKE) libmsi.$(IMPLIBEXT)
743
744 msimg32/libmsimg32.$(IMPLIBEXT): msimg32/msimg32.spec $(WINEBUILD)
745         @cd msimg32 && $(MAKE) libmsimg32.$(IMPLIBEXT)
746
747 msvcrt/libmsvcrt.$(IMPLIBEXT): msvcrt/msvcrt.spec $(WINEBUILD)
748         @cd msvcrt && $(MAKE) libmsvcrt.$(IMPLIBEXT)
749
750 msvcrt20/libmsvcrt20.$(IMPLIBEXT): msvcrt20/msvcrt20.spec $(WINEBUILD)
751         @cd msvcrt20 && $(MAKE) libmsvcrt20.$(IMPLIBEXT)
752
753 msvcrt40/libmsvcrt40.$(IMPLIBEXT): msvcrt40/msvcrt40.spec $(WINEBUILD)
754         @cd msvcrt40 && $(MAKE) libmsvcrt40.$(IMPLIBEXT)
755
756 msvcrtd/libmsvcrtd.$(IMPLIBEXT): msvcrtd/msvcrtd.spec $(WINEBUILD)
757         @cd msvcrtd && $(MAKE) libmsvcrtd.$(IMPLIBEXT)
758
759 msvfw32/libmsvfw32.$(IMPLIBEXT): msvfw32/msvfw32.spec $(WINEBUILD)
760         @cd msvfw32 && $(MAKE) libmsvfw32.$(IMPLIBEXT)
761
762 mswsock/libmswsock.$(IMPLIBEXT): mswsock/mswsock.spec $(WINEBUILD)
763         @cd mswsock && $(MAKE) libmswsock.$(IMPLIBEXT)
764
765 nddeapi/libnddeapi.$(IMPLIBEXT): nddeapi/nddeapi.spec $(WINEBUILD)
766         @cd nddeapi && $(MAKE) libnddeapi.$(IMPLIBEXT)
767
768 netapi32/libnetapi32.$(IMPLIBEXT): netapi32/netapi32.spec $(WINEBUILD)
769         @cd netapi32 && $(MAKE) libnetapi32.$(IMPLIBEXT)
770
771 newdev/libnewdev.$(IMPLIBEXT): newdev/newdev.spec $(WINEBUILD)
772         @cd newdev && $(MAKE) libnewdev.$(IMPLIBEXT)
773
774 ntdll/libntdll.$(IMPLIBEXT): ntdll/ntdll.spec $(WINEBUILD)
775         @cd ntdll && $(MAKE) libntdll.$(IMPLIBEXT)
776
777 ntdsapi/libntdsapi.$(IMPLIBEXT): ntdsapi/ntdsapi.spec $(WINEBUILD)
778         @cd ntdsapi && $(MAKE) libntdsapi.$(IMPLIBEXT)
779
780 odbc32/libodbc32.$(IMPLIBEXT): odbc32/odbc32.spec $(WINEBUILD)
781         @cd odbc32 && $(MAKE) libodbc32.$(IMPLIBEXT)
782
783 odbccp32/libodbccp32.$(IMPLIBEXT): odbccp32/odbccp32.spec $(WINEBUILD)
784         @cd odbccp32 && $(MAKE) libodbccp32.$(IMPLIBEXT)
785
786 ole32/libole32.$(IMPLIBEXT): ole32/ole32.spec $(WINEBUILD)
787         @cd ole32 && $(MAKE) libole32.$(IMPLIBEXT)
788
789 oleacc/liboleacc.$(IMPLIBEXT): oleacc/oleacc.spec $(WINEBUILD)
790         @cd oleacc && $(MAKE) liboleacc.$(IMPLIBEXT)
791
792 oleaut32/liboleaut32.$(IMPLIBEXT): oleaut32/oleaut32.spec $(WINEBUILD)
793         @cd oleaut32 && $(MAKE) liboleaut32.$(IMPLIBEXT)
794
795 olecli32/libolecli32.$(IMPLIBEXT): olecli32/olecli32.spec $(WINEBUILD)
796         @cd olecli32 && $(MAKE) libolecli32.$(IMPLIBEXT)
797
798 oledlg/liboledlg.$(IMPLIBEXT): oledlg/oledlg.spec $(WINEBUILD)
799         @cd oledlg && $(MAKE) liboledlg.$(IMPLIBEXT)
800
801 olepro32/libolepro32.$(IMPLIBEXT): olepro32/olepro32.spec $(WINEBUILD)
802         @cd olepro32 && $(MAKE) libolepro32.$(IMPLIBEXT)
803
804 olesvr32/libolesvr32.$(IMPLIBEXT): olesvr32/olesvr32.spec $(WINEBUILD)
805         @cd olesvr32 && $(MAKE) libolesvr32.$(IMPLIBEXT)
806
807 opengl32/libopengl32.$(IMPLIBEXT): opengl32/opengl32.spec $(WINEBUILD)
808         @cd opengl32 && $(MAKE) libopengl32.$(IMPLIBEXT)
809
810 powrprof/libpowrprof.$(IMPLIBEXT): powrprof/powrprof.spec $(WINEBUILD)
811         @cd powrprof && $(MAKE) libpowrprof.$(IMPLIBEXT)
812
813 psapi/libpsapi.$(IMPLIBEXT): psapi/psapi.spec $(WINEBUILD)
814         @cd psapi && $(MAKE) libpsapi.$(IMPLIBEXT)
815
816 quartz/libquartz.$(IMPLIBEXT): quartz/quartz.spec $(WINEBUILD)
817         @cd quartz && $(MAKE) libquartz.$(IMPLIBEXT)
818
819 rasapi32/librasapi32.$(IMPLIBEXT): rasapi32/rasapi32.spec $(WINEBUILD)
820         @cd rasapi32 && $(MAKE) librasapi32.$(IMPLIBEXT)
821
822 resutils/libresutils.$(IMPLIBEXT): resutils/resutils.spec $(WINEBUILD)
823         @cd resutils && $(MAKE) libresutils.$(IMPLIBEXT)
824
825 riched20/libriched20.$(IMPLIBEXT): riched20/riched20.spec $(WINEBUILD)
826         @cd riched20 && $(MAKE) libriched20.$(IMPLIBEXT)
827
828 rpcrt4/librpcrt4.$(IMPLIBEXT): rpcrt4/rpcrt4.spec $(WINEBUILD)
829         @cd rpcrt4 && $(MAKE) librpcrt4.$(IMPLIBEXT)
830
831 rsaenh/librsaenh.$(IMPLIBEXT): rsaenh/rsaenh.spec $(WINEBUILD)
832         @cd rsaenh && $(MAKE) librsaenh.$(IMPLIBEXT)
833
834 secur32/libsecur32.$(IMPLIBEXT): secur32/secur32.spec $(WINEBUILD)
835         @cd secur32 && $(MAKE) libsecur32.$(IMPLIBEXT)
836
837 sensapi/libsensapi.$(IMPLIBEXT): sensapi/sensapi.spec $(WINEBUILD)
838         @cd sensapi && $(MAKE) libsensapi.$(IMPLIBEXT)
839
840 serialui/libserialui.$(IMPLIBEXT): serialui/serialui.spec $(WINEBUILD)
841         @cd serialui && $(MAKE) libserialui.$(IMPLIBEXT)
842
843 setupapi/libsetupapi.$(IMPLIBEXT): setupapi/setupapi.spec $(WINEBUILD)
844         @cd setupapi && $(MAKE) libsetupapi.$(IMPLIBEXT)
845
846 sfc/libsfc.$(IMPLIBEXT): sfc/sfc.spec $(WINEBUILD)
847         @cd sfc && $(MAKE) libsfc.$(IMPLIBEXT)
848
849 sfc_os/libsfc_os.$(IMPLIBEXT): sfc_os/sfc_os.spec $(WINEBUILD)
850         @cd sfc_os && $(MAKE) libsfc_os.$(IMPLIBEXT)
851
852 shdocvw/libshdocvw.$(IMPLIBEXT): shdocvw/shdocvw.spec $(WINEBUILD)
853         @cd shdocvw && $(MAKE) libshdocvw.$(IMPLIBEXT)
854
855 shell32/libshell32.$(IMPLIBEXT): shell32/shell32.spec $(WINEBUILD)
856         @cd shell32 && $(MAKE) libshell32.$(IMPLIBEXT)
857
858 shfolder/libshfolder.$(IMPLIBEXT): shfolder/shfolder.spec $(WINEBUILD)
859         @cd shfolder && $(MAKE) libshfolder.$(IMPLIBEXT)
860
861 shlwapi/libshlwapi.$(IMPLIBEXT): shlwapi/shlwapi.spec $(WINEBUILD)
862         @cd shlwapi && $(MAKE) libshlwapi.$(IMPLIBEXT)
863
864 snmpapi/libsnmpapi.$(IMPLIBEXT): snmpapi/snmpapi.spec $(WINEBUILD)
865         @cd snmpapi && $(MAKE) libsnmpapi.$(IMPLIBEXT)
866
867 sti/libsti.$(IMPLIBEXT): sti/sti.spec $(WINEBUILD)
868         @cd sti && $(MAKE) libsti.$(IMPLIBEXT)
869
870 tapi32/libtapi32.$(IMPLIBEXT): tapi32/tapi32.spec $(WINEBUILD)
871         @cd tapi32 && $(MAKE) libtapi32.$(IMPLIBEXT)
872
873 unicows/libunicows.$(IMPLIBEXT): unicows/unicows.spec $(WINEBUILD)
874         @cd unicows && $(MAKE) libunicows.$(IMPLIBEXT)
875
876 url/liburl.$(IMPLIBEXT): url/url.spec $(WINEBUILD)
877         @cd url && $(MAKE) liburl.$(IMPLIBEXT)
878
879 urlmon/liburlmon.$(IMPLIBEXT): urlmon/urlmon.spec $(WINEBUILD)
880         @cd urlmon && $(MAKE) liburlmon.$(IMPLIBEXT)
881
882 user32/libuser32.$(IMPLIBEXT): user32/user32.spec $(WINEBUILD)
883         @cd user32 && $(MAKE) libuser32.$(IMPLIBEXT)
884
885 usp10/libusp10.$(IMPLIBEXT): usp10/usp10.spec $(WINEBUILD)
886         @cd usp10 && $(MAKE) libusp10.$(IMPLIBEXT)
887
888 uxtheme/libuxtheme.$(IMPLIBEXT): uxtheme/uxtheme.spec $(WINEBUILD)
889         @cd uxtheme && $(MAKE) libuxtheme.$(IMPLIBEXT)
890
891 vdmdbg/libvdmdbg.$(IMPLIBEXT): vdmdbg/vdmdbg.spec $(WINEBUILD)
892         @cd vdmdbg && $(MAKE) libvdmdbg.$(IMPLIBEXT)
893
894 version/libversion.$(IMPLIBEXT): version/version.spec $(WINEBUILD)
895         @cd version && $(MAKE) libversion.$(IMPLIBEXT)
896
897 wined3d/libwined3d.$(IMPLIBEXT): wined3d/wined3d.spec $(WINEBUILD)
898         @cd wined3d && $(MAKE) libwined3d.$(IMPLIBEXT)
899
900 winedos/libwinedos.$(IMPLIBEXT): winedos/winedos.spec $(WINEBUILD)
901         @cd winedos && $(MAKE) libwinedos.$(IMPLIBEXT)
902
903 wininet/libwininet.$(IMPLIBEXT): wininet/wininet.spec $(WINEBUILD)
904         @cd wininet && $(MAKE) libwininet.$(IMPLIBEXT)
905
906 winmm/libwinmm.$(IMPLIBEXT): winmm/winmm.spec $(WINEBUILD)
907         @cd winmm && $(MAKE) libwinmm.$(IMPLIBEXT)
908
909 winnls32/libwinnls32.$(IMPLIBEXT): winnls32/winnls32.spec $(WINEBUILD)
910         @cd winnls32 && $(MAKE) libwinnls32.$(IMPLIBEXT)
911
912 winspool.drv/libwinspool.$(IMPLIBEXT): winspool.drv/winspool.drv.spec $(WINEBUILD)
913         @cd winspool.drv && $(MAKE) libwinspool.$(IMPLIBEXT)
914
915 wintab32/libwintab32.$(IMPLIBEXT): wintab32/wintab32.spec $(WINEBUILD)
916         @cd wintab32 && $(MAKE) libwintab32.$(IMPLIBEXT)
917
918 wintrust/libwintrust.$(IMPLIBEXT): wintrust/wintrust.spec $(WINEBUILD)
919         @cd wintrust && $(MAKE) libwintrust.$(IMPLIBEXT)
920
921 wldap32/libwldap32.$(IMPLIBEXT): wldap32/wldap32.spec $(WINEBUILD)
922         @cd wldap32 && $(MAKE) libwldap32.$(IMPLIBEXT)
923
924 wnaspi32/libwnaspi32.$(IMPLIBEXT): wnaspi32/wnaspi32.spec $(WINEBUILD)
925         @cd wnaspi32 && $(MAKE) libwnaspi32.$(IMPLIBEXT)
926
927 wow32/libwow32.$(IMPLIBEXT): wow32/wow32.spec $(WINEBUILD)
928         @cd wow32 && $(MAKE) libwow32.$(IMPLIBEXT)
929
930 ws2_32/libws2_32.$(IMPLIBEXT): ws2_32/ws2_32.spec $(WINEBUILD)
931         @cd ws2_32 && $(MAKE) libws2_32.$(IMPLIBEXT)
932
933 wsock32/libwsock32.$(IMPLIBEXT): wsock32/wsock32.spec $(WINEBUILD)
934         @cd wsock32 && $(MAKE) libwsock32.$(IMPLIBEXT)
935
936 wtsapi32/libwtsapi32.$(IMPLIBEXT): wtsapi32/wtsapi32.spec $(WINEBUILD)
937         @cd wtsapi32 && $(MAKE) libwtsapi32.$(IMPLIBEXT)
938
939 libwinspool.$(IMPLIBEXT): winspool.drv/libwinspool.$(IMPLIBEXT)
940         $(RM) $@ && $(LN_S) winspool.drv/libwinspool.$(IMPLIBEXT) $@
941
942 $(BUILDSUBDIRS): $(IMPORT_LIBS)
943 $(INSTALLSUBDIRS:%=%/__install__) $(INSTALLSUBDIRS:%=%/__install-lib__): $(IMPORT_LIBS)
944
945 # Map library name to the corresponding directory
946
947 dxerr8/libdxerr8.a: dxerr8
948 dxerr9/libdxerr9.a: dxerr9
949 dxguid/libdxguid.a: dxguid
950 strmiids/libstrmiids.a: strmiids
951 uuid/libuuid.a: uuid
952 winecrt0/libwinecrt0.a: winecrt0
953
954 # Misc rules
955
956 install-lib:: $(INSTALLSUBDIRS:%=%/__install-lib__)
957
958 install-dev:: $(INSTALLSUBDIRS:%=%/__install-dev__)
959
960 uninstall::
961         -rmdir $(DESTDIR)$(dlldir)
962
963 clean::
964         $(RM) $(IMPORT_SYMLINKS) $(WIN16_FILES)