mc/gtkedit/Makefile.in
Pavel Roskin 7b7cb9878d * doc/Makefile.in, edit/Makefile.in, gnome/Makefile.in,
gtkedit/Makefile.in, slang/Makefile.in, src/Makefile.in,
vfs/Make-mc.in: preserve timestamp on "make distdir", otherwise
mc.pot becomes out of date in the tarball.
2000-09-15 06:05:22 +00:00

94 lines
2.0 KiB
Makefile

srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
@MCFG@@MCF@
CFLAGS = $(XCFLAGS)
CPPFLAGS = $(XCPPFLAGS) @GNOME_INCLUDEDIR@ -I$(top_srcdir)
LDFLAGS = $(XLDFLAGS)
DEFS = $(XDEFS)
LIBS = @SHADOWLIB@ $(XLIBS) @TERMNET@ @PAMLIBS@ $(XLIB)
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
AR = @AR@
#
# Distribution variables
#
EDITSRC = edit.c editcmd.c editdraw.c gtkedit.c gtkeditkey.c \
propfont.c syntax.c wordproc.c edit.h editcmddef.h global.h gtkedit.h \
libgettext.h lkeysym.h editmenu.c editoptions.c \
editwidget.c bookmark.c edit-widget.h xdnd.h
EDITOBJS = edit.o editcmd.o editdraw.o gtkedit.o gtkeditkey.o \
propfont.o syntax.o wordproc.o bookmark.o
DIST = ChangeLog Makefile.in $(EDITSRC)
all: @libgtkedit@
Makefile: $(srcdir)/Makefile.in $(builddir)/config.status
cd $(builddir) && CONFIG_FILES=gtkedit/Makefile CONFIG_HEADERS= $(SHELL) ./config.status
.c.o:
$(CC) -c $(CPPFLAGS) $(DEFS) $(CFLAGS) -DGTK $<
check:
@echo no tests are supplied.
libgtkedit.a: $(EDITOBJS)
$(RMF) $@
$(AR) cr $@ $(EDITOBJS)
-$(RANLIB) $@
mcedit:
$(RMF) $(DESTDIR)$(bindir)/$(binprefix)mcedit
$(LN_S) mc $(DESTDIR)$(bindir)/$(binprefix)mcedit
showlibdep:
@echo 'OBJS="$(EDITOBJS)"'
cross:
$(MAKE) CC=gcc-linux CPP="gcc-linux -E" \
CPPFLAGS="$(CPPFLAGS) -I/usr/local/lib/gcc-lib/i386-linux-linux/include/ncurses "
TAGS: $(EDITSRC)
etags $(EDITSRC)
clean:
$(RMF) *.o core a.out libgtkedit.a
realclean: clean
$(RMF) .depend
$(RMF) TAGS
$(RMF) *~
distclean:
$(RMF) $(srcdir)/*~ $(srcdir)/*.o $(srcdir)/a.out
$(RMF) $(srcdir)/core $(srcdir)/libgtkedit.a
-if test $(srcdir) = .; then $(MAKE) realclean; fi
$(RMF) $(srcdir)/Makefile
install: @MCEDIT@
uninstall:
$(RMF) $(DESTDIR)$(bindir)/$(binprefix)mcedit
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
distdir:
for I in $(DIST); \
do cp -p $(srcdir)/$$I $(distdir) || exit 1; \
done
depend dep: mcdep
fastdeploc:
# ***Dependencies***Do not edit***
@DOTDEPEND@
# ***End of dependencies***