Match class name used by Windows.
[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 IMPORTS   = shlwapi comctl32 user32 gdi32 advapi32 kernel32
8 DELAYIMPORTS = ole32
9 EXTRALIBS = -luuid $(LIBUNICODE)
10
11 C_SRCS = \
12         authors.c \
13         autocomplete.c \
14         brsfolder.c \
15         changenotify.c \
16         classes.c \
17         clipboard.c \
18         control.c \
19         cpanelfolder.c \
20         dataobject.c \
21         debughlp.c \
22         dialogs.c \
23         dragdrophelper.c \
24         enumidlist.c \
25         folders.c \
26         iconcache.c \
27         memorystream.c \
28         pidl.c \
29         regsvr.c \
30         shell32_main.c \
31         shelllink.c \
32         shellole.c \
33         shellord.c \
34         shellpath.c \
35         shellreg.c \
36         shellstring.c \
37         shfldr_desktop.c \
38         shfldr_fs.c \
39         shfldr_mycomp.c \
40         shlexec.c \
41         shlfileop.c \
42         shlfolder.c \
43         shlfsbind.c \
44         shlmenu.c \
45         shlview.c \
46         shpolicy.c \
47         shv_bg_cmenu.c \
48         shv_item_cmenu.c \
49         systray.c
50
51 RC_SRCS = shres.rc version.rc
52 RC_BINSRC = shres.rc
53 RC_BINARIES = \
54         desktop.ico \
55         document.ico \
56         drive.ico \
57         folder.ico \
58         folder_open.ico \
59         mycomputer.ico
60
61 C_SRCS16  = shell.c
62 RC_SRCS16 = version16.rc
63 SPEC_SRCS16 = shell.spec
64
65 SUBDIRS = tests
66
67 @MAKE_DLL_RULES@
68
69 # Special rules for 16-bit resource files
70
71 version16.res: version16.rc
72         $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/version16.rc
73
74 shell.spec.c: shell.spec version16.res
75         $(WINEBUILD) $(DEFS) $(DLLFLAGS) -o $@ --main-module $(MODULE) --res version16.res --dll $(SRCDIR)/shell.spec
76
77 authors.c: $(TOPSRCDIR)/AUTHORS
78         (LC_ALL=C; export LC_ALL; echo 'const char * const SHELL_Authors[] = {' && \
79          sed -e '1,2d' -e 's/\(.*\)/  \"\1\",/' $(TOPSRCDIR)/AUTHORS && \
80          echo '  0 };') >$@ || ($(RM) $@ && false)
81
82 depend: authors.c
83
84 clean::
85         $(RM) authors.c
86
87 ### Dependencies: