+Include bundled font for the Gnome UI.
[udpgate.git] / src / Makefile.am
index 7c3549f..d092dfb 100644 (file)
@@ -34,6 +34,12 @@ GNOME_SRCS= \
                ui-gnome.c \
                ui-gnome.h \
                $(GLADE_OUT)
+gnome_fonts= \
+               l048013t.pfa
+gnome_cflags=-DGNOME_FONTS="$(gnome_fonts)"
+# FIXME: GNU make(1) dependency by $(addprefix ...)
+gnome_bundle_files= \
+               $(addprefix $(top_srcdir)/fonts/,$(gnome_fonts))
 endif
 
 if ENABLE_BUNDLE
@@ -41,8 +47,7 @@ BUNDLE_SRCS= \
                bundle.c \
                bundle.h \
                bundle-util.c \
-               bundle-util.h \
-               no-gmodule.c
+               bundle-util.h
 endif
 
 EXTRA_DIST+= \
@@ -51,7 +56,10 @@ EXTRA_DIST+= \
 if HAVE_PERL
 # FIXME: GNU make(1) dependency by $(addprefix ...)
 po_files=$(addprefix $(top_builddir)/$(POSUB)/,$(CATALOGS))
-bundle_files=$(top_srcdir)/init.d/$(PACKAGE).init $(po_files)
+bundle_files= \
+               $(top_srcdir)/init.d/$(PACKAGE).init \
+               $(po_files) \
+               $(gnome_bundle_files)
 bundle.c: bundle.pl $(bundle_files)
        $(PERL) bundle.pl $(bundle_files) >$@
 
@@ -69,10 +77,18 @@ udpgate_SOURCES= \
                network.h \
                packet.c \
                packet.h \
+               pathname.c \
+               pathname.h \
+               startup-lsb.c \
+               startup-lsb.h \
                startup-chkconfig.c \
                startup-chkconfig.h \
+               startup-debian.c \
+               startup-debian.h \
                startup.c \
                startup.h \
+               static-startup.c \
+               static-startup.h \
                ui-line.c \
                ui-line.h \
                $(GNOME_SRCS) \
@@ -83,7 +99,9 @@ EXTRA_DIST+= \
 
 udpgate_CFLAGS= \
                -DSYSCONFDIR="$(sysconfdir)" \
-               -DCATALOGS="$(CATALOGS)"
+               -DLOCALSTATEDIR="$(localstatedir)" \
+               -DCATALOGS="$(CATALOGS)" \
+               $(gnome_cflags)
 udpgate_LDADD=
 
 udpgate-ui-gnome-interface.$(OBJEXT): ui-gnome-callbacks.h