File: Makefile.am

package info (click to toggle)
libast 0.6-0pre2003010606sarge1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,096 kB
  • ctags: 1,269
  • sloc: ansic: 9,888; sh: 8,265; makefile: 57
file content (25 lines) | stat: -rw-r--r-- 465 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $Id: Makefile.am,v 1.10 2002/09/30 15:54:18 mej Exp $

AUTOMAKE_OPTIONS = foreign
SUBDIRS = include src 

bin_SCRIPTS = libast-config

MACROS = libast.m4
macrodir = $(datadir)/aclocal

EXTRA_DIST = DESIGN README $(MACROS)

test: all
	cd test && $(MAKE) test

perf: all
	cd test && $(MAKE) perf

install-data-hook:
	$(mkinstalldirs) $(DESTDIR)$(macrodir)
	for i in $(MACROS) ; do \
	    $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(macrodir)/ ; \
	done

.PHONY: test