1998-09-15 00:28:25 +04:00
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
rootdir = $(srcdir)/..
|
|
|
|
@MCFG@@MCF@
|
|
|
|
|
|
|
|
CFLAGS = $(XCFLAGS)
|
1998-09-24 01:23:17 +04:00
|
|
|
CPPFLAGS = $(XCPPFLAGS) @GNOME_INCLUDEDIR@
|
1998-09-15 00:28:25 +04:00
|
|
|
LDFLAGS = $(XLDFLAGS)
|
|
|
|
DEFS = $(XDEFS)
|
|
|
|
LIBS = @SHADOWLIB@ $(XLIBS) @TERMNET@ @PAMLIBS@ $(XLIB)
|
|
|
|
INSTALL = @INSTALL@
|
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
|
|
AR = @AR@
|
|
|
|
|
|
|
|
#
|
|
|
|
# Distribution variables
|
|
|
|
#
|
|
|
|
|
1998-12-17 11:36:25 +03:00
|
|
|
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 \
|
1999-03-21 04:56:20 +03:00
|
|
|
libgettext.h lkeysym.h editmenu.c editoptions.c mousemark.h \
|
2000-05-10 22:00:26 +04:00
|
|
|
editwidget.c bookmark.c edit-widget.h
|
1998-12-17 11:36:25 +03:00
|
|
|
|
|
|
|
EDITOBJS = edit.o editcmd.o editdraw.o gtkedit.o gtkeditkey.o \
|
1999-03-21 04:56:20 +03:00
|
|
|
propfont.o syntax.o wordproc.o bookmark.o
|
1998-09-15 00:28:25 +04:00
|
|
|
|
1998-09-18 23:45:27 +04:00
|
|
|
DIST = Makefile.in $(EDITSRC)
|
1998-09-15 00:28:25 +04:00
|
|
|
|
1998-09-25 22:16:57 +04:00
|
|
|
all: @libgtkedit@
|
1998-09-15 00:28:25 +04:00
|
|
|
|
|
|
|
.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
|
|
|
|
|
|
|
|
distcopy:
|
1999-08-20 00:17:40 +04:00
|
|
|
for I in $(DIST); do $(CP) $(top_srcdir)/gtkedit/$$I $(top_srcdir)/mc-$(VERSION)/gtkedit; done
|
1998-09-15 00:28:25 +04:00
|
|
|
|
|
|
|
depend dep: mcdep
|
|
|
|
|
|
|
|
fastdeploc:
|
|
|
|
|
|
|
|
# ***Dependencies***Do not edit***
|
|
|
|
@DOTDEPEND@
|
|
|
|
# ***End of dependencies***
|