wined3d: Make the returned driver version similar to windows.
[wine/hacks.git] / tools / Makefile.in
blob87abea3ea7c5ea9f6f5dc54961a76566a8468b67
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@
11 PROGRAMS = \
12 bin2res$(EXEEXT) \
13 fnt2bdf$(EXEEXT) \
14 fnt2fon$(EXEEXT) \
15 make_ctests$(EXEEXT) \
16 makedep$(EXEEXT) \
17 sfnt2fnt$(EXEEXT) \
18 wineprefixcreate
20 MANPAGES = \
21 winemaker.man
23 C_SRCS = \
24 bin2res.c \
25 fnt2bdf.c \
26 fnt2fon.c \
27 make_ctests.c \
28 makedep.c \
29 sfnt2fnt.c \
31 INSTALLSUBDIRS = \
32 widl \
33 winebuild \
34 winedump \
35 winegcc \
36 wmc \
37 wrc
39 SUBDIRS = \
40 $(INSTALLSUBDIRS) \
41 winapi
43 UPDATE_DESKTOP_DATABASE = update-desktop-database
45 all: $(PROGRAMS) $(MANPAGES) $(SUBDIRS)
47 @MAKE_RULES@
49 makedep$(EXEEXT): makedep.o
50 $(CC) $(CFLAGS) -o $@ makedep.o
52 make_ctests$(EXEEXT): make_ctests.o
53 $(CC) $(CFLAGS) -o $@ make_ctests.o
55 fnt2bdf$(EXEEXT): fnt2bdf.o
56 $(CC) $(CFLAGS) -o $@ fnt2bdf.o $(LIBPORT)
58 fnt2fon$(EXEEXT): fnt2fon.o
59 $(CC) $(CFLAGS) -o $@ fnt2fon.o $(LIBPORT)
61 sfnt2fnt$(EXEEXT): sfnt2fnt.o
62 $(CC) $(CFLAGS) -o $@ sfnt2fnt.o $(LIBUNICODE) $(LIBPORT) $(FREETYPELIBS)
64 bin2res$(EXEEXT): bin2res.o
65 $(CC) $(CFLAGS) -o $@ bin2res.o $(LIBPORT)
67 wineprefixcreate: wineprefixcreate.in
68 sed -e 's,@dlldir\@,$(dlldir),g' -e 's,@datadir\@,$(datadir),g' $(SRCDIR)/wineprefixcreate.in >$@ || ($(RM) $@ && false)
69 chmod +x wineprefixcreate
71 install install-lib:: wineprefixcreate
72 $(MKINSTALLDIRS) $(bindir) $(datadir)/wine $(datadir)/applications
73 $(INSTALL_SCRIPT) wineprefixcreate $(bindir)/wineprefixcreate
74 $(INSTALL_DATA) $(SRCDIR)/wine.inf $(datadir)/wine/wine.inf
75 $(INSTALL_DATA) $(SRCDIR)/wine.desktop $(datadir)/applications/wine.desktop
76 -$(UPDATE_DESKTOP_DATABASE)
78 install install-dev:: $(INSTALLSUBDIRS:%=%/__install__) $(MANPAGES)
79 $(MKINSTALLDIRS) $(bindir) $(mandir)/man$(prog_manext)
80 $(INSTALL_SCRIPT) $(SRCDIR)/winemaker $(bindir)/winemaker
81 $(INSTALL_DATA) winemaker.man $(mandir)/man$(prog_manext)/winemaker.$(prog_manext)
83 uninstall::
84 $(RM) $(bindir)/winemaker $(bindir)/wineprefixcreate $(mandir)/man$(prog_manext)/winemaker.$(prog_manext) \
85 $(datadir)/wine/wine.inf $(datadir)/applications/wine.desktop
86 -$(UPDATE_DESKTOP_DATABASE)
88 ### Dependencies: