Authors: Martin Fuchs <martin-fuchs@gmx.net>, Ge van Geldorp <ge@gse.nl>
[wine/multimedia.git] / dlls / shell32 / Makefile.in
blobb3015a7ffabf34f8189f67938bbba8d824143ed9
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 # fixme: avoid ole32.dll import
8 IMPORTS = ole32 shlwapi comctl32 user32 gdi32 advapi32 kernel32 ntdll
9 ALTNAMES = shell.dll
10 EXTRALIBS = $(LIBUUID) $(LIBUNICODE)
12 SPEC_SRCS16 = $(ALTNAMES:.dll=.spec)
14 C_SRCS = \
15 authors.c \
16 brsfolder.c \
17 changenotify.c \
18 classes.c \
19 clipboard.c \
20 control.c \
21 dataobject.c \
22 debughlp.c \
23 dialogs.c \
24 dragdrophelper.c \
25 enumidlist.c \
26 folders.c \
27 iconcache.c \
28 memorystream.c \
29 pidl.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 shlexec.c \
42 shlfileop.c \
43 shlfolder.c \
44 shlfsbind.c \
45 shlmenu.c \
46 shlview.c \
47 shpolicy.c \
48 shv_bg_cmenu.c \
49 shv_item_cmenu.c \
50 systray.c
52 RC_SRCS = shres.rc version.rc
53 RC_BINSRC = shres.rc
54 RC_BINARIES = \
55 desktop.ico \
56 document.ico \
57 drive.ico \
58 folder.ico \
59 folder_open.ico \
60 mycomputer.ico
62 C_SRCS16 = shell.c
63 RC_SRCS16 = version16.rc
65 SUBDIRS = tests
67 @MAKE_DLL_RULES@
69 # Special rules for 16-bit resource files
71 version16.res: version16.rc
72 $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/version16.rc
74 shell.spec.c: shell.spec version16.res
75 $(WINEBUILD) $(DEFS) $(DLLFLAGS) -o $@ --main-module $(MODULE) --res version16.res --spec $(SRCDIR)/shell.spec
77 authors.c: $(TOPSRCDIR)/AUTHORS
78 (LANG=C; echo 'const char * const SHELL_Authors[] = {' && \
79 sed -e '1,2d' -e 's/\(.*\)/ \"\1\",/' $(TOPSRCDIR)/AUTHORS && \
80 echo ' 0 };') >$@ || ($(RM) $@ && false)
82 depend: authors.c
84 clean::
85 $(RM) authors.c
87 ### Dependencies: