2001-01-04 20:45:49 +01:00
|
|
|
TOPSRCDIR = @top_srcdir@
|
|
|
|
TOPOBJDIR = ../..
|
|
|
|
SRCDIR = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
2003-08-18 21:49:10 +02:00
|
|
|
EXEEXT = @EXEEXT@
|
|
|
|
|
|
|
|
PROGRAMS = winedump$(EXEEXT)
|
2005-10-06 18:10:01 +02:00
|
|
|
MANPAGES = winedump.man
|
2001-01-04 20:45:49 +01:00
|
|
|
MODULE = none
|
|
|
|
|
|
|
|
C_SRCS = \
|
2001-09-07 18:04:38 +02:00
|
|
|
debug.c \
|
2005-03-07 12:03:53 +01:00
|
|
|
dump.c \
|
2005-01-04 21:32:25 +01:00
|
|
|
emf.c \
|
2005-01-03 15:48:49 +01:00
|
|
|
le.c \
|
2005-02-17 12:51:23 +01:00
|
|
|
lnk.c \
|
2005-03-07 12:03:53 +01:00
|
|
|
main.c \
|
|
|
|
minidump.c \
|
|
|
|
misc.c \
|
|
|
|
msmangle.c \
|
2002-10-02 20:50:09 +02:00
|
|
|
ne.c \
|
2005-03-07 12:03:53 +01:00
|
|
|
output.c \
|
2001-09-07 18:04:38 +02:00
|
|
|
pe.c \
|
2005-03-07 12:03:53 +01:00
|
|
|
search.c \
|
2001-01-04 20:45:49 +01:00
|
|
|
symbol.c
|
|
|
|
|
2006-08-07 17:48:18 +02:00
|
|
|
INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
|
|
|
|
|
2005-10-06 18:10:01 +02:00
|
|
|
all: $(PROGRAMS) $(MANPAGES)
|
2001-01-04 20:45:49 +01:00
|
|
|
|
|
|
|
@MAKE_RULES@
|
|
|
|
|
2003-08-18 21:49:10 +02:00
|
|
|
winedump$(EXEEXT): $(OBJS)
|
|
|
|
$(CC) $(CFLAGS) -o winedump$(EXEEXT) $(OBJS) $(LIBPORT) $(LDFLAGS)
|
2001-01-04 20:45:49 +01:00
|
|
|
|
2006-08-07 17:48:18 +02:00
|
|
|
install:: $(PROGRAMS) $(MANPAGES) $(INSTALLDIRS)
|
2006-02-14 13:51:38 +01:00
|
|
|
$(INSTALL_PROGRAM) winedump$(EXEEXT) $(DESTDIR)$(bindir)/winedump$(EXEEXT)
|
|
|
|
$(INSTALL_DATA) winedump.man $(DESTDIR)$(mandir)/man$(prog_manext)/winedump.$(prog_manext)
|
|
|
|
$(INSTALL_SCRIPT) $(SRCDIR)/function_grep.pl $(DESTDIR)$(bindir)/function_grep.pl
|
2001-01-04 20:45:49 +01:00
|
|
|
|
|
|
|
uninstall::
|
2006-02-14 13:51:38 +01:00
|
|
|
$(RM) $(DESTDIR)$(bindir)/function_grep.pl $(DESTDIR)$(bindir)/winedump$(EXEEXT) $(DESTDIR)$(mandir)/man$(prog_manext)/winedump.$(prog_manext)
|
2001-01-04 20:45:49 +01:00
|
|
|
|
|
|
|
### Dependencies:
|