Makefile.in 1.93 KB
Newer Older
1
EXTRADEFS = -D_SHELL32_ -DCOM_NO_WINDOWS_H
Alexandre Julliard's avatar
Alexandre Julliard committed
2 3 4 5
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR    = @srcdir@
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

Alexandre Julliard's avatar
Alexandre Julliard committed
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 \
Alexandre Julliard's avatar
Alexandre Julliard committed
21
	dataobject.c \
22
	debughlp.c \
23
	dialogs.c \
24
	dragdrophelper.c \
Alexandre Julliard's avatar
Alexandre Julliard committed
25 26
	enumidlist.c \
	folders.c \
27
	iconcache.c \
Alexandre Julliard's avatar
Alexandre Julliard committed
28
	pidl.c \
29
	recyclebin.c \
30
	regsvr.c \
31
	shell32_main.c \
32
	shelllink.c \
Alexandre Julliard's avatar
Alexandre Julliard committed
33 34
	shellole.c \
	shellord.c \
35
	shellpath.c \
36
	shellreg.c \
37 38 39 40
	shellstring.c \
	shfldr_desktop.c \
	shfldr_fs.c \
	shfldr_mycomp.c \
41
	shfldr_unixfs.c \
42
	shlexec.c \
43
	shlfileop.c \
Alexandre Julliard's avatar
Alexandre Julliard committed
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 52 53
	systray.c \
	trash.c \
	xdg.c
Alexandre Julliard's avatar
Alexandre Julliard committed
54

Ge van Geldorp's avatar
Ge van Geldorp committed
55
RC_SRCS = shres.rc
56 57
RC_BINSRC = shres.rc
RC_BINARIES = \
58
	cdrom.ico \
59
	desktop.ico \
60
	delete.ico \
61 62
	document.ico \
	drive.ico \
63
	floppy.ico \
64 65
	folder.ico \
	folder_open.ico \
66
	mycomputer.ico \
67
	mydocs.ico \
68 69
	netdrive.ico \
	netdrive2.ico \
70
	printer.ico \
71
	ramdisk.ico \
72
	searching.avi \
73 74
	shortcut.ico \
	trash_file.ico
75 76

C_SRCS16  = shell.c
77
RC_SRCS16 = version16.rc
78
SPEC_SRCS16 = shell.spec
79

80 81
EXTRA_OBJS = authors.o

82
@MAKE_DLL_RULES@
Alexandre Julliard's avatar
Alexandre Julliard committed
83

84 85 86
# Special rules for 16-bit resource files

version16.res: version16.rc
87
	$(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/version16.rc
88

89 90
shell.spec.o: shell.spec version16.res
	$(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 95
	 sed -e '1,2d' -e 's/\(.*\)/  \"\1\",/' $(TOPSRCDIR)/AUTHORS && \
	 echo '  0 };') >$@ || ($(RM) $@ && false)
96 97 98 99

clean::
	$(RM) authors.c

100
@DEPENDENCIES@  # everything below this line is overwritten by make depend