ReadFile and WriteFile must be passed a parameter for the number of
[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
52 RC_BINSRC = shres.rc
53 RC_BINARIES = \
54         cdrom.ico \
55         desktop.ico \
56         document.ico \
57         drive.ico \
58         floppy.ico \
59         folder.ico \
60         folder_open.ico \
61         mycomputer.ico \
62         netdrive.ico \
63         netdrive2.ico \
64         ramdisk.ico
65
66 C_SRCS16  = shell.c
67 RC_SRCS16 = version16.rc
68 SPEC_SRCS16 = shell.spec
69
70 SUBDIRS = tests
71
72 @MAKE_DLL_RULES@
73
74 # Special rules for 16-bit resource files
75
76 version16.res: version16.rc
77         $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/version16.rc
78
79 shell.spec.c: shell.spec version16.res
80         $(WINEBUILD) $(DEFS) $(DLLFLAGS) -o $@ --main-module $(MODULE) --res version16.res --dll $(SRCDIR)/shell.spec
81
82 authors.c: $(TOPSRCDIR)/AUTHORS
83         (LC_ALL=C; export LC_ALL; echo 'const char * const SHELL_Authors[] = {' && \
84          sed -e '1,2d' -e 's/\(.*\)/  \"\1\",/' $(TOPSRCDIR)/AUTHORS && \
85          echo '  0 };') >$@ || ($(RM) $@ && false)
86
87 depend: authors.c
88
89 clean::
90         $(RM) authors.c
91
92 ### Dependencies: