d3d8: All objects created by device should keep reference to it.
[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 EXEEXT    = @EXEEXT@
7 MODULE    = none
8 EXTRAINCL = @FREETYPEINCL@
9 FREETYPELIBS = @FREETYPELIBS@
10
11 PROGRAMS = \
12         bin2res$(EXEEXT) \
13         fnt2bdf$(EXEEXT) \
14         fnt2fon$(EXEEXT) \
15         make_ctests$(EXEEXT) \
16         makedep$(EXEEXT) \
17         relpath$(EXEEXT) \
18         sfnt2fnt$(EXEEXT) \
19         wineprefixcreate
20
21 MANPAGES = \
22         winemaker.man
23
24 C_SRCS = \
25         bin2res.c \
26         fnt2bdf.c \
27         fnt2fon.c \
28         make_ctests.c \
29         makedep.c \
30         relpath.c \
31         sfnt2fnt.c \
32
33 INSTALLSUBDIRS = \
34         widl \
35         winebuild \
36         winedump \
37         winegcc \
38         wmc \
39         wrc
40
41 SUBDIRS = \
42         $(INSTALLSUBDIRS) \
43         winapi
44
45 UPDATE_DESKTOP_DATABASE = update-desktop-database
46
47 all: $(PROGRAMS) $(MANPAGES) $(SUBDIRS)
48
49 @MAKE_RULES@
50
51 makedep$(EXEEXT): makedep.o
52         $(CC) $(CFLAGS) -o $@ makedep.o $(LDFLAGS)
53
54 make_ctests$(EXEEXT): make_ctests.o
55         $(CC) $(CFLAGS) -o $@ make_ctests.o $(LDFLAGS)
56
57 fnt2bdf$(EXEEXT): fnt2bdf.o
58         $(CC) $(CFLAGS) -o $@ fnt2bdf.o $(LIBPORT) $(LDFLAGS)
59
60 fnt2fon$(EXEEXT): fnt2fon.o
61         $(CC) $(CFLAGS) -o $@ fnt2fon.o $(LIBPORT) $(LDFLAGS)
62
63 relpath$(EXEEXT): relpath.o
64         $(CC) $(CFLAGS) -o $@ relpath.o $(LIBPORT) $(LDFLAGS)
65
66 sfnt2fnt$(EXEEXT): sfnt2fnt.o
67         $(CC) $(CFLAGS) -o $@ sfnt2fnt.o $(LIBUNICODE) $(LIBPORT) $(LDFLAGS) $(FREETYPELIBS)
68
69 bin2res$(EXEEXT): bin2res.o
70         $(CC) $(CFLAGS) -o $@ bin2res.o $(LIBPORT) $(LDFLAGS)
71
72 wineprefixcreate: wineprefixcreate.in relpath$(EXEEXT)
73         sed -e "s,@bintodlldir\@,`$(RELPATH) $(bindir) $(dlldir)`,g" -e "s,@bintodatadir\@,`$(RELPATH) $(bindir) $(datadir)/wine`,g" $(SRCDIR)/wineprefixcreate.in >$@ || ($(RM) $@ && false)
74         chmod +x wineprefixcreate
75
76 install install-lib:: wineprefixcreate
77         $(MKINSTALLDIRS) $(DESTDIR)$(bindir) $(DESTDIR)$(datadir)/wine $(DESTDIR)$(datadir)/applications
78         $(INSTALL_SCRIPT) wineprefixcreate $(DESTDIR)$(bindir)/wineprefixcreate
79         $(INSTALL_DATA) $(SRCDIR)/wine.inf $(DESTDIR)$(datadir)/wine/wine.inf
80         $(INSTALL_DATA) $(SRCDIR)/wine.desktop $(DESTDIR)$(datadir)/applications/wine.desktop
81         -$(UPDATE_DESKTOP_DATABASE)
82
83 install install-dev:: $(INSTALLSUBDIRS:%=%/__install__) $(MANPAGES)
84         $(MKINSTALLDIRS) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
85         $(INSTALL_SCRIPT) $(SRCDIR)/winemaker $(DESTDIR)$(bindir)/winemaker
86         $(INSTALL_DATA) winemaker.man $(DESTDIR)$(mandir)/man$(prog_manext)/winemaker.$(prog_manext)
87
88 uninstall::
89         $(RM) $(DESTDIR)$(bindir)/winemaker $(DESTDIR)$(bindir)/wineprefixcreate $(DESTDIR)$(mandir)/man$(prog_manext)/winemaker.$(prog_manext) $(DESTDIR)$(datadir)/wine/wine.inf $(DESTDIR)$(datadir)/applications/wine.desktop
90         -$(UPDATE_DESKTOP_DATABASE)
91
92 ### Dependencies: