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