mc/gtkedit/Makefile.in

80 lines
1.6 KiB
Makefile
Raw Normal View History

1998-09-15 00:28:25 +04:00
srcdir = @srcdir@
top_srcdir = @top_srcdir@
1998-09-15 00:28:25 +04:00
VPATH = @srcdir@
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
top_builddir = ..
1998-09-15 00:28:25 +04:00
@MCF@
1998-09-15 00:28:25 +04:00
CFLAGS = $(XCFLAGS)
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
#
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 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
1998-09-15 00:28:25 +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
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) && CONFIG_FILES=gtkedit/Makefile CONFIG_HEADERS= $(SHELL) ./config.status
1998-09-15 00:28:25 +04:00
.c.o:
$(CC) -c $(CPPFLAGS) $(DEFS) $(CFLAGS) -DHAVE_X -DHAVE_GNOME -DGTK $<
1998-09-15 00:28:25 +04:00
check:
@echo no tests are supplied.
libgtkedit.a: $(EDITOBJS)
rm -f $@
1998-09-15 00:28:25 +04:00
$(AR) cr $@ $(EDITOBJS)
-$(RANLIB) $@
mcedit:
rm -f $(DESTDIR)$(bindir)/$(binprefix)mcedit
1998-09-15 00:28:25 +04:00
$(LN_S) mc $(DESTDIR)$(bindir)/$(binprefix)mcedit
TAGS: $(EDITSRC)
etags $(EDITSRC)
mostlyclean:
rm -f *.o core a.out
1998-09-15 00:28:25 +04:00
clean: mostlyclean
rm -f libgtkedit.a
1998-09-15 00:28:25 +04:00
distclean: clean
rm -f TAGS
rm -f *~
rm -f Makefile
1998-09-15 00:28:25 +04:00
install: all
1998-09-15 00:28:25 +04:00
uninstall:
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
distdir:
for I in $(DIST); \
do cp -p $(srcdir)/$$I $(distdir) || exit 1; \
done
1998-09-15 00:28:25 +04:00
depend:
1998-09-15 00:28:25 +04:00