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