Home | History | Annotate | Download | only in tests
      1 ## Process this file with automake to create Makefile.in
      2 ## Configure input file for elfutils.
      3 ##
      4 ## Copyright (C) 1996-2002, 2003, 2004 Red Hat, Inc.
      5 ##
      6 ## This program is Open Source software; you can redistribute it and/or
      7 ## modify it under the terms of the Open Software License version 1.0 as
      8 ## published by the Open Source Initiative.
      9 ##
     10 ## You should have received a copy of the Open Software License along
     11 ## with this program; if not, you may obtain a copy of the Open Software
     12 ## License version 1.0 from http://www.opensource.org/licenses/osl.php or
     13 ## by writing the Open Source Initiative c/o Lawrence Rosen, Esq.,
     14 ## 3001 King Ranch Road, Ukiah, CA 95482.
     15 ##
     16 DEFS = -DHAVE_CONFIG_H -D_GNU_SOURCE
     17 AM_CFLAGS = -Wall -Werror -std=gnu99
     18 if !MUDFLAP
     19 AM_LDFLAGS = -Wl,-rpath,\$$ORIGIN/../libasm:\$$ORIGIN/../libdw:\$$ORIGIN/../libebl:\$$ORIGIN/../libelf
     20 endif
     21 INCLUDES = -I$(top_srcdir)/libasm -I$(top_srcdir)/libdw \
     22 	   -I$(top_srcdir)/libebl -I$(top_srcdir)/libelf \
     23 	   -I$(top_srcdir)/lib -I..
     24 
     25 noinst_PROGRAMS = arextract arsymtest newfile saridx scnnames sectiondump \
     26 		  showptable update1 update2 update3 update4 test-nlist \
     27 		  show-die-info get-files get-lines get-pubnames \
     28 		  get-aranges \
     29 		  show-abbrev hash asm-tst1 asm-tst2 asm-tst3 \
     30 		  asm-tst4 asm-tst5 asm-tst6 asm-tst7 asm-tst8 asm-tst9 \
     31 		  msg_tst newscn ecp
     32 # get-ciefde
     33 
     34 TESTS = run-arextract.sh run-arsymtest.sh newfile test-nlist \
     35 	update1 update2 update3 update4 \
     36 	run-show-die-info.sh run-get-files.sh run-get-lines.sh \
     37 	run-get-pubnames.sh run-get-aranges.sh \
     38 	run-show-abbrev.sh hash asm-tst1 asm-tst2 \
     39 	asm-tst3 asm-tst4 asm-tst5 asm-tst6 asm-tst7 asm-tst8 asm-tst9 \
     40 	msg_tst newscn run-strip-test.sh run-strip-test2.sh \
     41 	run-strip-test3.sh run-ecp-test.sh run-ecp-test2.sh
     42 # run-show-ciefde.sh
     43 
     44 EXTRA_DIST = run-arextract.sh run-arsymtest.sh \
     45 	     run-show-die-info.sh run-get-files.sh run-get-lines.sh \
     46 	     run-get-pubnames.sh run-get-aranges.sh \
     47 	     run-show-ciefde.sh run-show-abbrev.sh run-strip-test.sh \
     48 	     run-strip-test2.sh run-ecp-test.sh run-ecp-test2.sh \
     49 	     testfile.bz2 testfile2.bz2 testfile3.bz2 testfile4.bz2 \
     50 	     testfile5.bz2 testfile6.bz2 testfile7.bz2 testfile8.bz2 \
     51 	     testfile9.bz2 testfile10.bz2 testfile11.bz2 testfile12.bz2 \
     52 	     testfile13.bz2 run-strip-test3.sh
     53 
     54 if MUDFLAP
     55 libdw = ../libdw/libdw.a
     56 libelf = ../libelf/libelf.a
     57 libasm = ../libasm/libasm.a
     58 else
     59 libdw = ../libdw/libdw.so
     60 libelf = ../libelf/libelf.so
     61 libasm = ../libasm/libasm.so
     62 endif
     63 libebl = ../libebl/libebl.a
     64 
     65 arextract_LDADD = $(libelf)
     66 arsymtest_LDADD = $(libelf)
     67 newfile_LDADD = $(libelf)
     68 saridx_LDADD = $(libelf)
     69 scnnames_LDADD = $(libelf)
     70 sectiondump_LDADD = $(libelf)
     71 showptable_LDADD = $(libelf)
     72 hash_LDADD = $(libelf)
     73 test_nlist_LDADD = $(libelf)
     74 msg_tst_LDADD = $(libelf)
     75 newscn_LDADD = $(libelf)
     76 ecp_LDADD = $(libelf)
     77 update1_LDADD = $(libelf)
     78 update2_LDADD = $(libelf)
     79 update3_LDADD = $(libebl) $(libelf)
     80 update4_LDADD = $(libebl) $(libelf)
     81 show_die_info_LDADD = $(libdw) $(libelf)
     82 get_pubnames_LDADD = $(libdw) $(libelf)
     83 show_abbrev_LDADD = $(libdw) $(libelf)
     84 get_lines_LDADD = $(libdw) $(libelf)
     85 get_files_LDADD = $(libdw) $(libelf)
     86 get_aranges_LDADD = $(libdw) $(libelf)
     87 #show_ciefde_LDADD = ../libdwarf/libdwarf.so $(libelf)
     88 asm_tst1_LDADD = $(libasm) $(libebl) $(libelf)
     89 asm_tst2_LDADD = $(libasm) $(libebl) $(libelf)
     90 asm_tst3_LDADD = $(libasm) $(libebl) $(libelf)
     91 asm_tst4_LDADD = $(libasm) $(libebl) $(libelf)
     92 asm_tst5_LDADD = $(libasm) $(libebl) $(libelf)
     93 asm_tst6_LDADD = $(libasm) $(libebl) $(libelf)
     94 asm_tst7_LDADD = $(libasm) $(libebl) $(libelf)
     95 asm_tst8_LDADD = $(libasm) $(libebl) $(libelf)
     96 asm_tst9_LDADD = $(libasm) $(libebl) $(libelf)
     97 
     98 CLEANFILES = xxx
     99