# # ${R_HOME}/src/unix/X11/Makefile VPATH = @srcdir@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ top_builddir = ../../.. subdir = src/unix/tcltk R_HOME = $(top_builddir) include $(top_builddir)/Makeconf R_XTRA_CFLAGS = $(CPICFLAGS) ALL_CPPFLAGS = $(R_XTRA_CPPFLAGS) $(CPPFLAGS) $(DEFS) SOURCES = glue.c DEPENDS = $(SOURCES:.c=.d) OBJECTS = $(SOURCES:.c=.o) distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) DISTFILES = \ Makefile.in $(SOURCES) $(HEADERS) SHLIB = $(top_builddir)/bin/R_Tk.$(SHLIBEXT) all: Makefile Makedeps R Makefile: $(srcdir)/Makefile.in \ $(top_builddir)/config.status \ $(SOURCES) @cd $(top_builddir) && \ CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= \ $(SHELL) ./config.status Makedeps: Makefile $(DEPENDS) @cat $(DEPENDS) >> Makefile @touch $@ R DLLs: Makefile @$(MAKE) Makedeps @$(MAKE) $(SHLIB) $(SHLIB): $(OBJECTS) $(SHLIBLD) $(SHLIBLDFLAGS) $(LDFLAGS) -o $@ $(OBJECTS) $(TCLTK_LIBS) mostlyclean: clean clean: @echo "cleaning in $(subdir)" @-rm -f Makedeps *.d *.o *.a distclean: clean @-rm -f Makefile maintainer-clean: distclean distdir: $(DISTFILES) @for f in $(DISTFILES); do \ test -f $(distdir)/$${f} \ || ln $(srcdir)/$${f} $(distdir)/$${f} 2>/dev/null \ || cp -p $(srcdir)/$${f} $(distdir)/$${f}; \ done ## Automagically generated dependencies: