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
58 RC_SRCS16 = version16.rc
59 SPEC_SRCS16 = shell.spec
61 EXTRA_OBJS = authors.o
65 # Special rules for 16-bit resource files
67 version16.res: version16.rc
68 $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/version16.rc
70 shell.spec.o: shell.spec version16.res
71 $(WINEBUILD) $(WINEBUILDFLAGS) --dll -o $@ --main-module $(MODULE) --res version16.res --export $(SRCDIR)/shell.spec
73 authors.c: $(TOPSRCDIR)/AUTHORS
74 (LC_ALL=C; export LC_ALL; echo 'const char * const SHELL_Authors[] = {' && \
75 sed -e '1,2d' -e 's/\(.*\)/ \"\1\",/' $(TOPSRCDIR)/AUTHORS && \
76 echo ' 0 };') >$@ || ($(RM) $@ && false)
81 @DEPENDENCIES@ # everything below this line is overwritten by make depend