njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 1 | |
njn | f2df9b5 | 2002-10-04 11:35:47 +0000 | [diff] [blame] | 2 | SUBDIRS = . docs tests |
njn | 782eb00 | 2002-09-30 10:48:07 +0000 | [diff] [blame] | 3 | |
njn | a63e2d7 | 2003-06-12 14:13:05 +0000 | [diff] [blame] | 4 | AM_CPPFLAGS = -I$(top_srcdir)/include -DVG_LIBDIR="\"$(libdir)"\" |
| 5 | AM_CFLAGS = $(WERROR) -Winline -Wall -Wshadow -O -fomit-frame-pointer \ |
| 6 | @PREFERRED_STACK_BOUNDARY@ -g |
daywalker | a0d3ab6 | 2002-04-21 13:32:28 +0000 | [diff] [blame] | 7 | |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 8 | valdir = $(libdir)/valgrind |
fitzhardinge | 98abfc7 | 2003-12-16 02:05:15 +0000 | [diff] [blame^] | 9 | inplacedir = $(top_srcdir)/.in_place |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 10 | |
njn25 | cac76cb | 2002-09-23 11:21:57 +0000 | [diff] [blame] | 11 | val_PROGRAMS = vgskin_lackey.so |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 12 | |
njn25 | cac76cb | 2002-09-23 11:21:57 +0000 | [diff] [blame] | 13 | vgskin_lackey_so_SOURCES = lk_main.c |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 14 | vgskin_lackey_so_LDFLAGS = -shared |
| 15 | |
fitzhardinge | 98abfc7 | 2003-12-16 02:05:15 +0000 | [diff] [blame^] | 16 | |
| 17 | all-local: |
| 18 | mkdir -p $(inplacedir) |
| 19 | -rm -f $(inplacedir)/$(val_PROGRAMS) |
| 20 | ln -f -s $(top_srcdir)/$(subdir)/$(val_PROGRAMS) $(inplacedir)/$(val_PROGRAMS) |