# 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
# 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
- mkdir -p $(DESTDIR)$(includedir)/rote
- rm -f $(DESTDIR)$(includedir)/rote/*.h
- cp rote.h $(DESTDIR)$(includedir)/rote
+ mkdir -p $(DESTDIR)$(includedir)/madtty
+ rm -f $(DESTDIR)$(includedir)/madtty/*.h
+ cp madtty.h $(DESTDIR)$(includedir)/madtty
- cp librote.so.$(ROTE_VERSION) $(DESTDIR)$(libdir)
- cd $(DESTDIR)$(libdir) && ln -sf librote.so.$(ROTE_VERSION) librote.so
- cd $(DESTDIR)$(libdir) && ln -sf librote.so.$(ROTE_VERSION) $(ROTE_SONAME)
- chmod 755 rote-config
- mkdir -p $(DESTDIR)$(bindir)
- cp -p rote-config $(DESTDIR)$(bindir)
+ 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 "Include files installed at: $(DESTDIR)$(includedir)"
@echo "Library files installed at: $(DESTDIR)$(libdir)"
@echo
@echo "Include files installed at: $(DESTDIR)$(includedir)"
@echo "Library files installed at: $(DESTDIR)$(libdir)"
- @echo "rote-config executable : $(DESTDIR)$(bindir)/rote-config"
- @echo
- @echo "To find out what compiler arguments you should use to"
- @echo "compile programs that use rote, use the rote-config"
- @echo "program (make sure $(DESTDIR)$(bindir) is in your path)."
-librote.so.$(ROTE_VERSION): $(OBJECTS)
- $(CC) $(CFLAGS) -shared -o $@ -Wl,-soname=$(ROTE_SONAME) $(OBJECTS) $(LDFLAGS) $(LIBS)
+libmadtty.so.$(MADTTY_VERSION): $(OBJECTS)
+ $(CC) $(CFLAGS) -shared -o $@ -Wl,-soname=$(MADTTY_SONAME) $(OBJECTS) $(LDFLAGS) $(LIBS)