38 lines
677 B
Makefile
38 lines
677 B
Makefile
TOPSRCDIR = @top_srcdir@
|
|
TOPOBJDIR = ../..
|
|
SRCDIR = @srcdir@
|
|
VPATH = @srcdir@
|
|
EXEEXT = @EXEEXT@
|
|
|
|
PROGRAMS = winedump$(EXEEXT)
|
|
|
|
MODULE = none
|
|
|
|
C_SRCS = \
|
|
debug.c \
|
|
main.c \
|
|
misc.c \
|
|
msmangle.c \
|
|
ne.c \
|
|
output.c \
|
|
pe.c \
|
|
search.c \
|
|
symbol.c
|
|
|
|
all: $(PROGRAMS)
|
|
|
|
@MAKE_RULES@
|
|
|
|
winedump$(EXEEXT): $(OBJS)
|
|
$(CC) $(CFLAGS) -o winedump$(EXEEXT) $(OBJS) $(LIBPORT) $(LDFLAGS)
|
|
|
|
install:: $(PROGRAMS)
|
|
$(MKINSTALLDIRS) $(bindir)
|
|
$(INSTALL_PROGRAM) winedump$(EXEEXT) $(bindir)/winedump$(EXEEXT)
|
|
$(INSTALL_SCRIPT) $(SRCDIR)/function_grep.pl $(bindir)/function_grep.pl
|
|
|
|
uninstall::
|
|
$(RM) $(bindir)/function_grep.pl $(bindir)/winedump$(EXEEXT)
|
|
|
|
### Dependencies:
|