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
10 EXTRALIBS
= -luuid
$(LIBUNICODE
)
12 SPEC_SRCS16
= $(ALTNAMES
:.dll
=.spec
)
54 RC_SRCS
= shres.rc version.rc
65 RC_SRCS16
= version16.rc
71 # Special rules for 16-bit resource files
73 version16.res
: version16.rc
74 $(LDPATH
) $(RC16
) $(RC16FLAGS
) -fo
$@
$(SRCDIR
)/version16.rc
76 shell.spec.c
: shell.spec version16.res
77 $(WINEBUILD
) $(DEFS
) $(DLLFLAGS
) -o
$@
--main-module
$(MODULE
) --res version16.res
--dll
$(SRCDIR
)/shell.spec
79 authors.c
: $(TOPSRCDIR
)/AUTHORS
80 (LC_ALL
=C
; export LC_ALL
; echo
'const char * const SHELL_Authors[] = {' && \
81 sed
-e
'1,2d' -e
's/\(.*\)/ \"\1\",/' $(TOPSRCDIR
)/AUTHORS
&& \
82 echo
' 0 };') >$@ ||
($(RM
) $@
&& false
)