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)
72 RC_SRCS16 = version16.rc
73 SPEC_SRCS16 = shell.spec
79 # Special rules for 16-bit resource files
81 version16.res: version16.rc
82 $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/version16.rc
84 shell.spec.o: shell.spec version16.res
85 $(WINEBUILD) $(WINEBUILDFLAGS) --dll -o $@ --main-module $(MODULE) --res version16.res --export $(SRCDIR)/shell.spec
87 authors.c: $(TOPSRCDIR)/AUTHORS
88 (LC_ALL=C; export LC_ALL; echo 'const char * const SHELL_Authors[] = {' && \
89 sed -e '1,2d' -e 's/\(.*\)/ \"\1\",/' $(TOPSRCDIR)/AUTHORS && \
90 echo ' 0 };') >$@ || ($(RM) $@ && false)