makefiles: Rename the SRCDIR, TOPSRCDIR and TOPOBJDIR variables to follow autoconf...
[wine] / tools / winedump / Makefile.in
1 DEFS      = -D__WINESRC__ $(EXTRADEFS)
2
3 PROGRAMS = winedump$(EXEEXT)
4 MANPAGES = winedump.man
5
6 C_SRCS = \
7         debug.c \
8         dos.c \
9         dump.c \
10         emf.c \
11         font.c \
12         le.c \
13         lib.c \
14         lnk.c \
15         main.c \
16         minidump.c \
17         misc.c \
18         msc.c \
19         msmangle.c \
20         ne.c \
21         output.c \
22         pdb.c \
23         pe.c \
24         search.c \
25         symbol.c
26
27 INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
28
29 all: $(PROGRAMS) $(MANPAGES)
30
31 @MAKE_RULES@
32
33 winedump$(EXEEXT): $(OBJS)
34         $(CC) $(CFLAGS) -o winedump$(EXEEXT) $(OBJS) $(LIBPORT) $(LDFLAGS)
35
36 install install-dev:: $(PROGRAMS) $(MANPAGES) $(INSTALLDIRS)
37         $(INSTALL_PROGRAM) winedump$(EXEEXT) $(DESTDIR)$(bindir)/winedump$(EXEEXT)
38         $(INSTALL_DATA) winedump.man $(DESTDIR)$(mandir)/man$(prog_manext)/winedump.$(prog_manext)
39         $(INSTALL_SCRIPT) $(srcdir)/function_grep.pl $(DESTDIR)$(bindir)/function_grep.pl
40
41 uninstall::
42         $(RM) $(DESTDIR)$(bindir)/function_grep.pl $(DESTDIR)$(bindir)/winedump$(EXEEXT) $(DESTDIR)$(mandir)/man$(prog_manext)/winedump.$(prog_manext)