2 EXTRALIBS
= $(LIBPORT
) @LIBDL@ @COREFOUNDATIONLIB@ @CORESERVICESLIB@
3 DEFS
= -D__WINESRC__
-DWINE_UNICODE_API
=""
8 INSTALLDIRS
= $(DESTDIR
)$(libdir)
91 EXTRA_OBJS
= version.o
95 # Special defines needed for config.c
98 -DBINDIR
='"$(bindir)"' \
99 -DDLLDIR
='"$(dlldir)"' \
100 -DLIB_TO_BINDIR
=\"`$(RELPATH) $(libdir) $(bindir)`\" \
101 -DLIB_TO_DLLDIR
=\"`$(RELPATH) $(libdir) $(dlldir)`\" \
102 -DBIN_TO_DLLDIR
=\"`$(RELPATH) $(bindir) $(dlldir)`\" \
103 -DBIN_TO_DATADIR
=\"`$(RELPATH) $(bindir) $(datadir)/wine`\"
105 config.o
: config.c
$(RELPATH
)
106 $(CC
) -c
$(ALLCFLAGS
) -o
$@
$(srcdir)/config.c
$(CONFIGDIRS
)
109 version
=`(GIT_DIR=$(top_srcdir)/.git git describe HEAD 2>/dev/null || echo "wine-@PACKAGE_VERSION@") | sed -n -e '$$s/\(.*\)/const char wine_build[] = "\1";/p'` && (echo
$$version | cmp
-s
- $@
) || echo
$$version >$@ ||
($(RM
) $@
&& exit
1)
112 @cd
$(TOOLSDIR
)/tools
&& $(MAKE
) relpath
$(TOOLSEXT
)
114 # Make sure that make_makefiles sees the install rules
115 install install-lib
::
116 install install-dev
::