1 ## automake - create Makefile.in from Makefile.am
2 ## Copyright (C) 1994, 1995, 1996, 1998, 1999, 2001, 2003, 2004, 2006, 2007
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 3, 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, see <http://www.gnu.org/licenses/>.
27 am__installdirs += "$(DESTDIR)$(%NDIR%dir)"
28 ?BASE?%DIR%%PRIMARY%_INSTALL = $(INSTALL_%ONE_PRIMARY%)
29 ?!BASE?%DIR%%PRIMARY%_INSTALL = $(install_sh_DATA)
30 .PHONY install-%EXEC?exec:data%-am: install-%DIR%%PRIMARY%
31 install-%DIR%%PRIMARY%: $(%DIR%_%PRIMARY%)
33 test -z "$(%NDIR%dir)" || $(MKDIR_P) "$(DESTDIR)$(%NDIR%dir)"
34 ?!BASE? @$(am__vpath_adj_setup) \
35 ## Funny invocation because Makefile variable can be empty, leading to
36 ## a syntax error in sh.
37 %BASE?@%list='$(%DIR%_%PRIMARY%)'; for p in $$list; do \
38 ## A file can be in the source directory or the build directory.
39 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
40 ## If the _%PRIMARY% variable has an entry like foo/bar, install it as
41 ## $(destdir)/bar, not $(destdir)/foo/bar. The user can make a
42 ## new dir variable or use a nobase_ target for the latter case.
43 %BASE?$(am__strip_dir):$(am__vpath_adj)% \
44 echo " $(%DIR%%PRIMARY%_INSTALL) '$$d$$p' '$(DESTDIR)$(%NDIR%dir)/$$f'"; \
45 $(%DIR%%PRIMARY%_INSTALL) "$$d$$p" "$(DESTDIR)$(%NDIR%dir)/$$f"; \
55 .PHONY uninstall-am: uninstall-%DIR%%PRIMARY%
56 uninstall-%DIR%%PRIMARY%:
58 ?!BASE? @$(am__vpath_adj_setup) \
59 %BASE?@%list='$(%DIR%_%PRIMARY%)'; for p in $$list; do \
60 %BASE?$(am__strip_dir):$(am__vpath_adj)% \
61 echo " rm -f '$(DESTDIR)$(%NDIR%dir)/$$f'"; \
62 rm -f "$(DESTDIR)$(%NDIR%dir)/$$f"; \
79 DIST_COMMON += %DISTVAR%