EXTRADEFS = -D_SHELL32_ -DCOM_NO_WINDOWS_H
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR    = @srcdir@
VPATH     = @srcdir@
MODULE    = shell32.dll
IMPORTLIB = shell32
IMPORTS   = uuid shlwapi comctl32 user32 gdi32 advapi32 kernel32 ntdll
DELAYIMPORTS = ole32 oleaut32 shdocvw

C_SRCS = \
	appbar.c \
	autocomplete.c \
	brsfolder.c \
	changenotify.c \
	classes.c \
	clipboard.c \
	control.c \
	cpanelfolder.c \
	dataobject.c \
	dde.c \
	debughlp.c \
	dialogs.c \
	dragdrophelper.c \
	enumidlist.c \
	folders.c \
	iconcache.c \
	pidl.c \
	recyclebin.c \
	regsvr.c \
	shell32_main.c \
	shellitem.c \
	shelllink.c \
	shellole.c \
	shellord.c \
	shellpath.c \
	shellreg.c \
	shellstring.c \
	shfldr_desktop.c \
	shfldr_fs.c \
	shfldr_mycomp.c \
	shfldr_netplaces.c \
	shfldr_unixfs.c \
	shlexec.c \
	shlfileop.c \
	shlfolder.c \
	shlfsbind.c \
	shlmenu.c \
	shlview.c \
	shpolicy.c \
	shv_bg_cmenu.c \
	shv_item_cmenu.c \
	systray.c \
	trash.c \
	xdg.c

RC_SRCS = \
	shell32_Bg.rc \
	shell32_Ca.rc \
	shell32_Cs.rc \
	shell32_Da.rc \
	shell32_De.rc \
	shell32_En.rc \
	shell32_Eo.rc \
	shell32_Es.rc \
	shell32_Fi.rc \
	shell32_Fr.rc \
	shell32_Hu.rc \
	shell32_It.rc \
	shell32_Ja.rc \
	shell32_Ko.rc \
	shell32_Lt.rc \
	shell32_Nl.rc \
	shell32_No.rc \
	shell32_Pl.rc \
	shell32_Pt.rc \
	shell32_Ro.rc \
	shell32_Ru.rc \
	shell32_Si.rc \
	shell32_Sk.rc \
	shell32_Sv.rc \
	shell32_Tr.rc \
	shell32_Uk.rc \
	shell32_Wa.rc \
	shell32_Zh.rc \
	shres.rc \
	version.rc

SVG_SRCS = \
	desktop.svg \
	folder.svg \
	folder_open.svg \
	mycomputer.svg \
	mydocs.svg \
	trash_file.svg

EXTRA_OBJS = authors.o

@MAKE_DLL_RULES@

authors.c: $(TOPSRCDIR)/AUTHORS
	(LC_ALL=C; export LC_ALL; echo 'const char * const SHELL_Authors[] = {' && \
	 sed -e '1,2d' -e 's/\(.*\)/  \"\1\",/' $(TOPSRCDIR)/AUTHORS && \
	 echo '  0 };') >$@ || ($(RM) $@ && false)

clean::
	$(RM) authors.c

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