mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
6dae85923b
* Makefile.in: Adjusted to remove libgettext.h
90 lines
1.8 KiB
Makefile
90 lines
1.8 KiB
Makefile
srcdir = @srcdir@
|
|
top_srcdir = @top_srcdir@
|
|
VPATH = @srcdir@
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
|
top_builddir = ..
|
|
|
|
@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 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 $(top_builddir)/config.status
|
|
cd $(top_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)
|
|
rm -f $@
|
|
$(AR) cr $@ $(EDITOBJS)
|
|
-$(RANLIB) $@
|
|
|
|
mcedit:
|
|
rm -f $(DESTDIR)$(bindir)/$(binprefix)mcedit
|
|
$(LN_S) mc $(DESTDIR)$(bindir)/$(binprefix)mcedit
|
|
|
|
showlibdep:
|
|
@echo 'OBJS="$(EDITOBJS)"'
|
|
|
|
TAGS: $(EDITSRC)
|
|
etags $(EDITSRC)
|
|
|
|
mostlyclean:
|
|
rm -f *.o core a.out
|
|
|
|
clean: mostlyclean
|
|
rm -f libgtkedit.a
|
|
|
|
distclean: clean
|
|
rm -f .depend
|
|
rm -f TAGS
|
|
rm -f *~
|
|
rm -f Makefile
|
|
|
|
install: @MCEDIT@
|
|
|
|
uninstall:
|
|
rm -f $(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***
|