Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'oprofile/org.eclipse.linuxtools.oprofile.core/natives/linux/opxml/Makefile')
-rw-r--r--oprofile/org.eclipse.linuxtools.oprofile.core/natives/linux/opxml/Makefile78
1 files changed, 78 insertions, 0 deletions
diff --git a/oprofile/org.eclipse.linuxtools.oprofile.core/natives/linux/opxml/Makefile b/oprofile/org.eclipse.linuxtools.oprofile.core/natives/linux/opxml/Makefile
new file mode 100644
index 0000000000..e532b37a61
--- /dev/null
+++ b/oprofile/org.eclipse.linuxtools.oprofile.core/natives/linux/opxml/Makefile
@@ -0,0 +1,78 @@
+# Makefile for Eclipse Oprofile wrapper library
+# Written by Keith Seitz <keiths@redhat.com>
+# Edited by Kent Sebastian <ksebasti@redhat.com>
+#
+# Copyright (c) 2004,2008 Red Hat, Inc.
+
+CFLAGS += -g -Wall
+CXXFLAGS = $(CFLAGS)
+
+OPROFILE_LIBS = -lop -lodb -loputil++ -loputil
+BFD_LIBRARY = -lbfd
+LIBIBERTY = -liberty
+OTHER_LIBS = $(BFD_LIBRARY)
+EXTRA_LIBS = $(OPROFILE_LIBS) $(OTHER_LIBS) $(LIBIBERTY)
+
+OPXML = opxml
+OPXML_OBJS = opxml.o
+OPROFILE_LIB_OBJS = stable.o oprofiledb.o symbol.o sample.o \
+ session.o samplefile.o imageheader.o opinfo.o \
+ xmlfmt.o xmlbuf.o xmltag.o \
+ sevent.o profileimage.o
+
+all: $(OPXML)
+
+$(OPXML): $(OPROFILE_LIB_OBJS) $(OPXML_OBJS)
+ $(CXX) -o $(OPXML) $(OPXML_OBJS) $(OPROFILE_LIB_OBJS) \
+ $(EXTRA_LIBS)
+
+clean:
+ $(RM) $(OPROFILE_LIB_OBJS) $(OPXML) $(OPXML_OBJS) $(OPXML_EXEC) *~
+
+install:
+ sh move_opxml.sh
+
+# Dependencies
+opxml.o: oxmlstream.h opinfo.h session.h sample.h sevent.h opxml.cc
+
+imageheader.o: xmlfmt.h imageheader.h imageheader.cc
+imageheader.h: samplefile.h
+
+opinfo.o: opinfo.h opinfo.cc
+opinfo.h:
+
+oprofiledb.o: oprofiledb.h sample.h stable.h oprofiledb.cc
+oprofiledb.h: xmlbuf.h xmlfmt.h
+
+oxmlstream.h: xmlbuf.h xmlfmt.h
+
+profileimage.o: xmlfmt.h profileimage.h profileimage.cc sample.h
+profileimage.h: samplefile.h
+
+sample.o: xmlfmt.h sample.h sample.cc symbol.h symbol.cc
+sample.h:
+
+samplefile.o: sample.h stable.h xmlfmt.h samplefile.h samplefile.cc
+samplefile.h: oprofiledb.h
+
+session.o: sevent.h opinfo.h xmlfmt.h session.h session.cc
+session.h: samplefile.h
+
+sevent.o: session.h xmlfmt.h sevent.h sevent.cc
+sevent.h: profileimage.h
+
+stable.o: stable.h symbol.h stable.cc
+stable.h:
+
+symbol.o: xmlfmt.h symbol.h symbol.cc
+symbol.h: sample.h
+
+xmlbuf.o: xmltag.h xmlbuf.h xmlbuf.cc
+xmlbuf.h:
+
+xmlfmt.o: xmlbuf.h xmlfmt.h xmlfmt.cc
+xmlfmt.h:
+
+xmltag.o: xmltag.h xmltag.cc
+xmltag.h:
+

Back to the top