verzia 1.3, 2002/10/04 20:10:54 |
verzia 1.4, 2002/12/07 15:04:44 |
|
|
# PARTICULAR PURPOSE. |
# PARTICULAR PURPOSE. |
|
|
# Makefile for libplaton library. |
# Makefile for libplaton library. |
# $Platon: $ |
# $Platon: libplaton/utils/Makefile.in,v 1.3 2002/10/04 20:10:54 rajo Exp $ |
|
|
PACKAGE = @PACKAGE@ |
PACKAGE = @PACKAGE@ |
VERSION = @VERSION@ |
VERSION = @VERSION@ |
|
|
|
|
SOURCES = |
SOURCES = |
|
|
OBJECTS = |
|
|
|
# SunOS 4 make does not allow multiple makefiles to be specified in one include directive. |
|
DEP_FILES = |
|
|
|
include_HEADERS = |
|
include_SYMLINK = |
|
noinst_HEADERS = |
|
|
|
SCRIPTS = |
|
|
|
# }}} Targets |
# }}} Targets |
|
|
all: configure-scripts makefiles all-subdirs |
all: configure-scripts makefiles all-subdirs |
Riadok 79 Makefile: Makefile.in $(top_builddir)/c |
|
Riadok 68 Makefile: Makefile.in $(top_builddir)/c |
|
&& CONFIG_FILES=utils/Makefile CONFIG_HEADERS= \ |
&& CONFIG_FILES=utils/Makefile CONFIG_HEADERS= \ |
$(SHELL) ./config.status |
$(SHELL) ./config.status |
|
|
# Section: Install {{{ |
|
install: all installdirs install-exec install-data install-symlinks |
|
uninstall: uninstall-includeHEADERS uninstall-exec uninstall-symlinks uninstall-dirs |
|
|
|
installcheck: |
|
@echo; echo; \ |
|
echo "These files was installed to: "; \ |
|
echo " $(DESTDIR)$(libdir)"; \ |
|
echo " $(DESTDIR)$(includedir)"; \ |
|
echo " $(DESTDIR)$(includedir_platon)"; \ |
|
echo " $(DESTDIR)$(mandir)/man3"; \ |
|
dashes="---------------------------------------------------------------"; \ |
|
echo "$$dashes"; \ |
|
find \ |
|
$(DESTDIR)$(libdir) \ |
|
$(DESTDIR)$(includedir) \ |
|
$(DESTDIR)$(includedir_platon) \ |
|
$(DESTDIR)$(mandir)/man3 -print ;\ |
|
echo "$$dashes"; |
|
|
|
install-exec: install-lib |
|
uninstall-exec: uninstall-lib |
|
|
|
install-lib: $(install_LIB) |
|
@$(NORMAL_INSTALL) |
|
@$(mkinstalldirs) $(DESTDIR)$(libdir) |
|
@list='$(install_LIB)'; for p in $$list; do \ |
|
if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \ |
|
echo " Installing file $(DESTDIR)$(libdir)/$$p"; \ |
|
$(INSTALL_DATA) $$d$$p $(DESTDIR)$(libdir)/$$p; \ |
|
done |
|
uninstall-lib: |
|
@$(NORMAL_UNINSTALL) |
|
@list='$(install_LIB)'; for p in $$list; do \ |
|
echo " rm -f $(DESTDIR)$(libdir)/$$p"; \ |
|
rm -f $(DESTDIR)$(libdir)/$$p; \ |
|
done |
|
|
|
|
|
install-data: install-includeHEADERS |
|
|
|
install-strip: |
|
$(MAKE) AM_INSTALL_PROGRAM_FLAGS=-s install |
|
|
|
installdirs: |
|
@$(mkinstalldirs) \ |
|
$(DESTDIR)$(mandir)/man3 \ |
|
$(DESTDIR)$(includedir_platon) \ |
|
$(DESTDIR)$(libdir) |
|
|
|
install-includeHEADERS: $(include_HEADERS) |
|
@$(NORMAL_INSTALL) |
|
@$(mkinstalldirs) $(DESTDIR)$(includedir_platon) |
|
@list='$(include_HEADERS)'; for p in $$list; do \ |
|
if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \ |
|
echo " Installing file $(DESTDIR)$(includedir_platon)/$$p"; \ |
|
$(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir_platon)/$$p; \ |
|
done |
|
uninstall-includeHEADERS: |
|
@$(NORMAL_UNINSTALL) |
|
@list='$(include_HEADERS)'; for p in $$list; do \ |
|
echo " rm -f $(DESTDIR)$(includedir)/$$p"; \ |
|
rm -f $(DESTDIR)$(includedir)/$$p; \ |
|
echo " rm -f $(DESTDIR)$(includedir_platon)/$$p"; \ |
|
rm -f $(DESTDIR)$(includedir_platon)/$$p; \ |
|
done |
|
|
|
install-symlinks: |
|
@$(NORMAL_INSTALL) |
|
@$(mkinstalldirs) $(DESTDIR)$(libdir) |
|
@$(mkinstalldirs) $(DESTDIR)$(includedir_platon) |
|
@list='$(include_HEADERS)'; for p in $$list; do \ |
|
echo " Creating symlink $(DESTDIR)$(includedir)/$$p"; \ |
|
here=`pwd`; \ |
|
cd $(DESTDIR)$(includedir) && ( \ |
|
$(LN_S) platon/$$p $$p; \ |
|
$(LN_S) platon/$(include_SYMLINK) $(include_SYMLINK); \ |
|
cd platon && $(LN_S) $$p $(include_SYMLINK); \ |
|
); \ |
|
cd $$here; \ |
|
done; \ |
|
cd $(DESTDIR)$(libdir) && ( \ |
|
echo " Creating symlink $(DESTDIR)$(libdir)/$(LIBDYNAMIC)"; \ |
|
$(LN_S) $(LIBDYNAMICV) $(LIBDYNAMIC); \ |
|
); |
|
uninstall-symlinks: |
|
@$(NORMAL_UNINSTALL) |
|
-@list='$(include_SYMLINK)'; for p in $$list; do \ |
|
echo " rm -f $(DESTDIR)$(includedir)/$$p"; \ |
|
rm -f $(DESTDIR)$(includedir)/$$p; \ |
|
echo " rm -f $(DESTDIR)$(includedir_platon)/$$p"; \ |
|
rm -f $(DESTDIR)$(includedir_platon)/$$p; \ |
|
done; \ |
|
cd $(DESTDIR)$(libdir) && ( \ |
|
echo " rm -f $(DESTDIR)$(libdir)/$(LIBDYNAMIC)"; \ |
|
rm -f $(LIBDYNAMIC); \ |
|
); |
|
|
|
uninstall-dirs: |
|
@$(NORMAL_UNINSTALL) |
|
-rmdir --ignore-fail-on-non-empty $(DESTDIR)$(includedir_platon) |
|
|
|
# }}} Section: Install |
|
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables. |
|
# Otherwise a system limit (for SysV at least) may be exceeded. |
|
.NOEXPORT: |
|
|
|
# vim600: fdm=marker fdc=3 |
# vim600: fdm=marker fdc=3 |
|
|