widl: Output sizing information for arrays in the generated marshaling code.
[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         sfnt2fnt$(EXEEXT) \
18         wineprefixcreate
19
20 MANPAGES = \
21         winemaker.man
22
23 C_SRCS = \
24         bin2res.c \
25         fnt2bdf.c \
26         fnt2fon.c \
27         make_ctests.c \
28         makedep.c \
29         sfnt2fnt.c \
30
31 INSTALLSUBDIRS = \
32         widl \
33         winebuild \
34         winedump \
35         winegcc \
36         wmc \
37         wrc
38
39 SUBDIRS = \
40         $(INSTALLSUBDIRS) \
41         winapi
42
43 UPDATE_DESKTOP_DATABASE = update-desktop-database
44
45 all: $(PROGRAMS) $(MANPAGES) $(SUBDIRS)
46
47 @MAKE_RULES@
48
49 makedep$(EXEEXT): makedep.o
50         $(CC) $(CFLAGS) -o $@ makedep.o
51
52 make_ctests$(EXEEXT): make_ctests.o
53         $(CC) $(CFLAGS) -o $@ make_ctests.o
54
55 fnt2bdf$(EXEEXT): fnt2bdf.o
56         $(CC) $(CFLAGS) -o $@ fnt2bdf.o $(LIBPORT)
57
58 fnt2fon$(EXEEXT): fnt2fon.o
59         $(CC) $(CFLAGS) -o $@ fnt2fon.o $(LIBPORT)
60
61 sfnt2fnt$(EXEEXT): sfnt2fnt.o
62         $(CC) $(CFLAGS) -o $@ sfnt2fnt.o $(LIBUNICODE) $(LIBPORT) $(FREETYPELIBS)
63
64 bin2res$(EXEEXT): bin2res.o
65         $(CC) $(CFLAGS) -o $@ bin2res.o $(LIBPORT)
66
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
70
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)
77
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)
82
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)
87
88 ### Dependencies: