c2man: Search sub-directories for headers too.
[wine] / tools / winedump / Makefile.in
1 DEFS      = -D__WINESRC__ $(EXTRADEFS)
2
3 PROGRAMS = winedump$(EXEEXT)
4 MANPAGE  = 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)
30
31 @MAKE_RULES@
32
33 winedump$(EXEEXT): $(OBJS)
34         $(CC) $(CFLAGS) -o winedump$(EXEEXT) $(OBJS) $(LIBPORT) $(LDFLAGS)
35
36 install:: $(PROGRAMS) $(DESTDIR)$(bindir)
37         $(INSTALL_PROGRAM) winedump$(EXEEXT) $(DESTDIR)$(bindir)/winedump$(EXEEXT)
38         $(INSTALL_SCRIPT) $(srcdir)/function_grep.pl $(DESTDIR)$(bindir)/function_grep.pl
39
40 uninstall::
41         $(RM) $(DESTDIR)$(bindir)/function_grep.pl $(DESTDIR)$(bindir)/winedump$(EXEEXT)