configure: Remove -O2 disable hack for MacOS now that gcc is fixed.
[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         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         recyclebin.c \
31         regsvr.c \
32         shell32_main.c \
33         shelllink.c \
34         shellole.c \
35         shellord.c \
36         shellpath.c \
37         shellreg.c \
38         shellstring.c \
39         shfldr_desktop.c \
40         shfldr_fs.c \
41         shfldr_mycomp.c \
42         shfldr_unixfs.c \
43         shlexec.c \
44         shlfileop.c \
45         shlfolder.c \
46         shlfsbind.c \
47         shlmenu.c \
48         shlview.c \
49         shpolicy.c \
50         shv_bg_cmenu.c \
51         shv_item_cmenu.c \
52         systray.c \
53         trash.c \
54         xdg.c
55
56 RC_SRCS = shres.rc
57 RC_BINSRC = shres.rc
58 RC_BINARIES = \
59         cdrom.ico \
60         desktop.ico \
61         delete.ico \
62         document.ico \
63         drive.ico \
64         floppy.ico \
65         folder.ico \
66         folder_open.ico \
67         mycomputer.ico \
68         mydocs.ico \
69         netdrive.ico \
70         netdrive2.ico \
71         printer.ico \
72         ramdisk.ico \
73         searching.avi \
74         shortcut.ico \
75         trash_file.ico
76
77 C_SRCS16  = shell.c
78 RC_SRCS16 = version16.rc
79 SPEC_SRCS16 = shell.spec
80
81 SUBDIRS = tests
82
83 @MAKE_DLL_RULES@
84
85 # Special rules for 16-bit resource files
86
87 version16.res: version16.rc
88         $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/version16.rc
89
90 shell.spec.o: shell.spec version16.res
91         $(WINEBUILD) $(WINEBUILDFLAGS) --dll -o $@ --main-module $(MODULE) --res version16.res --export $(SRCDIR)/shell.spec
92
93 authors.c: $(TOPSRCDIR)/AUTHORS
94         (LC_ALL=C; export LC_ALL; echo 'const char * const SHELL_Authors[] = {' && \
95          sed -e '1,2d' -e 's/\(.*\)/  \"\1\",/' $(TOPSRCDIR)/AUTHORS && \
96          echo '  0 };') >$@ || ($(RM) $@ && false)
97
98 depend: authors.c
99
100 clean::
101         $(RM) authors.c
102
103 ### Dependencies: