use my nice build system rather than custom makefiles
[apps/madtty.git] / Makefile.in
diff --git a/Makefile.in b/Makefile.in
deleted file mode 100644 (file)
index 318c1f4..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-# Makefile for libmadtty
-# 
-# LICENSE INFORMATION:
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public
-# License as published by the Free Software Foundation; either
-# version 2 of the License, or (at your option) any later version.
-# 
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public
-# License along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-#
-# Copyright © 2002-2004 Bruno T. C. de Oliveira
-# Copyright © 2006 Pierre Habouzit
-
-SOURCES=$(wildcard *.c)
-HEADERS=$(wildcard *.h)
-
-OBJECTS=$(patsubst %.c,%.o,$(SOURCES))
-
-MADTTY_VERSION=@PACKAGE_VERSION@
-MADTTY_SONAME=libmadtty.so.0
-
-CC=@CC@
-CFLAGS=@CFLAGS@ -Wall -fPIC
-LIBS=@LIBS@
-LDFLAGS=@LDFLAGS@
-prefix=@prefix@
-exec_prefix=@exec_prefix@
-libdir=@libdir@
-includedir=@includedir@
-bindir=@bindir@
-
-all: libmadtty.so.$(MADTTY_VERSION)
-
-install: all
-       mkdir -p $(DESTDIR)$(includedir)/madtty
-       rm -f $(DESTDIR)$(includedir)/madtty/*.h
-       cp madtty.h $(DESTDIR)$(includedir)/madtty
-       mkdir -p $(DESTDIR)$(libdir)
-       cp libmadtty.so.$(MADTTY_VERSION) $(DESTDIR)$(libdir)
-       cd $(DESTDIR)$(libdir) && ln -sf libmadtty.so.$(MADTTY_VERSION) libmadtty.so
-       cd $(DESTDIR)$(libdir) && ln -sf libmadtty.so.$(MADTTY_VERSION) $(MADTTY_SONAME)
-       mkdir -p $(DESTDIR)$(libdir)/pkgconfig
-       cp madtty.pc $(DESTDIR)$(libdir)/pkgconfig
-       @echo "-----------------------------------------------------------"
-       @echo "MADTTY - the Mad tty Emulation Library v$(MADTTY_VERSION)"
-       @echo
-       @echo "Include files installed at: $(DESTDIR)$(includedir)"
-       @echo "Library files installed at: $(DESTDIR)$(libdir)"
-       @echo "-----------------------------------------------------------"
-
-libmadtty.so.$(MADTTY_VERSION): $(OBJECTS)
-       $(CC) $(CFLAGS) -shared -o $@ -Wl,-soname=$(MADTTY_SONAME) $(OBJECTS) $(LDFLAGS) $(LIBS)
-
-.depends: $(SOURCES) $(HEADERS)
-       $(CC) $(CFLAGS) -MM $(SOURCES) >.depends
-
--include .depends
-
-clean:
-       rm -f *.o .depends libmadtty.so.*
-
-pristine: clean
-       rm -rf autom4te.cache configure config.status config.log Makefile madtty.pc
-
-.PHONY: clean all install pristine
-