shell32: Add missing multiply by sizeof(WCHAR)l
[wine] / dlls / shell32 / Makefile.in
1 EXTRADEFS = -D_SHELL32_ -DCOM_NO_WINDOWS_H
2 TOPSRCDIR = @top_srcdir@
3 TOPOBJDIR = ../..
4 SRCDIR    = @srcdir@
5 VPATH     = @srcdir@
6 MODULE    = shell32.dll
7 IMPORTLIB = libshell32.$(IMPLIBEXT)
8 IMPORTS   = shlwapi comctl32 user32 gdi32 advapi32 kernel32 ntdll
9 DELAYIMPORTS = ole32 oleaut32
10 EXTRALIBS = -luuid $(LIBUNICODE)
11
12 C_SRCS = \
13         authors.c \
14         autocomplete.c \
15         brsfolder.c \
16         changenotify.c \
17         classes.c \
18         clipboard.c \
19         control.c \
20         cpanelfolder.c \
21         dde.c \
22         dataobject.c \
23         debughlp.c \
24         dialogs.c \
25         dragdrophelper.c \
26         enumidlist.c \
27         folders.c \
28         iconcache.c \
29         pidl.c \
30         regsvr.c \
31         shell32_main.c \
32         shelllink.c \
33         shellole.c \
34         shellord.c \
35         shellpath.c \
36         shellreg.c \
37         shellstring.c \
38         shfldr_desktop.c \
39         shfldr_fs.c \
40         shfldr_mycomp.c \
41         shfldr_unixfs.c \
42         shlexec.c \
43         shlfileop.c \
44         shlfolder.c \
45         shlfsbind.c \
46         shlmenu.c \
47         shlview.c \
48         shpolicy.c \
49         shv_bg_cmenu.c \
50         shv_item_cmenu.c \
51         systray.c
52
53 RC_SRCS = shres.rc
54 RC_BINSRC = shres.rc
55 RC_BINARIES = \
56         cdrom.ico \
57         desktop.ico \
58         document.ico \
59         drive.ico \
60         floppy.ico \
61         folder.ico \
62         folder_open.ico \
63         mycomputer.ico \
64         mydocs.ico \
65         netdrive.ico \
66         netdrive2.ico \
67         printer.ico \
68         ramdisk.ico \
69         searching.avi \
70         shortcut.ico
71
72 C_SRCS16  = shell.c
73 RC_SRCS16 = version16.rc
74 SPEC_SRCS16 = shell.spec
75
76 SUBDIRS = tests
77
78 @MAKE_DLL_RULES@
79
80 # Special rules for 16-bit resource files
81
82 version16.res: version16.rc
83         $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/version16.rc
84
85 shell.spec.o: shell.spec version16.res
86         $(WINEBUILD) $(WINEBUILDFLAGS) --dll -o $@ --main-module $(MODULE) --res version16.res --export $(SRCDIR)/shell.spec
87
88 authors.c: $(TOPSRCDIR)/AUTHORS
89         (LC_ALL=C; export LC_ALL; echo 'const char * const SHELL_Authors[] = {' && \
90          sed -e '1,2d' -e 's/\(.*\)/  \"\1\",/' $(TOPSRCDIR)/AUTHORS && \
91          echo '  0 };') >$@ || ($(RM) $@ && false)
92
93 depend: authors.c
94
95 clean::
96         $(RM) authors.c
97
98 ### Dependencies: