OpenCores
URL https://opencores.org/ocsvn/or1k_old/or1k_old/trunk

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [insight/] [dejagnu/] [Makefile.am] - Blame information for rev 1765

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
## Process this file with automake to generate Makefile.in
2
 
3
AUTOMAKE_OPTIONS = cygnus
4
 
5
SUBDIRS = doc testsuite example
6
 
7
# driver script goes in /usr/local/bin
8
bin_SCRIPTS = runtest
9
 
10
# auxiliary scripts go in /usr/local/share/dejagnu
11
pkgdata_SCRIPTS = config.guess runtest.exp
12
 
13
# Below, host-independent data files that need to get installed.
14
# We do it this way so we can use globbing.
15
 
16
lib_dest = $(DESTDIR)$(pkgdatadir)
17
lib_files = $(srcdir)/*.c $(srcdir)/lib/*.exp
18
 
19
baseboards_dest = $(DESTDIR)$(pkgdatadir)/baseboards
20
baseboards_files = $(srcdir)/baseboards/README $(srcdir)/baseboards/*.exp
21
 
22
config_dest = $(DESTDIR)$(pkgdatadir)/config
23
config_files = $(srcdir)/config/README $(srcdir)/config/*.exp
24
 
25
install-data-local:
26
        $(mkinstalldirs) $(lib_dest)
27
        for f in $(lib_files); do \
28
          test ! -f "$$f" || $(INSTALL_DATA) $$f $(lib_dest); \
29
        done
30
        #
31
        $(mkinstalldirs) $(baseboards_dest)
32
        for f in $(baseboards_files); do \
33
          test ! -f "$$f" || $(INSTALL_DATA) $$f $(baseboards_dest); \
34
        done
35
        #
36
        $(mkinstalldirs) $(config_dest)
37
        for f in $(config_files); do \
38
          test ! -f "$$f" || $(INSTALL_DATA) $$f $(config_dest); \
39
        done
40
 
41
uninstall-local:
42
        for f in $(lib_files); do \
43
          test ! -f "$$f" || rm -f $(lib_dest)/`basename "$$f"`; \
44
        done
45
        for f in $(config_files); do \
46
          test ! -f "$$f" || rm -f $(config_dest)/`basename "$$f"`; \
47
        done
48
        for f in $(baseboards_files); do \
49
          test ! -f "$$f" || rm -f $(baseboards_dest)/`basename "$$f"`; \
50
        done

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.