1998-02-27 07:54:42 +03:00
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
rootdir = $(srcdir)/..
|
|
|
|
@MCFG@@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 \
|
1998-03-07 23:27:44 +03:00
|
|
|
slvideo.c slw32tty.c slos2tty.c
|
1998-02-27 07:54:42 +03:00
|
|
|
|
1999-02-04 04:56:19 +03:00
|
|
|
SLANGHDRS = slang-mc.h _slang.h sl-feat.h jdmacros.h
|
1998-02-27 07:54:42 +03:00
|
|
|
|
|
|
|
SLANGOBJS = sldisply.o slerr.o slsmg.o slutty.o \
|
|
|
|
slgetkey.o slmemcpy.o slmemset.o sltermin.o \
|
|
|
|
sltoken.o slsignal.o
|
|
|
|
|
|
|
|
#
|
|
|
|
# Distribution variables
|
|
|
|
#
|
|
|
|
|
1999-02-14 03:41:23 +03:00
|
|
|
DISTSLANG = Makefile.in ChangeLog README $(SLANGSRCS) $(SLANGHDRS)
|
1998-02-27 07:54:42 +03:00
|
|
|
|
|
|
|
all: @LIBSLANG@
|
|
|
|
|
|
|
|
.c.o:
|
|
|
|
$(CC) -c $(CPPFLAGS) $(DEFS) $(CFLAGS) $<
|
|
|
|
|
|
|
|
check:
|
|
|
|
@echo no tests are supplied.
|
|
|
|
|
|
|
|
libmcslang.a: $(SLANGOBJS)
|
|
|
|
$(RMF) $@
|
|
|
|
$(AR) cr $@ $(SLANGOBJS)
|
|
|
|
-$(RANLIB) $@
|
|
|
|
|
|
|
|
showlibdep:
|
|
|
|
@echo 'OBJS="$(SLANGOBJS)"'
|
|
|
|
|
|
|
|
cross:
|
|
|
|
$(MAKE) CC=gcc-linux CPP="gcc-linux -E" \
|
|
|
|
CPPFLAGS="$(CPPFLAGS) -I/usr/local/lib/gcc-lib/i386-linux-linux/include/ncurses "
|
|
|
|
|
|
|
|
TAGS: $(SLANGSRCS)
|
|
|
|
etags $(SLANGSRCS)
|
|
|
|
|
|
|
|
clean:
|
1999-04-13 23:21:03 +04:00
|
|
|
$(RMF) *.o core a.out libmcslang.a
|
1998-02-27 07:54:42 +03:00
|
|
|
|
|
|
|
realclean: clean
|
1999-04-13 23:21:03 +04:00
|
|
|
$(RMF) .depend slang.h
|
1998-02-27 07:54:42 +03:00
|
|
|
$(RMF) TAGS
|
|
|
|
$(RMF) *~
|
|
|
|
|
|
|
|
distclean:
|
|
|
|
-$(RMF) $(srcdir)/*~ $(srcdir)/*.o $(srcdir)/core $(srcdir)/a.out
|
|
|
|
-$(RMF) $(srcdir)/libmcslang.a
|
|
|
|
-if test $(srcdir) = .; then $(MAKE) realclean; fi
|
|
|
|
-$(RMF) $(srcdir)/Makefile
|
|
|
|
|
|
|
|
distcopy:
|
1999-08-20 00:17:40 +04:00
|
|
|
for I in $(DISTSLANG); do $(CP) $(top_srcdir)/slang/$$I $(top_srcdir)/mc-$(VERSION)/slang; done
|
1998-02-27 07:54:42 +03:00
|
|
|
|
|
|
|
install uninstall:
|
|
|
|
|
|
|
|
depend dep: mcdep
|
|
|
|
|
|
|
|
fastdeploc:
|
|
|
|
|
|
|
|
# ***Dependencies***Do not edit***
|
|
|
|
@DOTDEPEND@
|
|
|
|
# ***End of dependencies***
|