1 AM_CPPFLAGS = \ 2 -I ${top_srcdir}/libop \ 3 -I ${top_srcdir}/libutil \ 4 -I ${top_srcdir}/libdb \ 5 -I ${top_srcdir}/libopt++ \ 6 -I ${top_srcdir}/libutil++ \ 7 -I ${top_srcdir}/libregex \ 8 -I ${top_srcdir}/libpp 9 10 AM_CXXFLAGS = @OP_CXXFLAGS@ 11 12 bin_PROGRAMS = opreport opannotate opgprof oparchive 13 14 LIBS=@POPT_LIBS@ @BFD_LIBS@ 15 16 pp_common = common_option.cpp common_option.h 17 18 common_libs = \ 19 ../libpp/libpp.a \ 20 ../libopt++/libopt++.a \ 21 ../libregex/libop_regex.a \ 22 ../libutil++/libutil++.a \ 23 ../libop/libop.a \ 24 ../libutil/libutil.a \ 25 ../libdb/libodb.a 26 27 opreport_SOURCES = opreport.cpp \ 28 opreport_options.h opreport_options.cpp \ 29 $(pp_common) 30 opreport_LDADD = $(common_libs) 31 32 opannotate_SOURCES = opannotate.cpp \ 33 opannotate_options.h opannotate_options.cpp \ 34 $(pp_common) 35 opannotate_LDADD = $(common_libs) 36 37 opgprof_SOURCES = opgprof.cpp \ 38 opgprof_options.h opgprof_options.cpp \ 39 $(pp_common) 40 opgprof_LDADD = $(common_libs) 41 42 oparchive_SOURCES = oparchive.cpp \ 43 oparchive_options.h oparchive_options.cpp \ 44 $(pp_common) 45 oparchive_LDADD = $(common_libs) 46