mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
c69627ffdd
"make distclean" breaks. * edit/Makefile.in, gnome/Makefile.in, gtkedit/Makefile.in, slang/Makefile.in, src/Makefile.in, vfs/Make-mc.in: $(RMF) replaced with "rm -f" - the stangard says that "rm" is portable. Ditto $(MV). Adjusted *clean targets to match those in Automake. Removed "cross" target.
82 lines
1.5 KiB
Makefile
82 lines
1.5 KiB
Makefile
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) $@
|
|
|
|
showlibdep:
|
|
@echo 'OBJS="$(SLANGOBJS)"'
|
|
|
|
TAGS: $(SLANGSRCS)
|
|
etags $(SLANGSRCS)
|
|
|
|
mostlyclean:
|
|
rm -f *.o core a.out
|
|
|
|
clean: mostlyclean
|
|
rm -f libmcslang.a
|
|
|
|
distclean: clean
|
|
rm -f .depend 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 dep: mcdep
|
|
|
|
fastdeploc:
|
|
|
|
# ***Dependencies***Do not edit***
|
|
@DOTDEPEND@
|
|
# ***End of dependencies***
|