mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 21:06:52 +03:00
b52d3a73ca
* src/complete.c: obsolete hack for OS/2 and NT removed. Completion works for NT now (not very good) * src/main.c: HOME variable is respected by NT and OS/2 versions. If it is missing, we use LIBDIR on OS2_NT and "/" on Unix. * src/key.h: SHIFT_PRESSED is set to 0x0010 on NT. This value doesn't conflict with definitions for ALT and CTRL, but it is SDK-compatible. * vfs/vfs.h: Minor changes for OS/2. EMX defines mkdir with 2 arguments * vfs/tcputil,c, vfs/utilvfs.c: signal.h was includes twice. * vfs/Makefile.in: undelfs.h is not used and should disapper * slang/slos2tty.c: new file, copied from SLang-0.99.38, needed for OS/2 port * slang/Makefile.in: added slos2tty.c * vfs/extfs/README: annoying spell errors corrected * src/main.c: --termcap disabled for OS2_NT because it doesn't (and cannot) work. ARCH_FLAGS is not needed anymore. * src/text.c: most includes removed. Added a warning is someone compiles this file with HAVE_X. Improved color scheme for consoles with 16 background colors (e.g. OS/2). Hack for OS/2 removed. * src/util.c, src/util.h: STRCOMP and MC_ARCH_FLAGS are moved to util.h. It may be useful to use them for filenames' completion on OS2_NT
79 lines
1.5 KiB
Makefile
79 lines
1.5 KiB
Makefile
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 \
|
|
slvideo.c slw32tty.c slos2tty.c
|
|
|
|
SLANGHDRS = slang.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 README $(SLANGSRCS) $(SLANGHDRS)
|
|
|
|
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:
|
|
$(RMF) *.o core a.out libmcslang.a
|
|
|
|
realclean: clean
|
|
$(RMF) .depend
|
|
$(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:
|
|
$(CP) $(DISTSLANG) ../../mc-$(VERSION)/slang
|
|
|
|
install uninstall:
|
|
|
|
depend dep: mcdep
|
|
|
|
fastdeploc:
|
|
|
|
# ***Dependencies***Do not edit***
|
|
@DOTDEPEND@
|
|
# ***End of dependencies***
|