# # ${R_HOME}/src/unix/gnome/Makefile VPATH = @srcdir@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ top_builddir = ../../.. subdir = src/unix/gnome R_HOME = $(top_builddir) include $(top_builddir)/Makeconf ALL_CFLAGS = $(R_XTRA_CFLAGS) $(CPICFLAGS) $(SHLIB_CFLAGS) $(CFLAGS) ALL_CPPFLAGS = $(R_XTRA_CPPFLAGS) $(GNOME_INCLUDEDIR) $(LIBGLADE_CFLAGS) $(X_CFLAGS) $(CPPFLAGS) $(DEFS) ALL_GNOME_LIBS = $(RGNOMELIBS) $(GNOME_LIBDIR) $(GNOMEUI_LIBS) $(LIBGLADE_LIBS) ALL_X_LIBS = $(X_PRE_LIBS) $(X_LIBS) $(X_EXTRA_LIBS) ALL_LIBS = $(ALL_GNOME_LIBS) $(ALL_X_LIBS) $(LIBS) $(FLIBS) $(R_XTRA_LIBS) -lm SOURCES = \ command-grep.c \ devGNOME.c \ devGTK.c \ gdkrotated.c \ gnome-find-dialog.c \ gtkconsole.c \ savehistory.c \ system-choosefile.c \ system-console.c \ system-showfiles.c \ system.c \ terminal-find.c \ terminal-functions.c \ terminal-menu.c \ terminal-prefs.c \ terminal-toolbar.c \ terminal.c DEPENDS = $(SOURCES:.c=.d) OBJECTS = $(SOURCES:.c=.o) HEADERS = \ command-grep.h \ devGNOME.h \ devGTK.h \ gdkrotated.h \ gnome-find-dialog.h \ gtkconsole.h \ terminal-find.h \ terminal-functions.h \ terminal-menu.h \ terminal-prefs.h \ terminal-toolbar.h \ terminal.h distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) DISTFILES = Makefile.in $(SOURCES) $(HEADERS) SHLIB = $(top_builddir)/gnome/R_gnome.$(SHLIB_EXT) 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 gnomedir @$(MAKE) Makedeps @$(MAKE) $(SHLIB) $(SHLIB): $(OBJECTS) $(SHLIB_LD) $(SHLIB_LDFLAGS) $(LDFLAGS) -o $@ $(OBJECTS) $(ALL_LIBS) gnomedir: @$(MKINSTALLDIRS) $(top_builddir)/gnome 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: