Release 20040914.
[wine/gsoc-2012-control.git] / tools / Makefile.in
blob586594a3b84a266ea1dc35cc31a8e35a0ac119a7
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 makedep \
15 sfnt2fnt \
16 wineprefixcreate
18 C_SRCS = \
19 bin2res.c \
20 fnt2bdf.c \
21 fnt2fon.c \
22 makedep.c \
23 sfnt2fnt.c \
25 SUBDIRS = \
26 widl \
27 winebuild \
28 winedump \
29 winegcc \
30 wmc \
31 wrc
33 INSTALLSUBDIRS = $(SUBDIRS)
35 EXTRASUBDIRS = winapi_check
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 fnt2bdf: fnt2bdf.o
47 $(CC) $(CFLAGS) -o fnt2bdf fnt2bdf.o $(LIBPORT)
49 fnt2fon: fnt2fon.o
50 $(CC) $(CFLAGS) -o fnt2fon fnt2fon.o $(LIBPORT)
52 sfnt2fnt: sfnt2fnt.o
53 $(CC) $(CFLAGS) -o sfnt2fnt sfnt2fnt.o $(FREETYPELIBS) $(LIBUNICODE) $(LIBPORT)
55 bin2res: bin2res.o
56 $(CC) $(CFLAGS) -o bin2res bin2res.o $(LIBPORT)
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
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)
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)
76 ### Dependencies: