Fix signed/unsigned comparison warnings.
[wine] / tools / Makefile.in
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@
9
10 PROGRAMS = \
11         bin2res \
12         fnt2bdf \
13         fnt2fon \
14         makedep \
15         sfnt2fnt \
16         wineprefixcreate
17
18 C_SRCS = \
19         bin2res.c \
20         fnt2bdf.c \
21         fnt2fon.c \
22         makedep.c \
23         sfnt2fnt.c \
24
25 SUBDIRS = \
26         widl \
27         winebuild \
28         winedump \
29         winegcc \
30         wmc \
31         wrc
32
33 INSTALLSUBDIRS = $(SUBDIRS)
34
35 EXTRASUBDIRS = winapi_check
36
37 UPDATE_DESKTOP_DATABASE = update-desktop-database
38
39 all: $(PROGRAMS) $(SUBDIRS)
40
41 @MAKE_RULES@
42
43 makedep: makedep.o
44         $(CC) $(CFLAGS) -o makedep makedep.o
45
46 fnt2bdf: fnt2bdf.o
47         $(CC) $(CFLAGS) -o fnt2bdf fnt2bdf.o $(LIBPORT)
48
49 fnt2fon: fnt2fon.o
50         $(CC) $(CFLAGS) -o fnt2fon fnt2fon.o $(LIBPORT)
51
52 sfnt2fnt: sfnt2fnt.o
53         $(CC) $(CFLAGS) -o sfnt2fnt sfnt2fnt.o $(FREETYPELIBS) $(LIBUNICODE) $(LIBPORT)
54
55 bin2res: bin2res.o
56         $(CC) $(CFLAGS) -o bin2res bin2res.o $(LIBPORT)
57
58 wineprefixcreate: wineprefixcreate.in
59         sed -e 's,@dlldir\@,$(dlldir),g' -e 's,@datadir\@,$(datadir),g' $(SRCDIR)/wineprefixcreate.in >$@ || ($(RM) $@ && false)
60         chmod +x wineprefixcreate
61
62 install:: wineprefixcreate
63         $(MKINSTALLDIRS) $(bindir) $(mandir)/man$(prog_manext) $(datadir)/wine $(datadir)/applications
64         $(INSTALL_SCRIPT) $(SRCDIR)/winemaker $(bindir)/winemaker
65         $(INSTALL_SCRIPT) wineprefixcreate $(bindir)/wineprefixcreate
66         $(INSTALL_DATA) $(SRCDIR)/winemaker.man $(mandir)/man$(prog_manext)/winemaker.$(prog_manext)
67         $(INSTALL_DATA) $(SRCDIR)/wine.inf $(datadir)/wine/wine.inf
68         $(INSTALL_DATA) $(SRCDIR)/wine.desktop $(datadir)/applications/wine.desktop
69         -$(UPDATE_DESKTOP_DATABASE)
70
71 uninstall::
72         $(RM) $(bindir)/winemaker $(bindir)/wineprefixcreate $(mandir)/man$(prog_manext)/winemaker.$(prog_manext) \
73               $(datadir)/wine/wine.inf $(datadir)/applications/wine.desktop
74         -$(UPDATE_DESKTOP_DATABASE)
75
76 ### Dependencies: