2 EXTRALIBS
= $(LIBPORT
) @LIBDL@ @COREFOUNDATIONLIB@ @CORESERVICESLIB@
3 DEFS
= -D__WINESRC__
-DWINE_UNICODE_API
=""
8 INSTALLDIRS
= $(DESTDIR
)$(libdir)
101 EXTRA_OBJS
= version.o
105 # Special defines needed for config.c
108 -DBINDIR
='"$(bindir)"' \
109 -DDLLDIR
='"$(dlldir)"' \
110 -DDLLPREFIX
='"$(DLLPREFIX)"' \
111 -DLIB_TO_BINDIR
=\"`$(RELPATH) $(libdir) $(bindir)`\" \
112 -DLIB_TO_DLLDIR
=\"`$(RELPATH) $(libdir) $(dlldir)`\" \
113 -DBIN_TO_DLLDIR
=\"`$(RELPATH) $(bindir) $(dlldir)`\" \
114 -DBIN_TO_DATADIR
=\"`$(RELPATH) $(bindir) $(datadir)/wine`\"
116 config.o
: config.c
$(RELPATH
)
117 $(CC
) -c
$(ALLCFLAGS
) -o
$@
$(srcdir)/config.c
$(CONFIGDIRS
)
120 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)
123 @cd
$(TOOLSDIR
)/tools
&& $(MAKE
) relpath
$(TOOLSEXT
)
125 all: libwine_static.a
127 libwine_static.a
: $(OBJS
) Makefile.in
128 $(AR
) $(ARFLAGS
) $@
$(OBJS
)
130 # Make sure that make_makefiles sees the generated rules
131 install install-lib
::
132 install install-dev
::