File: Makefile.am

package info (click to toggle)
libast 0.7-9
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,732 kB
  • sloc: ansic: 13,136; sh: 10,332; makefile: 78
file content (32 lines) | stat: -rw-r--r-- 753 bytes parent folder | download | duplicates (6)
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
26
27
28
29
30
31
32
# $Id: Makefile.am,v 1.13 2005/05/12 12:58:22 azundris Exp $

AUTOMAKE_OPTIONS = foreign
SUBDIRS = include src test

bin_SCRIPTS = libast-config

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

EXTRA_DIST = DESIGN README $(MACROS) libast.spec
MAINTAINERCLEANFILES = Makefile.in *~ aclocal.m4 config.guess config.sub configure depcomp \
    install-sh ltconfig ltmain.sh missing mkinstalldirs stamp-h* *.log config.h.in

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

uninstall-hook:
	for i in $(MACROS) ; do \
	    rm -f $(DESTDIR)$(macrodir)/$$i ; \
	done

.PHONY: test