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