Use MapLS/UnMapLS instead of SEGPTR_* macros.
[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         winebuild \
14         winedump \
15         wmc \
16         wrc
17
18 INSTALLSUBDIRS = \
19         winebuild \
20         winedump \
21         wmc \
22         wrc
23
24 EXTRASUBDIRS = \
25         winapi_check \
26         winapi_check/win16 \
27         winapi_check/win32 \
28         wineconf.libs
29
30 all: $(PROGRAMS) winebuild winedump wmc wrc
31
32 @MAKE_RULES@
33
34 makedep: makedep.o
35         $(CC) $(CFLAGS) -o makedep makedep.o
36
37 fnt2bdf: fnt2bdf.o
38         $(CC) $(CFLAGS) -o fnt2bdf fnt2bdf.o
39
40 bin2res: bin2res.o
41         $(CC) $(CFLAGS) -o bin2res bin2res.o
42
43 install:: $(PROGRAMS) $(INSTALLSUBDIRS:%=%/__install__)
44         [ -d $(bindir) ] || $(MKDIR) $(bindir)
45         $(INSTALL_PROGRAM) fnt2bdf $(bindir)/fnt2bdf
46         $(INSTALL_SCRIPT) winelauncher $(bindir)/winelauncher
47         $(INSTALL_SCRIPT) $(SRCDIR)/winemaker $(bindir)/winemaker
48         $(INSTALL_SCRIPT) $(SRCDIR)/wineshelllink $(bindir)/wineshelllink
49
50 uninstall:: $(INSTALLSUBDIRS:%=%/__uninstall__)
51         $(RM) $(bindir)/fnt2bdf $(bindir)/winelauncher $(bindir)/winemaker $(bindir)/wineshelllink
52
53 ### Dependencies: