blob: 8998f3df2193a1386cea3a9807dff11eea1dca71 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
#
# Makefile.in uses very simple make rules.
# There are no restrictions on copying this file.
#
# Standard Makefile.in stuff:
srcdir = @srcdir@
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = $(exec_prefix)/bin
libdir = $(exec_prefix)/lib
mandir = $(exec_prefix)/share/man
man1dir = $(mandir)/man1
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
DATAROOT = @datarootdir@
SHELL = /bin/sh
CXX = @CXX@
AR = @AR@
#ARFLAGS = @ARFLAGS@
RM = rm
RANLIB = @RANLIB@
DEFS = @DEFS@
LIBS = @LIBS@ -L ../libdwarf -ldwarf -lelf
INCLUDES = -I. -I$(srcdir) -I$(srcdir)/../libdwarf
CXXFLAGS = @CXXFLAGS@ $(INCLUDES)
LDFLAGS = @LDFLAGS@ $(LIBS)
DIRINC = $(srcdir)/../libdwarf
INSTALL = cp
binprefix =
DGOBJECTS = \
createirepformfrombinary.o \
createirepfrombinary.o \
dwarfgen.o \
irepattrtodbg.o \
ireptodbg.o
HEADERS = \
createirepfrombinary.h\
general.h \
irepattrtodbg.h \
irepdie.h \
irepframe.h \
irepform.h \
irepmacro.h \
irepresentation.h \
ireptodbg.h \
strtabdata.h
all: dwarfgen
default: $(TARGETS)
dwarfgen: $(HEADERS) $(DGOBJECTS)
$(CXX) $(CXXFLAGS) -o $@ $(DGOBJECTS) $(LDFLAGS)
test:
install: all
$(INSTALL) $(srcdir)/dwarfgen.conf $(libdir)/dwarfgen.conf
$(INSTALL) $(srcdir)/dwarfgen.1 $(man1dir)/dwarfgen.1
$(INSTALL) dwarfgen $(bindir)/dwarfgen
clean:
-rm -f *.o dwarfgen
uninstall:
-rm -f $(libdir)/dwarfgen.conf
-rm -f $(man1dir)/dwarfgen.1
-rm -f $(bindir)/dwarfgen
distclean: clean
-rm -f config.log config.h config.cache config.status
rm -rf autom4te.cache
rm -f Makefile
shar:
@echo "shar not set up."
dist:
@echo "dist not set up."
|