]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/gnome2-console/Makefile.in
Added wx-console.exe and .conf.
[bacula/bacula] / bacula / src / gnome2-console / Makefile.in
index 65beb83018cdc8402aa17d6b2114be137c5149f5..0431bdd6e76d304f82243800079241ef6a069588 100644 (file)
@@ -26,8 +26,10 @@ GNOME_LIBS = @GNOME_LIBS@
 
 
 #
-CONSSRCS = console.c console_conf.c authenticate.c support.c interface.c callbacks.c
-CONSOBJS = console.o console_conf.o authenticate.o support.o interface.o callbacks.o
+CONSSRCS = console.c console_conf.c authenticate.c support.c interface.c callbacks.c \
+          restore.c
+CONSOBJS = console.o console_conf.o authenticate.o support.o interface.o callbacks.o \
+          restore.o
 
 # these are the objects that are changed by the .configure process
 EXTRAOBJS = @OBJLIST@
@@ -49,7 +51,7 @@ CONS_LDFLAGS=$(GNOME_LIBDIR) $(GNOMEUI_LIBS)
 .c.o:
        $(CXX) $(DEFS) $(DEBUG) -c $(CPPFLAGS) $(CONS_INC) -I$(srcdir) -I$(basedir) $(DINCLUDE) $(CFLAGS) $<
 #-------------------------------------------------------------------------
-all: Makefile gnome-console @STATIC_CONS@
+all: Makefile gnome-console @STATIC_GNOME_CONS@
        @echo "==== Make of gnome-console is good ===="
        @echo " "
 
@@ -86,8 +88,12 @@ distclean: realclean
        if test $(srcdir) = .; then $(MAKE) realclean; fi
        (cd $(srcdir); $(RMF) Makefile; $(RMF) -r CVS)
 
+devclean: realclean
+       if test $(srcdir) = .; then $(MAKE) realclean; fi
+       (cd $(srcdir); $(RMF) Makefile)
+
 install: all
-       $(INSTALL_SCRIPT) gnome-console $(DESTDIR)$(sbindir)/gnome-console
+       $(INSTALL_PROGRAM) gnome-console $(DESTDIR)$(sbindir)/gnome-console
        @srcconf=gnome-console.conf; \
        if  test -f ${DESTDIR}${sysconfdir}/$$srcconf; then \
           destconf=$$srcconf.new; \
@@ -97,9 +103,12 @@ install: all
        fi; \
        echo "${INSTALL_CONFIG} $$srcconf ${DESTDIR}${sysconfdir}/$$destconf"; \
        ${INSTALL_CONFIG} $$srcconf ${DESTDIR}${sysconfdir}/$$destconf
+       if test -f static-gnome-console; then \
+          $(INSTALL_PROGRAM) static-gnome-console $(DESTDIR)$(sbindir)/static-gnome-console; \
+       fi 
 
 uninstall:
-       (cd $(DESTDIR)$(sbindir); $(RMF) gnome-console)
+       (cd $(DESTDIR)$(sbindir); $(RMF) gnome-console static-gnome-console)
        (cd $(DESTDIR)$(sysconfdir); $(RMF) gnome-console.conf gnome-console.conf.new)