1 EXTRADEFS
= -D_SHELL32_
-DCOM_NO_WINDOWS_H
2 TOPSRCDIR
= @top_srcdir@
7 # fixme: avoid ole32.dll import
8 IMPORTS
= ole32 shlwapi comctl32 user32 gdi32 advapi32 kernel32 ntdll
10 EXTRALIBS
= $(LIBUUID
) $(LIBUNICODE
)
12 SPEC_SRCS16
= $(ALTNAMES
:.dll
=.spec
)
52 RC_SRCS
= shres.rc version.rc
63 RC_SRCS16
= version16.rc
69 # Special rules for 16-bit resource files
71 version16.res
: version16.rc
72 $(LDPATH
) $(RC16
) $(RC16FLAGS
) -fo
$@
$(SRCDIR
)/version16.rc
74 shell.spec.c
: shell.spec version16.res
75 $(WINEBUILD
) $(DEFS
) $(DLLFLAGS
) -o
$@
--main-module
$(MODULE
) --res version16.res
--spec
$(SRCDIR
)/shell.spec
77 authors.c
: $(TOPSRCDIR
)/AUTHORS
78 (LANG
=C
; echo
'const char * const SHELL_Authors[] = {' && \
79 sed
-e
'1,2d' -e
's/\(.*\)/ \"\1\",/' $(TOPSRCDIR
)/AUTHORS
&& \
80 echo
' 0 };') >$@ ||
($(RM
) $@
&& false
)