Fix compile on non-ELF host.
[wine/wine-kai.git] / tools / Makefile.in
blob74d2dc88de8ba8be67ca565282524c93c14d5eb5
1 DEFS = -DLEX_OUTPUT_ROOT="\"@LEX_OUTPUT_ROOT@\""
2 TOPSRCDIR = @top_srcdir@
3 TOPOBJDIR = ..
4 SRCDIR = @srcdir@
5 VPATH = @srcdir@
6 MODULE = none
7 EXTRAINCL = @FREETYPEINCL@
8 FREETYPELIBS = @FREETYPELIBS@
10 PROGRAMS = \
11 bin2res \
12 fnt2bdf \
13 fnt2fon \
14 make_ctests \
15 makedep \
16 sfnt2fnt \
17 wineprefixcreate
19 C_SRCS = \
20 bin2res.c \
21 fnt2bdf.c \
22 fnt2fon.c \
23 make_ctests.c \
24 makedep.c \
25 sfnt2fnt.c \
27 SUBDIRS = \
28 widl \
29 winebuild \
30 winedump \
31 winegcc \
32 wmc \
33 wrc
35 INSTALLSUBDIRS = $(SUBDIRS)
37 UPDATE_DESKTOP_DATABASE = update-desktop-database
39 all: $(PROGRAMS) $(SUBDIRS)
41 @MAKE_RULES@
43 makedep: makedep.o
44 $(CC) $(CFLAGS) -o makedep makedep.o
46 make_ctests: make_ctests.o
47 $(CC) $(CFLAGS) -o make_ctests make_ctests.o
49 fnt2bdf: fnt2bdf.o
50 $(CC) $(CFLAGS) -o fnt2bdf fnt2bdf.o $(LIBPORT)
52 fnt2fon: fnt2fon.o
53 $(CC) $(CFLAGS) -o fnt2fon fnt2fon.o $(LIBPORT)
55 sfnt2fnt: sfnt2fnt.o
56 $(CC) $(CFLAGS) -o sfnt2fnt sfnt2fnt.o $(LIBUNICODE) $(LIBPORT) $(FREETYPELIBS)
58 bin2res: bin2res.o
59 $(CC) $(CFLAGS) -o bin2res bin2res.o $(LIBPORT)
61 wineprefixcreate: wineprefixcreate.in
62 sed -e 's,@dlldir\@,$(dlldir),g' -e 's,@datadir\@,$(datadir),g' $(SRCDIR)/wineprefixcreate.in >$@ || ($(RM) $@ && false)
63 chmod +x wineprefixcreate
65 install install-lib:: wineprefixcreate
66 $(MKINSTALLDIRS) $(bindir) $(datadir)/wine $(datadir)/applications
67 $(INSTALL_SCRIPT) wineprefixcreate $(bindir)/wineprefixcreate
68 $(INSTALL_DATA) $(SRCDIR)/wine.inf $(datadir)/wine/wine.inf
69 $(INSTALL_DATA) $(SRCDIR)/wine.desktop $(datadir)/applications/wine.desktop
70 -$(UPDATE_DESKTOP_DATABASE)
72 install install-dev:: $(INSTALLSUBDIRS:%=%/__install__)
73 $(MKINSTALLDIRS) $(bindir) $(mandir)/man$(prog_manext)
74 $(INSTALL_SCRIPT) $(SRCDIR)/winemaker $(bindir)/winemaker
75 $(INSTALL_DATA) $(SRCDIR)/winemaker.man $(mandir)/man$(prog_manext)/winemaker.$(prog_manext)
77 uninstall::
78 $(RM) $(bindir)/winemaker $(bindir)/wineprefixcreate $(mandir)/man$(prog_manext)/winemaker.$(prog_manext) \
79 $(datadir)/wine/wine.inf $(datadir)/applications/wine.desktop
80 -$(UPDATE_DESKTOP_DATABASE)
82 ### Dependencies: