SourceForge has been redesigned. Learn more.
Close

[de0c3c]: / dae / Makefile.in  Maximize  Restore  History

Download this file

46 lines (30 with data), 1.2 kB

 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
# $Id: Makefile.in,v 1.29 2002/05/02 02:19:05 movement Exp $
INSTALL_LIST=oprofiled op_start op_dump op_stop op_session
CFLAGS=-Wall -Wstrict-prototypes -pipe -Wunused -W -Wshadow -Wmissing-prototypes -Winline @CFLAGS@
LIBS=@extra_libraries@ -lpopt -liberty
SOURCES=oprofiled.c opd_util.c opd_proc.c opd_kernel.c op_session.c
OBJS=oprofiled.o opd_util.o opd_proc.o opd_kernel.o ../events/op_events.o ../events/op_events_desc.o ../util/op_popt.o ../util/misc.o
.PHONY: all clean srcdoc install uninstall
all: oprofiled op_session
install: all
-$(MKDIR_P) $(BINDIR)
for f in $(INSTALL_LIST); do \
cp $$f $(BINDIR)/$$f && chmod 755 $(BINDIR)/$$f; \
done
uninstall:
for f in $(INSTALL_LIST); do \
rm -f $(BINDIR)/$$f; \
done
clean:
rm -rf oprofiled *.o .deps oprofiled-src.html
srcdoc: oprofiled-src.html
oprofiled-src.html: $(SOURCES)
../scripts/dodoc -html $(SOURCES) >oprofiled-src.html
oprofiled: $(OBJS) ../libdb/libdb.a
$(CC) $(CFLAGS) $(INCLUDES) -g -o $@ $^ $(LIBS)
op_session: op_session.o opd_util.o ../util/op_popt.o
$(CC) $(CFLAGS) $(INCLUDES) -g -o $@ $^ $(LIBS)
%.o: %c
$(CC) -c $(CFLAGS) -g $< -o $@
ALL_SOURCES = $(SOURCES)
include ../Rules.make