# # ${R_HOME}/src/gnome/Makefile VPATH = @srcdir@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ top_builddir = ../.. subdir = src/gnome include $(top_builddir)/Makeconf ALL_CPPFLAGS = $(R_XTRA_CPPFLAGS) $(GNOME_INCLUDEDIR) $(LIBGLADE_CFLAGS) $(X_CFLAGS) $(CPPFLAGS) $(DEFS) SOURCES = ../unix/dynload.c \ ../unix/sys-unix.c \ ../unix/sys-common.c \ dataentry.c \ devGNOME.c \ edit.c \ gdkrotated.c \ gnome-callbacks.c \ prefs.c \ system.c DEPENDS = $(SOURCES:.c=.d) OBJECTS = $(SOURCES:.c=.o) HEADERS = gdkrotated.h \ gnome-callbacks.h \ prefs.h \ rgnome.h distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) DISTFILES = Makefile.in $(SOURCES) $(HEADERS) LIB = libRgnome.a all: Makefile Makedeps R Makefile: $(srcdir)/Makefile.in \ $(top_builddir)/config.status \ ../include/Rversion.h \ ../include/FFDecl.h \ ../include/FFTab.h \ $(DEPENDS) @cd $(top_builddir) && \ CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= \ $(SHELL) ./config.status Makedeps: Makefile $(DEPENDS) @cat $(DEPENDS) >> Makefile @touch $@ R: Makefile @$(MAKE) Makedeps @$(MAKE) $(LIB) ../include/Rversion.h: (cd ../include; $(MAKE) $(@F)) ../include/FFDecl.h ../include/FFTab.h: $(top_srcdir)/src/appl/ROUTINES (cd ../include; $(top_srcdir)/tools/GETSYMBOLS) $(LIB): $(OBJECTS) $(AR) cr $(LIB) $(OBJECTS) $(RANLIB) $(LIB) 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: