Nicholas Nethercote 1d9d123bac Don't need a foo_SOURCES line if the program has only a single source file
named foo.c.

Now again using the right flags for building fpu_lazy_eflags.c, too.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4086
2005-07-02 18:24:58 +00:00

20 lines
464 B
Makefile

SUBDIRS = ${VG_ARCH} .
DIST_SUBDIRS = ${VG_ARCH_ALL} .
noinst_SCRIPTS = filter_stderr filter_cachesim_discards
EXTRA_DIST = $(noinst_SCRIPTS) \
chdir.vgtest chdir.stderr.exp \
dlclose.vgtest dlclose.stderr.exp dlclose.stdout.exp
check_PROGRAMS = \
chdir dlclose myprint.so
AM_CFLAGS = $(WERROR) -Winline -Wall -Wshadow -g
# C ones
dlclose_LDADD = -ldl
myprint_so_SOURCES = myprint.c
myprint_so_LDFLAGS = -shared -fPIC
myprint_so_CFLAGS = -fPIC