1 ## automake - create Makefile.in from Makefile.am
2 ## Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2001
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., 59 Temple Place - Suite 330, Boston, MA
25 _am_installdirs += $(DESTDIR)$(%NDIR%dir)
26 ?EXEC?.PHONY install-exec-am: install-%DIR%LTLIBRARIES
27 ?!EXEC?.PHONY install-data-am: install-%DIR%LTLIBRARIES
28 install-%DIR%LTLIBRARIES: $(%DIR%_LTLIBRARIES)
30 $(mkinstalldirs) $(DESTDIR)$(%NDIR%dir)
31 ## Funny invocation because Makefile variable can be empty, leading to
32 ## a syntax error in sh.
33 @list='$(%DIR%_LTLIBRARIES)'; for p in $$list; do \
34 if test -f $$p; then \
35 ## Note that we explicitly set the libtool mode. This avoids any lossage
36 ## if the program doesn't have a name that libtool expects.
37 ## Use INSTALL and not INSTALL_DATA because libtool knows the right
38 ## permissions to use.
39 ?LIBTOOL? echo " $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(%NDIR%dir)/$$p"; \
40 ?LIBTOOL? $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(%NDIR%dir)/$$p; \
41 ?!LIBTOOL? echo " $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(%NDIR%dir)/$$p"; \
42 ?!LIBTOOL? $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(%NDIR%dir)/$$p; \
53 .PHONY uninstall-am: uninstall-%DIR%LTLIBRARIES
54 uninstall-%DIR%LTLIBRARIES:
56 @list='$(%DIR%_LTLIBRARIES)'; for p in $$list; do \
57 ?LIBTOOL? echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(%NDIR%dir)/$$p"; \
58 ?LIBTOOL? $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(%NDIR%dir)/$$p; \
59 ?!LIBTOOL? echo " rm -f $(DESTDIR)$(%NDIR%dir)/$$p"; \
60 ?!LIBTOOL? rm -f $(DESTDIR)$(%NDIR%dir)/$$p; \
69 .PHONY clean-am: clean-%DIR%LTLIBRARIES
70 clean-%DIR%LTLIBRARIES:
71 -test -z "$(%DIR%_LTLIBRARIES)" || rm -f $(%DIR%_LTLIBRARIES)