msxml3: Support functions for typelib.
[wine/winequartzdrv.git] / tools / Makefile.in
blobd771c51d37f8dd2e21d1584bad69d081f211f94a
1 TOPSRCDIR = @top_srcdir@
2 TOPOBJDIR = ..
3 SRCDIR = @srcdir@
4 VPATH = @srcdir@
5 EXEEXT = @EXEEXT@
6 MODULE = none
7 EXTRAINCL = @FREETYPEINCL@
8 FREETYPELIBS = @FREETYPELIBS@
10 PROGRAMS = \
11 fnt2bdf$(EXEEXT) \
12 fnt2fon$(EXEEXT) \
13 make_ctests$(EXEEXT) \
14 makedep$(EXEEXT) \
15 relpath$(EXEEXT) \
16 sfnt2fnt$(EXEEXT) \
17 wineprefixcreate
19 MANPAGES = \
20 winemaker.man \
21 wineprefixcreate.man
23 C_SRCS = \
24 fnt2bdf.c \
25 fnt2fon.c \
26 make_ctests.c \
27 makedep.c \
28 relpath.c \
29 sfnt2fnt.c \
31 INSTALLSUBDIRS = \
32 widl \
33 winebuild \
34 winedump \
35 winegcc \
36 wmc \
37 wrc
39 SUBDIRS = $(INSTALLSUBDIRS)
41 EXTRASUBDIRS = winapi
43 INSTALLDIRS = \
44 $(DESTDIR)$(bindir) \
45 $(DESTDIR)$(datadir)/applications \
46 $(DESTDIR)$(datadir)/wine \
47 $(DESTDIR)$(mandir)/man$(prog_manext)
49 UPDATE_DESKTOP_DATABASE = update-desktop-database
51 all: $(PROGRAMS) $(MANPAGES) $(SUBDIRS)
53 @MAKE_RULES@
55 makedep$(EXEEXT) $(EXEEXT:%=makedep): makedep.o
56 $(CC) $(CFLAGS) -o $@ makedep.o $(LDFLAGS)
58 make_ctests$(EXEEXT): make_ctests.o
59 $(CC) $(CFLAGS) -o $@ make_ctests.o $(LDFLAGS)
61 fnt2bdf$(EXEEXT): fnt2bdf.o
62 $(CC) $(CFLAGS) -o $@ fnt2bdf.o $(LIBPORT) $(LDFLAGS)
64 fnt2fon$(EXEEXT): fnt2fon.o
65 $(CC) $(CFLAGS) -o $@ fnt2fon.o $(LIBPORT) $(LDFLAGS)
67 relpath$(EXEEXT): relpath.o
68 $(CC) $(CFLAGS) -o $@ relpath.o $(LIBPORT) $(LDFLAGS)
70 sfnt2fnt$(EXEEXT): sfnt2fnt.o relpath$(EXEEXT)
71 $(CC) $(CFLAGS) -o $@ sfnt2fnt.o $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(FREETYPELIBS) $(LDRPATH_LOCAL)
73 wineprefixcreate: wineprefixcreate.in relpath$(EXEEXT)
74 sed -e "s,@bintodlldir\@,`$(RELPATH) $(bindir) $(dlldir)`,g" -e "s,@bintodatadir\@,`$(RELPATH) $(bindir) $(datadir)/wine`,g" $(SRCDIR)/wineprefixcreate.in >$@ || ($(RM) $@ && false)
75 chmod +x wineprefixcreate
77 install install-lib:: wineprefixcreate $(INSTALLDIRS)
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 $(INSTALL_DATA) wineprefixcreate.man $(DESTDIR)$(mandir)/man$(prog_manext)/wineprefixcreate.$(prog_manext)
82 -$(UPDATE_DESKTOP_DATABASE)
84 install install-dev:: $(INSTALLSUBDIRS:%=%/__install__) $(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)
88 uninstall::
89 $(RM) $(DESTDIR)$(bindir)/winemaker $(DESTDIR)$(bindir)/wineprefixcreate $(DESTDIR)$(mandir)/man$(prog_manext)/winemaker.$(prog_manext) $(DESTDIR)$(mandir)/man$(prog_manext)/wineprefixcreate.$(prog_manext) $(DESTDIR)$(datadir)/wine/wine.inf $(DESTDIR)$(datadir)/applications/wine.desktop
90 -$(UPDATE_DESKTOP_DATABASE)
92 wmc wrc: relpath$(EXEEXT)
94 @DEPENDENCIES@ # everything below this line is overwritten by make depend
96 Makefile: makedep$(EXEEXT)