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