]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/gnome2-console/Makefile.in
Use the command line utility dropdb instead of the psql command
[bacula/bacula] / bacula / src / gnome2-console / Makefile.in
index 74193f17190d9bca0b00c185defcd2d4ddf5935c..1977f1cc18ecc872f716dbfa7618b7379659b4c0 100644 (file)
@@ -49,10 +49,15 @@ 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 " "
 
+support.o:   support.c
+       rm -f support.c.orig
+       mv support.c support.c.orig
+       sed "s%parent = g_object_get_data%parent = \(GtkWidget \*\)g_object_get_data%" support.c.orig >support.c
+       $(CXX) $(DEFS) $(DEBUG) -c $(CPPFLAGS) $(CONS_INC) -I$(srcdir) -I$(basedir) $(DINCLUDE) $(CFLAGS) $<
 
 gnome-console: $(CONSOBJS) ../lib/libbac.a ../cats/libsql.a
        $(CXX) $(LDFLAGS) $(CONS_LDFLAGS) -L../lib -L../cats -o $@ $(CONSOBJS) \
@@ -71,7 +76,7 @@ Makefile: $(srcdir)/Makefile.in $(topdir)/config.status
 
 clean:
        @$(RMF) gnome-console core core.* a.out *.o *.bak *~ *.intpro *.extpro 1 2 3
-       @$(RMF) static-gnome-console
+       @$(RMF) static-gnome-console gmon.out
 
 realclean: clean
        @$(RMF) tags
@@ -92,9 +97,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_SCRIPT) 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)