1 ## automake - create Makefile.in from Makefile.am
2 ## Copyright (C) 1994, 1995, 1996, 1998, 1999, 2001, 2003, 2004
3 ## Free Software Foundation, Inc.
5 ## This program is free software; you can redistribute it and/or modify
6 ## it under the terms of the GNU General Public License as published by
7 ## the Free Software Foundation; either version 2, or (at your option)
10 ## This program is distributed in the hope that it will be useful,
11 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 ## GNU General Public License for more details.
15 ## You should have received a copy of the GNU General Public License
16 ## along with this program; if not, write to the Free Software
17 ## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
29 am__installdirs += "$(DESTDIR)$(%NDIR%dir)"
30 ?BASE?%DIR%%PRIMARY%_INSTALL = $(INSTALL_%ONE_PRIMARY%)
31 ?!BASE?%DIR%%PRIMARY%_INSTALL = $(install_sh_DATA)
32 ?EXEC?.PHONY install-exec-am: install-%DIR%%PRIMARY%
33 ?!EXEC?.PHONY install-data-am: install-%DIR%%PRIMARY%
34 install-%DIR%%PRIMARY%: $(%DIR%_%PRIMARY%)
36 test -z "$(%NDIR%dir)" || $(mkdir_p) "$(DESTDIR)$(%NDIR%dir)"
37 ?!BASE? @$(am__vpath_adj_setup) \
38 ## Funny invocation because Makefile variable can be empty, leading to
39 ## a syntax error in sh.
40 ?!BASE? list='$(%DIR%_%PRIMARY%)'; for p in $$list; do \
41 ?BASE? @list='$(%DIR%_%PRIMARY%)'; for p in $$list; do \
42 ## A file can be in the source directory or the build directory.
43 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
44 ## If the _%PRIMARY% variable has an entry like foo/bar, install it as
45 ## $(destdir)/bar, not $(destdir)/foo/bar. The user can make a
46 ## new dir variable or use a nobase_ target for the latter case.
47 ?BASE? f=$(am__strip_dir) \
48 ?!BASE? $(am__vpath_adj) \
49 echo " $(%DIR%%PRIMARY%_INSTALL) '$$d$$p' '$(DESTDIR)$(%NDIR%dir)/$$f'"; \
50 $(%DIR%%PRIMARY%_INSTALL) "$$d$$p" "$(DESTDIR)$(%NDIR%dir)/$$f"; \
60 .PHONY uninstall-am: uninstall-%DIR%%PRIMARY%
61 uninstall-%DIR%%PRIMARY%:
63 ?!BASE? @$(am__vpath_adj_setup) \
64 ?!BASE? list='$(%DIR%_%PRIMARY%)'; for p in $$list; do \
65 ?BASE? @list='$(%DIR%_%PRIMARY%)'; for p in $$list; do \
66 ?BASE? f=$(am__strip_dir) \
67 ?!BASE? $(am__vpath_adj) \
68 echo " rm -f '$(DESTDIR)$(%NDIR%dir)/$$f'"; \
69 rm -f "$(DESTDIR)$(%NDIR%dir)/$$f"; \
86 DIST_COMMON += %DISTVAR%