Create Gnome/KDE desktop and menu entries from IShellLink
[wine] / tools / Makefile.in
1 DEFS      = -D__WINE__
2 TOPSRCDIR = @top_srcdir@
3 TOPOBJDIR = ..
4 SRCDIR    = @srcdir@
5 VPATH     = @srcdir@
6
7 PROGRAMS = makedep fnt2bdf bin2res
8 MODULE   = none
9
10 C_SRCS = makedep.c fnt2bdf.c bin2res.c
11
12 SUBDIRS = \
13         cvdump \
14         winebuild \
15         wmc \
16         wrc
17
18 INSTALLSUBDIRS = \
19         winebuild \
20         wmc \
21         wrc
22
23 EXTRASUBDIRS = \
24         winapi_check \
25         winapi_check/win16 \
26         winapi_check/win32 \
27         wineconf.libs
28
29 all: $(PROGRAMS) winebuild wmc wrc
30
31 @MAKE_RULES@
32
33 makedep: makedep.o
34         $(CC) $(CFLAGS) -o makedep makedep.o
35
36 fnt2bdf: fnt2bdf.o
37         $(CC) $(CFLAGS) -o fnt2bdf fnt2bdf.o
38
39 bin2res: bin2res.o
40         $(CC) $(CFLAGS) -o bin2res bin2res.o
41
42 install:: $(PROGRAMS) $(INSTALLSUBDIRS:%=%/__install__)
43         [ -d $(bindir) ] || $(MKDIR) $(bindir)
44         $(INSTALL_PROGRAM) fnt2bdf $(bindir)/fnt2bdf
45         $(INSTALL_PROGRAM) wineshelllink $(bindir)/wineshelllink
46
47 uninstall:: $(PROGRAMS) $(INSTALLSUBDIRS:%=%/__uninstall__)
48         $(RM) $(bindir)/fnt2bdf $(bindir)/wineshelllink
49
50 ### Dependencies: