# $MirOS: src/gnu/usr.bin/binutils/libiberty/Makefile,v 1.10 2009/02/24 20:00:58 tg Exp $ .include "../Makefile.inc" LIB= iberty LIBDIR= ${BSD_PREFIX}/lib/gcc/${OStriplet}/3.4.6 NOPIC= Yes SRCS= argv.c concat.c cp-demangle.c \ cp-demint.c cplus-dem.c dyn-string.c fdmatch.c fibheap.c \ floatformat.c fopen_unlocked.c getpwd.c getruntime.c \ hashtab.c hex.c lbasename.c lrealpath.c \ make-relative-prefix.c make-temp-file.c objalloc.c \ obstack.c partition.c pex-common.c pex-one.c pex-unix.c \ pexecute.c physmem.c safe-ctype.c sort.c spaces.c \ splay-tree.c strerror.c \ strsignal.c strverscmp.c ternary.c unlink-if-ordinary.c \ xatexit.c xexit.c xmalloc.c xmemdup.c xstrdup.c xstrerror.c \ xstrndup.c CPPFLAGS+= -DHAVE_CONFIG_H -I${GNU_LIBIBERTY_SRC} -I${GNU_LIBIBERTY_INC} .PATH: ${GNU_LIBIBERTY_SRC} .PATH: ${GNU_LIBIBERTY_SRC}/testsuite .PATH: ${GNUSYSTEM_AUX_DIR} CLEANFILES+= test-demangle test-demangle.o test-pexecute test-pexecute.o beforeinstall: mkdir -p ${DESTDIR}${LIBDIR} check: test-demangle demangle-expected test-pexecute ./test-demangle <${GNU_LIBIBERTY_SRC}/testsuite/demangle-expected ./test-pexecute test-demangle: test-demangle.o ${_LIBS} ${CC} -L. -o $@ test-demangle.o -liberty test-demangle.o: test-demangle.c test-pexecute: test-pexecute.o ${_LIBS} ${CC} -L. -o $@ test-pexecute.o -liberty test-pexecute.o: test-pexecute.c .depend: test-demangle.c test-pexecute.c .include