1SUBDIRS = liblegacy . 2 3oprofiled_SOURCES = \ 4 init.c \ 5 oprofiled.c \ 6 oprofiled.h \ 7 opd_stats.c \ 8 opd_pipe.c \ 9 opd_pipe.h \ 10 opd_sfile.c \ 11 opd_sfile.h \ 12 opd_kernel.c \ 13 opd_kernel.h \ 14 opd_trans.c \ 15 opd_trans.h \ 16 opd_printf.h \ 17 opd_stats.h \ 18 opd_cookie.c \ 19 opd_cookie.h \ 20 opd_events.c \ 21 opd_events.h \ 22 opd_interface.h \ 23 opd_mangling.c \ 24 opd_mangling.h \ 25 opd_perfmon.h \ 26 opd_perfmon.c \ 27 opd_anon.h \ 28 opd_anon.c \ 29 opd_spu.c \ 30 opd_extended.h \ 31 opd_extended.c \ 32 opd_ibs.h \ 33 opd_ibs.c \ 34 opd_ibs_macro.h \ 35 opd_ibs_trans.h \ 36 opd_ibs_trans.c 37 38LIBS=@POPT_LIBS@ @LIBERTY_LIBS@ 39 40AM_CPPFLAGS = \ 41 -I ${top_srcdir}/libabi \ 42 -I ${top_srcdir}/libutil \ 43 -I ${top_srcdir}/libop \ 44 -I ${top_srcdir}/libdb 45 46# -fno-omit-frame-pointer needed for daemon build: see ChangeLog-2004 02-23 47AM_CFLAGS = @OP_CFLAGS@ -fno-omit-frame-pointer 48 49bin_PROGRAMS = oprofiled 50 51oprofiled_LDADD = \ 52 liblegacy/liblegacy.a \ 53 ../libabi/libabi.a \ 54 ../libdb/libodb.a \ 55 ../libop/libop.a \ 56 ../libutil/libutil.a 57 58oprofiled_LINK = $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ 59