urlmon: Use flag to store protocol lock state.
[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
57 C_SRCS16  = shell.c
58 RC_SRCS16 = version16.rc
59 SPEC_SRCS16 = shell.spec
60
61 EXTRA_OBJS = authors.o
62
63 @MAKE_DLL_RULES@
64
65 # Special rules for 16-bit resource files
66
67 version16.res: version16.rc
68         $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/version16.rc
69
70 shell.spec.o: shell.spec version16.res
71         $(WINEBUILD) $(WINEBUILDFLAGS) --dll -o $@ --main-module $(MODULE) --res version16.res --export $(SRCDIR)/shell.spec
72
73 authors.c: $(TOPSRCDIR)/AUTHORS
74         (LC_ALL=C; export LC_ALL; echo 'const char * const SHELL_Authors[] = {' && \
75          sed -e '1,2d' -e 's/\(.*\)/  \"\1\",/' $(TOPSRCDIR)/AUTHORS && \
76          echo '  0 };') >$@ || ($(RM) $@ && false)
77
78 clean::
79         $(RM) authors.c
80
81 @DEPENDENCIES@  # everything below this line is overwritten by make depend