From c1b2a2983329da2d67c7e716eaae81b303021c16 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Sat, 25 Aug 2001 05:07:31 +0000 Subject: [PATCH] * Makefile.in: Converted to ... * Makefile.am: ... this. --- slang/ChangeLog | 7 ++++- slang/Makefile.am | 17 +++++++++++ slang/Makefile.in | 73 ----------------------------------------------- 3 files changed, 23 insertions(+), 74 deletions(-) create mode 100644 slang/Makefile.am delete mode 100644 slang/Makefile.in diff --git a/slang/ChangeLog b/slang/ChangeLog index d887c8698..726462338 100644 --- a/slang/ChangeLog +++ b/slang/ChangeLog @@ -1,3 +1,8 @@ +2001-08-25 Pavel Roskin + + * Makefile.in: Converted to ... + * Makefile.am: ... this. + 2001-02-22 Pavel Roskin * _slang.h: Include glib.h. @@ -7,7 +12,7 @@ Tue Apr 13 07:07:36 1999 Norbert Warmuth * slutty.c (SLsys_getkey): handle EOF on stdin (return SLANG_GETKEY_ERROR on EOF instead of returning garbage) - * Makefile.in (clean): remove the symbolic link slang.h on the + * Makefile.in (clean): remove the symbolic link slang.h on the distclean target and not on the clean target. Sun Feb 14 01:05:42 1999 Norbert Warmuth diff --git a/slang/Makefile.am b/slang/Makefile.am new file mode 100644 index 000000000..173fc1487 --- /dev/null +++ b/slang/Makefile.am @@ -0,0 +1,17 @@ +AM_CFLAGS = @CFLAGS@ @GLIB_CFLAGS@ +AM_CPPFLAGS = -I.. @CPPFLAGS@ @MCCPPFLAGS@ + +if INCLUDED_SLANG +lib_LIBRARIES = libmcslang.a +else +lib_LIBRARIES = +endif + +libmcslang_a_SOURCES = sldisply.c slerr.c slsmg.c slutty.c slgetkey.c \ + slmemcpy.c slmemset.c sltermin.c sltoken.c slsignal.c \ + slang-mc.h _slang.h sl-feat.h jdmacros.h + +EXTRASRC = slvideo.c slw32tty.c slos2tty.c +EXTRADOCS = ChangeLog README + +EXTRA_DIST = $(EXTRASRC) $(EXTRADOCS) diff --git a/slang/Makefile.in b/slang/Makefile.in deleted file mode 100644 index b8a227d04..000000000 --- a/slang/Makefile.in +++ /dev/null @@ -1,73 +0,0 @@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -top_builddir = .. - -@MCF@ - -CFLAGS = $(XCFLAGS) -CPPFLAGS = $(XCPPFLAGS) -LDFLAGS = $(XLDFLAGS) -DEFS = $(XDEFS) -LIBS = $(XLIBS) $(XLIB) -AR = @AR@ - -SLANGSRCS = sldisply.c slerr.c slsmg.c slutty.c slgetkey.c slmemcpy.c \ - slmemset.c sltermin.c sltoken.c slsignal.c \ - slvideo.c slw32tty.c slos2tty.c - -SLANGHDRS = slang-mc.h _slang.h sl-feat.h jdmacros.h - -SLANGOBJS = sldisply.o slerr.o slsmg.o slutty.o \ - slgetkey.o slmemcpy.o slmemset.o sltermin.o \ - sltoken.o slsignal.o - -# -# Distribution variables -# - -DISTSLANG = Makefile.in ChangeLog README $(SLANGSRCS) $(SLANGHDRS) - -all: @LIBSLANG@ - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) && CONFIG_FILES=slang/Makefile CONFIG_HEADERS= $(SHELL) ./config.status - -.c.o: - $(CC) -c $(CPPFLAGS) $(DEFS) $(CFLAGS) $< - -check: - @echo no tests are supplied. - -libmcslang.a: $(SLANGOBJS) - rm -f $@ - $(AR) cr $@ $(SLANGOBJS) - -$(RANLIB) $@ - -TAGS: $(SLANGSRCS) - etags $(SLANGSRCS) - -mostlyclean: - rm -f *.o core a.out - -clean: mostlyclean - rm -f libmcslang.a - -distclean: clean - rm -f slang.h - rm -f TAGS - rm -f *~ - rm -f Makefile - -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) - -distdir: - for I in $(DISTSLANG); \ - do cp -p $(srcdir)/$$I $(distdir) || exit 1; \ - done - -install uninstall: - -depend: -