mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
* Makefile.in: Converted to ...
* Makefile.am: ... this.
This commit is contained in:
parent
8ae0cebc22
commit
c1b2a29833
@ -1,3 +1,8 @@
|
||||
2001-08-25 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* Makefile.in: Converted to ...
|
||||
* Makefile.am: ... this.
|
||||
|
||||
2001-02-22 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* _slang.h: Include glib.h.
|
||||
|
17
slang/Makefile.am
Normal file
17
slang/Makefile.am
Normal file
@ -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)
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user