1998-09-15 00:28:25 +04:00
|
|
|
srcdir = @srcdir@
|
2000-09-14 19:12:00 +04:00
|
|
|
top_srcdir = @top_srcdir@
|
1998-09-15 00:28:25 +04:00
|
|
|
VPATH = @srcdir@
|
2000-09-18 08:57:29 +04:00
|
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
|
|
|
top_builddir = ..
|
1998-09-15 00:28:25 +04:00
|
|
|
|
2000-09-23 09:14:31 +04:00
|
|
|
@MCF@
|
1998-09-15 00:28:25 +04:00
|
|
|
|
|
|
|
CFLAGS = $(XCFLAGS)
|
2000-09-14 19:31:25 +04:00
|
|
|
CPPFLAGS = $(XCPPFLAGS) @GNOME_INCLUDEDIR@ -I$(top_srcdir)
|
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 \
|
2000-09-30 18:31:31 +04:00
|
|
|
propfont.c syntax.c wordproc.c edit.h editcmddef.h global.h \
|
|
|
|
gtkedit.h lkeysym.h editmenu.c editoptions.c \
|
2000-08-31 01:23:14 +04:00
|
|
|
editwidget.c bookmark.c edit-widget.h xdnd.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
|
|
|
|
2000-08-18 09:18:47 +04:00
|
|
|
DIST = ChangeLog 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
|
|
|
|
2000-09-18 08:57:29 +04:00
|
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
|
|
cd $(top_builddir) && CONFIG_FILES=gtkedit/Makefile CONFIG_HEADERS= $(SHELL) ./config.status
|
2000-08-18 09:18:47 +04:00
|
|
|
|
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)
|
2000-09-23 09:14:31 +04:00
|
|
|
rm -f $@
|
1998-09-15 00:28:25 +04:00
|
|
|
$(AR) cr $@ $(EDITOBJS)
|
|
|
|
-$(RANLIB) $@
|
|
|
|
|
|
|
|
mcedit:
|
2000-09-23 09:14:31 +04:00
|
|
|
rm -f $(DESTDIR)$(bindir)/$(binprefix)mcedit
|
1998-09-15 00:28:25 +04:00
|
|
|
$(LN_S) mc $(DESTDIR)$(bindir)/$(binprefix)mcedit
|
|
|
|
|
|
|
|
showlibdep:
|
|
|
|
@echo 'OBJS="$(EDITOBJS)"'
|
|
|
|
|
|
|
|
TAGS: $(EDITSRC)
|
|
|
|
etags $(EDITSRC)
|
|
|
|
|
2000-09-23 09:14:31 +04:00
|
|
|
mostlyclean:
|
|
|
|
rm -f *.o core a.out
|
1998-09-15 00:28:25 +04:00
|
|
|
|
2000-09-23 09:14:31 +04:00
|
|
|
clean: mostlyclean
|
|
|
|
rm -f libgtkedit.a
|
1998-09-15 00:28:25 +04:00
|
|
|
|
2000-09-23 09:14:31 +04:00
|
|
|
distclean: clean
|
|
|
|
rm -f .depend
|
|
|
|
rm -f TAGS
|
|
|
|
rm -f *~
|
|
|
|
rm -f Makefile
|
1998-09-15 00:28:25 +04:00
|
|
|
|
2001-01-11 19:48:13 +03:00
|
|
|
install:
|
1998-09-15 00:28:25 +04:00
|
|
|
|
|
|
|
uninstall:
|
|
|
|
|
2000-08-28 22:51:22 +04:00
|
|
|
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
|
|
|
|
|
|
|
distdir:
|
2000-09-15 10:05:22 +04:00
|
|
|
for I in $(DIST); \
|
|
|
|
do cp -p $(srcdir)/$$I $(distdir) || exit 1; \
|
|
|
|
done
|
1998-09-15 00:28:25 +04:00
|
|
|
|
|
|
|
depend dep: mcdep
|
|
|
|
|
|
|
|
fastdeploc:
|
|
|
|
|
|
|
|
# ***Dependencies***Do not edit***
|
|
|
|
@DOTDEPEND@
|
|
|
|
# ***End of dependencies***
|