2009-10-05 14:55:25 +02:00
|
|
|
DEFS = -D__WINESRC__ $(EXTRADEFS)
|
2003-08-18 21:49:10 +02:00
|
|
|
|
|
|
|
PROGRAMS = winedump$(EXEEXT)
|
2005-10-06 18:10:01 +02:00
|
|
|
MANPAGES = winedump.man
|
2001-01-04 20:45:49 +01:00
|
|
|
|
|
|
|
C_SRCS = \
|
2001-09-07 18:04:38 +02:00
|
|
|
debug.c \
|
2007-01-05 21:42:19 +01:00
|
|
|
dos.c \
|
2005-03-07 12:03:53 +01:00
|
|
|
dump.c \
|
2005-01-04 21:32:25 +01:00
|
|
|
emf.c \
|
2009-05-11 13:56:23 +02:00
|
|
|
font.c \
|
2005-01-03 15:48:49 +01:00
|
|
|
le.c \
|
2006-11-28 11:40:13 +01:00
|
|
|
lib.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 \
|
2006-11-29 21:41:05 +01:00
|
|
|
msc.c \
|
2005-03-07 12:03:53 +01:00
|
|
|
msmangle.c \
|
2002-10-02 20:50:09 +02:00
|
|
|
ne.c \
|
2005-03-07 12:03:53 +01:00
|
|
|
output.c \
|
2006-11-29 21:40:58 +01:00
|
|
|
pdb.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
|
|
|
|
2008-08-25 14:27:03 +02:00
|
|
|
install install-dev:: $(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)
|
2010-09-19 12:40:12 +02:00
|
|
|
$(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)
|