Don't define __WINE_USE_MSVCRT in the Visual C++ project. It is not
[wine.git] / tools / Makefile.in
blob1c42ad6e210c9793a94c2c86dcd5ab274a4f9db3
1 DEFS = -DLEX_OUTPUT_ROOT="\"@LEX_OUTPUT_ROOT@\""
2 TOPSRCDIR = @top_srcdir@
3 TOPOBJDIR = ..
4 SRCDIR = @srcdir@
5 VPATH = @srcdir@
6 MODULE = none
8 PROGRAMS = \
9 bin2res \
10 fnt2bdf \
11 makedep \
12 wineprefixcreate
14 C_SRCS = \
15 bin2res.c \
16 fnt2bdf.c \
17 makedep.c
19 SUBDIRS = \
20 widl \
21 winebuild \
22 winedump \
23 winegcc \
24 wmc \
25 wrc
27 INSTALLSUBDIRS = $(SUBDIRS)
29 EXTRASUBDIRS = winapi_check
31 UPDATE_DESKTOP_DATABASE = update-desktop-database
33 all: $(PROGRAMS) $(SUBDIRS)
35 @MAKE_RULES@
37 makedep: makedep.o
38 $(CC) $(CFLAGS) -o makedep makedep.o
40 fnt2bdf: fnt2bdf.o
41 $(CC) $(CFLAGS) -o fnt2bdf fnt2bdf.o $(LIBPORT)
43 bin2res: bin2res.o
44 $(CC) $(CFLAGS) -o bin2res bin2res.o $(LIBPORT)
46 wineprefixcreate: wineprefixcreate.in
47 sed -e 's,@dlldir\@,$(dlldir),g' -e 's,@datadir\@,$(datadir),g' $(SRCDIR)/wineprefixcreate.in >$@ || ($(RM) $@ && false)
48 chmod +x wineprefixcreate
50 install:: wineprefixcreate
51 $(MKINSTALLDIRS) $(bindir) $(mandir)/man$(prog_manext) $(datadir)/wine $(datadir)/applications
52 $(INSTALL_SCRIPT) $(SRCDIR)/winemaker $(bindir)/winemaker
53 $(INSTALL_SCRIPT) wineprefixcreate $(bindir)/wineprefixcreate
54 $(INSTALL_DATA) $(SRCDIR)/winemaker.man $(mandir)/man$(prog_manext)/winemaker.$(prog_manext)
55 $(INSTALL_DATA) $(SRCDIR)/wine.inf $(datadir)/wine/wine.inf
56 $(INSTALL_DATA) $(SRCDIR)/wine.desktop $(datadir)/applications/wine.desktop
57 -$(UPDATE_DESKTOP_DATABASE)
59 uninstall::
60 $(RM) $(bindir)/winemaker $(bindir)/wineprefixcreate $(mandir)/man$(prog_manext)/winemaker.$(prog_manext) \
61 $(datadir)/wine/wine.inf $(datadir)/applications/wine.desktop
62 -$(UPDATE_DESKTOP_DATABASE)
64 ### Dependencies: