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