1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
|
# Hey! Emacs, let's edit this file in -*- makefile -*- mode!
#
# This file is part of TUA.
#
# Makefile for installing support files
# lele@nautilus.eclipse.it
#
PACKAGE = @PACKAGE@
VERSION = @VERSION@
SHELL = /bin/sh
@SET_MAKE@
# This subdirectory name
subdir = lib
#### Start of system configuration section. ####
srcdir=@srcdir@
top_srcdir = @top_srcdir@
VPATH=@srcdir@
INSTALL=@INSTALL@
INSTALL_PROGRAM=@INSTALL_PROGRAM@
INSTALL_DATA=@INSTALL_DATA@
prefix = @prefix@
exec_prefix = @exec_prefix@
transform = @program_transform_name@
# Where to install executables.
bindir = @bindir@
# Where to install library files.
libdir = @libdir@
#### End of system configuration section. ####
DISTFILES = ChangeLog Makefile.in TUA.pcd TUA_init.ex
all: Makefile
install: install-exec install-data
install-exec:
install-data:
$(top_srcdir)/mkinstalldirs $(libdir)
if test -f $(libdir)/TUA.pcd; then mv $(libdir)/TUA.pcd $(libdir)/TUA.pcd.old; fi
$(INSTALL_DATA) TUA.pcd $(libdir)
uninstall:
rm -f $(libdir)/TUA.pcd
tags: TAGS
TAGS:
mostlyclean:
clean: mostlyclean
rm -f *~
distclean: clean
rm -f Makefile
maintainer-clean: distclean
@echo "This command is intended for maintainers to use;"
@echo "it deletes files that may require special tools to rebuild."
distdir = ../$(PACKAGE)-$(VERSION)/$(subdir)
dist: Makefile $(DISTFILES)
for file in $(DISTFILES); do \
ln $$file $(distdir) \
|| { echo copying $$file instead; cp -p $$file $(distdir);}; \
done
Makefile: Makefile.in ../config.status
cd .. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
|