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: