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)
|
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
|
|
|
|
|
|
|
|
all: $(PROGRAMS)
|
|
|
|
|
|
|
|
@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
|
|
|
|
|
|
|
install:: $(PROGRAMS)
|
2004-02-17 23:49:33 +01:00
|
|
|
$(MKINSTALLDIRS) $(bindir) $(mandir)/man$(prog_manext)
|
2003-08-18 21:49:10 +02:00
|
|
|
$(INSTALL_PROGRAM) winedump$(EXEEXT) $(bindir)/winedump$(EXEEXT)
|
2004-02-17 23:49:33 +01:00
|
|
|
$(INSTALL_DATA) $(SRCDIR)/winedump.man $(mandir)/man$(prog_manext)/winedump.$(prog_manext)
|
2001-03-19 20:19:23 +01:00
|
|
|
$(INSTALL_SCRIPT) $(SRCDIR)/function_grep.pl $(bindir)/function_grep.pl
|
2001-01-04 20:45:49 +01:00
|
|
|
|
|
|
|
uninstall::
|
2003-08-18 21:49:10 +02:00
|
|
|
$(RM) $(bindir)/function_grep.pl $(bindir)/winedump$(EXEEXT)
|
2004-02-17 23:49:33 +01:00
|
|
|
$(RM) $(mandir)/man$(prog_manext)/winedump.$(prog_manext)
|
2001-01-04 20:45:49 +01:00
|
|
|
|
|
|
|
### Dependencies:
|