Makefile.in 1.09 KB
Newer Older
1 2 3 4
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR    = @srcdir@
VPATH     = @srcdir@
5 6 7
EXEEXT    = @EXEEXT@

PROGRAMS = winedump$(EXEEXT)
8
MANPAGES = winedump.man
9 10 11
MODULE   = none

C_SRCS = \
12
	debug.c \
13
	dos.c \
14
	dump.c \
15
	emf.c \
Robert Reif's avatar
Robert Reif committed
16
	le.c \
17
	lib.c \
18
	lnk.c \
19 20 21
	main.c \
	minidump.c \
	misc.c \
22
	msc.c \
23
	msmangle.c \
24
	ne.c \
25
	output.c \
26
	pdb.c \
27
	pe.c \
28
	search.c \
29 30
	symbol.c

31 32
INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)

33
all: $(PROGRAMS) $(MANPAGES)
34 35 36

@MAKE_RULES@

37 38
winedump$(EXEEXT): $(OBJS)
	$(CC) $(CFLAGS) -o winedump$(EXEEXT) $(OBJS) $(LIBPORT) $(LDFLAGS)
39

40
install:: $(PROGRAMS) $(MANPAGES) $(INSTALLDIRS)
41 42 43
	$(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
44 45

uninstall::
46
	$(RM) $(DESTDIR)$(bindir)/function_grep.pl $(DESTDIR)$(bindir)/winedump$(EXEEXT) $(DESTDIR)$(mandir)/man$(prog_manext)/winedump.$(prog_manext)
47

48
@DEPENDENCIES@  # everything below this line is overwritten by make depend