1 EXTRADEFS = -D_SHELL32_ -DCOM_NO_WINDOWS_H
2 TOPSRCDIR = @top_srcdir@
7 IMPORTLIB = libshell32.$(IMPLIBEXT)
8 IMPORTS = shlwapi comctl32 user32 gdi32 advapi32 kernel32 ntdll
9 DELAYIMPORTS = ole32 oleaut32
10 EXTRALIBS = -luuid $(LIBUNICODE)
73 RC_SRCS16 = version16.rc
74 SPEC_SRCS16 = shell.spec
80 # Special rules for 16-bit resource files
82 version16.res: version16.rc
83 $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/version16.rc
85 shell.spec.o: shell.spec version16.res
86 $(WINEBUILD) $(WINEBUILDFLAGS) --dll -o $@ --main-module $(MODULE) --res version16.res --export $(SRCDIR)/shell.spec
88 authors.c: $(TOPSRCDIR)/AUTHORS
89 (LC_ALL=C; export LC_ALL; echo 'const char * const SHELL_Authors[] = {' && \
90 sed -e '1,2d' -e 's/\(.*\)/ \"\1\",/' $(TOPSRCDIR)/AUTHORS && \
91 echo ' 0 };') >$@ || ($(RM) $@ && false)