kernel32/profile: Move GetPrivateProfileSectionA to its own test.
[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
11
12 C_SRCS = \
13         autocomplete.c \
14         brsfolder.c \
15         changenotify.c \
16         classes.c \
17         clipboard.c \
18         control.c \
19         cpanelfolder.c \
20         dde.c \
21         dataobject.c \
22         debughlp.c \
23         dialogs.c \
24         dragdrophelper.c \
25         enumidlist.c \
26         folders.c \
27         iconcache.c \
28         pidl.c \
29         recyclebin.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         trash.c \
53         xdg.c
54
55 RC_SRCS = shres.rc
56 RC_BINSRC = shres.rc
57 RC_BINARIES = \
58         cdrom.ico \
59         desktop.ico \
60         delete.ico \
61         document.ico \
62         drive.ico \
63         floppy.ico \
64         folder.ico \
65         folder_open.ico \
66         mycomputer.ico \
67         mydocs.ico \
68         netdrive.ico \
69         netdrive2.ico \
70         printer.ico \
71         ramdisk.ico \
72         searching.avi \
73         shortcut.ico \
74         trash_file.ico
75
76 C_SRCS16  = shell.c
77 RC_SRCS16 = version16.rc
78 SPEC_SRCS16 = shell.spec
79
80 EXTRA_OBJS = authors.o
81
82 @MAKE_DLL_RULES@
83
84 # Special rules for 16-bit resource files
85
86 version16.res: version16.rc
87         $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/version16.rc
88
89 shell.spec.o: shell.spec version16.res
90         $(WINEBUILD) $(WINEBUILDFLAGS) --dll -o $@ --main-module $(MODULE) --res version16.res --export $(SRCDIR)/shell.spec
91
92 authors.c: $(TOPSRCDIR)/AUTHORS
93         (LC_ALL=C; export LC_ALL; echo 'const char * const SHELL_Authors[] = {' && \
94          sed -e '1,2d' -e 's/\(.*\)/  \"\1\",/' $(TOPSRCDIR)/AUTHORS && \
95          echo '  0 };') >$@ || ($(RM) $@ && false)
96
97 clean::
98         $(RM) authors.c
99
100 @DEPENDENCIES@  # everything below this line is overwritten by make depend