]> git.sur5r.net Git - glabels/blobdiff - glabels2/src/Makefile.am
2009-09-10 Jim Evins <evins@snaught.com>
[glabels] / glabels2 / src / Makefile.am
index 24068f4ab0801e98721403c226e2850ae58c834c..7baaf2a1aa62a3e269c14fab0cc4c3a5e592582f 100644 (file)
@@ -1,74 +1,84 @@
 LIB_BARCODE_DIR = ../barcode-0.98
+LIB_IEC16022_DIR = ../iec16022-0.2.1
+LIB_QRENCODE_DIR = ../qrencode-3.1.0
 
 SUBDIRS= pixmaps stock-pixmaps
 
 bin_PROGRAMS = glabels glabels-batch
 
-uidir = $(datadir)/glabels/ui/
-
-
 INCLUDES = \
-       -I$(top_srcdir)                                 \
-       -I$(top_builddir)                               \
-       $(GLABELS_CFLAGS)                               \
-       -I$(LIB_BARCODE_DIR)                            \
-       -DPREFIX=\""$(prefix)"\"                        \
-       -DSYSCONFDIR=\""$(sysconfdir)"\"                \
-       -DDATADIR=\""$(datadir)"\"                      \
-       -DLIBDIR=\""$(libdir)"\"                        \
-       -DGLABELS_LOCALEDIR=\""$(datadir)/locale"\"     \
-       -DGLABELS_UI_DIR=\""$(datadir)/glabels/ui/"\"   \
-       -DG_DISABLE_DEPRECATED                          \
-       -DGDK_DISABLE_DEPRECATED                        \
-       -DGTK_DISABLE_DEPRECATED                        \
-       -DGDK_PIXBUF_DISABLE_DEPRECATED                 \
-       -DGNOME_DISABLE_DEPRECATED                      
+       -I$(top_srcdir)                                         \
+       -I$(top_builddir)                                       \
+       -I$(LIB_BARCODE_DIR)                                    \
+       -I$(LIB_IEC16022_DIR)                                   \
+       -I$(LIB_QRENCODE_DIR)                                   \
+       $(GLABELS_CFLAGS)                                       \
+       $(DISABLE_DEPRECATED_CFLAGS)                            \
+       -DPREFIX=\""$(prefix)"\"                                \
+       -DSYSCONFDIR=\""$(sysconfdir)"\"                        \
+       -DDATADIR=\""$(datadir)"\"                              \
+       -DLIBDIR=\""$(libdir)"\"                                \
+       -DGLABELS_LOCALEDIR=\""$(datadir)/locale"\"             \
+       -DGLABELS_BUILDER_DIR=\""$(datadir)/glabels/builder/"\" \
+       -DGLABELS_ICON_DIR=\""$(datadir)/pixmaps/"\"    \
+       -DGLABELS_PIXMAP_DIR=\""$(datadir)/pixmaps/glabels/"\"  \
+       -DG_LOG_DOMAIN=\""glabels\""
 
 glabels_LDFLAGS = -export-dynamic
 
-glabels_LDADD =                        \
-       $(GLABELS_LIBS)                 \
-       -L$(LIB_BARCODE_DIR) -lbarcode  
+glabels_LDADD =                                \
+       $(GLABELS_LIBS)                         \
+       ../libglabels/libglabels.la             \
+       $(LIB_BARCODE_DIR)/libbarcode.la        \
+       $(LIB_IEC16022_DIR)/libiec16022.la      \
+       $(LIB_QRENCODE_DIR)/libqrencode.la
 
 glabels_batch_LDFLAGS = -export-dynamic
 
-glabels_batch_LDADD =                  \
-       $(GLABELS_LIBS)                 \
-       -L$(LIB_BARCODE_DIR) -lbarcode  
+glabels_batch_LDADD =                          \
+       $(GLABELS_LIBS)                         \
+       ../libglabels/libglabels.la             \
+       $(LIB_BARCODE_DIR)/libbarcode.la        \
+       $(LIB_IEC16022_DIR)/libiec16022.la      \
+       $(LIB_QRENCODE_DIR)/libqrencode.la
 
 BUILT_SOURCES =                        \
        marshal.c                       \
-       marshal.h                       \
-       gnome-recent-marshal.c          \
-       gnome-recent-marshal.h
+       marshal.h                       
 
 glabels_SOURCES =                      \
        glabels.c                       \
-       glabels.h                       \
-       splash.c                        \
-       splash.h                        \
-       mdi.c                           \
-       mdi.h                           \
-       mdi-child.c                     \
-       mdi-child.h                     \
+       warning-handler.c               \
+       warning-handler.h               \
+       critical-error-handler.c        \
+       critical-error-handler.h        \
+       window.c                        \
+       window.h                        \
        stock.c                         \
        stock.h                         \
-       menus.h                         \
-       menus.c                         \
-       commands.h                      \
-       commands.c                      \
+       ui.h                            \
+       ui.c                            \
+       ui-util.h                       \
+       ui-util.c                       \
+       ui-commands.h                   \
+       ui-commands.c                   \
+       ui-property-bar.h               \
+       ui-property-bar.c               \
+       ui-sidebar.h                    \
+       ui-sidebar.c                    \
        file.h                          \
        file.c                          \
+       new-label-dialog.h              \
+       new-label-dialog.c              \
        recent.h                        \
        recent.c                        \
-       tools.h                         \
-       tools.c                         \
        prefs.c                         \
        prefs.h                         \
+       prefs-model.c                   \
+       prefs-model.h                   \
        prefs-dialog.c                  \
        prefs-dialog.h                  \
-       alert.c                         \
-       alert.h                         \
+       hig.h                           \
        view.c                          \
        view.h                          \
        view-object.c                   \
@@ -85,20 +95,38 @@ glabels_SOURCES =                   \
        view-text.h                     \
        view-barcode.c                  \
        view-barcode.h                  \
-       view-highlight.c                \
-       view-highlight.h                \
-       merge-properties.c              \
-       merge-properties.h              \
+       merge-properties-dialog.c       \
+       merge-properties-dialog.h       \
+       object-editor.c                 \
+       object-editor.h                 \
+       object-editor-private.h         \
+       object-editor-position-page.c   \
+       object-editor-size-page.c       \
+       object-editor-lsize-page.c      \
+       object-editor-line-page.c       \
+       object-editor-fill-page.c       \
+       object-editor-image-page.c      \
+       object-editor-text-page.c       \
+       object-editor-edit-page.c       \
+       object-editor-bc-page.c         \
+       object-editor-data-page.c       \
+       object-editor-shadow-page.c     \
        print.c                         \
        print.h                         \
-       print-dialog.c                  \
-       print-dialog.h                  \
+       print-op.c                      \
+       print-op.h                      \
+       template-designer.c             \
+       template-designer.h             \
        bc.c                            \
        bc.h                            \
        bc-gnubarcode.c                 \
        bc-gnubarcode.h                 \
        bc-postnet.c                    \
        bc-postnet.h                    \
+       bc-iec16022.c                   \
+       bc-iec16022.h                   \
+       bc-iec18004.c                   \
+       bc-iec18004.h                   \
        label.c                         \
        label.h                         \
        label-object.c                  \
@@ -115,86 +143,97 @@ glabels_SOURCES =                         \
        label-image.h                   \
        label-barcode.c                 \
        label-barcode.h                 \
-       template.c                      \
-       template.h                      \
        xml-label.c                     \
        xml-label.h                     \
        xml-label-04.c                  \
        xml-label-04.h                  \
+       pixbuf-cache.c                  \
+       pixbuf-cache.h                  \
        merge.c                         \
        merge.h                         \
+       merge-init.c                    \
+       merge-init.h                    \
        merge-text.c                    \
        merge-text.h                    \
-       merge-ui.c                      \
-       merge-ui.h                      \
-       merge-ui-text.c                 \
-       merge-ui-text.h                 \
+       merge-evolution.c               \
+       merge-evolution.h               \
+       merge-vcard.c                   \
+       merge-vcard.h                   \
        text-node.c                     \
        text-node.h                     \
-       wdgt-text-props.c               \
-       wdgt-text-props.h               \
-       wdgt-text-entry.c               \
-       wdgt-text-entry.h               \
-       wdgt-position.c                 \
-       wdgt-position.h                 \
-       wdgt-size.c                     \
-       wdgt-size.h                     \
-       wdgt-line.c                     \
-       wdgt-line.h                     \
-       wdgt-fill.c                     \
-       wdgt-fill.h                     \
-       wdgt-vector.c                   \
-       wdgt-vector.h                   \
-       wdgt-bc-props.c                 \
-       wdgt-bc-props.h                 \
-       wdgt-bc-style.c                 \
-       wdgt-bc-style.h                 \
-       wdgt-bc-data.c                  \
-       wdgt-bc-data.h                  \
+       mini-preview-pixbuf.c           \
+       mini-preview-pixbuf.h           \
+       mini-preview-pixbuf-cache.c     \
+       mini-preview-pixbuf-cache.h     \
        wdgt-print-copies.c             \
        wdgt-print-copies.h             \
        wdgt-print-merge.c              \
        wdgt-print-merge.h              \
        wdgt-media-select.c             \
        wdgt-media-select.h             \
-       wdgt-mini-preview.c             \
-       wdgt-mini-preview.h             \
-       wdgt-rotate-label.c             \
-       wdgt-rotate-label.h             \
+       mini-preview.c                  \
+       mini-preview.h                  \
+       mini-label-preview.c            \
+       mini-label-preview.h            \
+       rotate-label-button.c           \
+       rotate-label-button.h           \
+       wdgt-chain-button.c             \
+       wdgt-chain-button.h             \
+       wdgt-merge-menu.c               \
+       wdgt-merge-menu.h               \
+       color-combo.c                   \
+       color-combo.h                   \
+       color-combo-button.c            \
+       color-combo-button.h            \
+       color-combo-menu.c              \
+       color-combo-menu.h              \
+       color-combo-color-menu-item.c   \
+       color-combo-color-menu-item.h   \
+       color-combo-history.c           \
+       color-combo-history.h           \
+       color-swatch.c                  \
+       color-swatch.h                  \
+       font-combo.c                    \
+       font-combo.h                    \
+       font-combo-menu.c               \
+       font-combo-menu.h               \
+       font-combo-menu-item.c          \
+       font-combo-menu-item.h          \
+       font-sample.c                   \
+       font-sample.h                   \
+       font-util.c                     \
+       font-util.h                     \
+       cairo-label-path.c              \
+       cairo-label-path.h              \
+       cairo-markup-path.c             \
+       cairo-markup-path.h             \
+       cairo-ellipse-path.c            \
+       cairo-ellipse-path.h            \
        util.c                          \
        util.h                          \
        color.c                         \
        color.h                         \
-       canvas-hacktext.c               \
-       canvas-hacktext.h               \
-       bonobo-mdi-child.c              \
-       bonobo-mdi-child.h              \
-       bonobo-mdi.c                    \
-       bonobo-mdi.h                    \
-       gnome-recent-model.c            \
-       gnome-recent-model.h            \
-       gnome-recent-util.c             \
-       gnome-recent-util.h             \
-       gnome-recent-view.c             \
-       gnome-recent-view.h             \
-       gnome-recent-view-bonobo.c      \
-       gnome-recent-view-bonobo.h      \
        debug.c                         \
        debug.h                         \
        $(BUILT_SOURCES)
 
+
 glabels_batch_SOURCES =                \
        glabels-batch.c                 \
-       prefs.c                         \
-       prefs.h                         \
        print.c                         \
        print.h                         \
+       print-op.c                      \
+       print-op.h                      \
        bc.c                            \
        bc.h                            \
        bc-gnubarcode.c                 \
        bc-gnubarcode.h                 \
        bc-postnet.c                    \
        bc-postnet.h                    \
+       bc-iec16022.c                   \
+       bc-iec16022.h                   \
+       bc-iec18004.c                   \
+       bc-iec18004.h                   \
        label.c                         \
        label.h                         \
        label-object.c                  \
@@ -211,60 +250,74 @@ glabels_batch_SOURCES =           \
        label-image.h                   \
        label-barcode.c                 \
        label-barcode.h                 \
-       template.c                      \
-       template.h                      \
        xml-label.c                     \
        xml-label.h                     \
        xml-label-04.c                  \
        xml-label-04.h                  \
+       pixbuf-cache.c                  \
+       pixbuf-cache.h                  \
        merge.c                         \
        merge.h                         \
+       merge-init.c                    \
+       merge-init.h                    \
        merge-text.c                    \
        merge-text.h                    \
+       merge-evolution.c               \
+       merge-evolution.h               \
+       merge-vcard.c                   \
+       merge-vcard.h                   \
        text-node.c                     \
        text-node.h                     \
+       prefs.c                         \
+       prefs.h                         \
+       prefs-model.c                   \
+       prefs-model.h                   \
+       font-util.c                     \
+       font-util.h                     \
        util.c                          \
        util.h                          \
+       color.c                         \
+       color.h                         \
        debug.c                         \
        debug.h                         \
+       wdgt-print-copies.c             \
+       wdgt-print-copies.h             \
+       wdgt-print-merge.c              \
+       wdgt-print-merge.h              \
+       mini-preview.c                  \
+       mini-preview.h                  \
+       hig.h                           \
+       cairo-label-path.c              \
+       cairo-label-path.h              \
+       cairo-ellipse-path.c            \
+       cairo-ellipse-path.h            \
        $(BUILT_SOURCES)
 
 marshal.h: marshal.list $(GLIB_GENMARSHAL)
-       $(GLIB_GENMARSHAL) $< --header --prefix=gl_marshal > $@
+       $(AM_V_GEN) $(GLIB_GENMARSHAL) $< --header --prefix=gl_marshal > $@
 
 marshal.c: marshal.list $(GLIB_GENMARSHAL)
-       echo "#include \"marshal.h\"" > $@ && \
+       $(AM_V_GEN) echo "#include \"marshal.h\"" > $@ && \
        $(GLIB_GENMARSHAL) $< --body --prefix=gl_marshal >> $@
 
-gnome-recent-marshal.h: gnome-recent-marshal.list $(GLIB_GENMARSHAL)
-       $(GLIB_GENMARSHAL) $< --header --prefix=gnome_recent > $@
-
-gnome-recent-marshal.c: gnome-recent-marshal.list $(GLIB_GENMARSHAL)
-       echo "#include \"gnome-recent-marshal.h\"" > $@ && \
-       $(GLIB_GENMARSHAL) $< --body --prefix=gnome_recent >> $@
-
-
-ui_DATA = glabels-ui.xml
-
 EXTRA_DIST = \
-       $(ui_DATA)                      \
-       marshal.list                    \
-       gnome-recent-marshal.list
+       marshal.list                    
 
 CLEANFILES = $(BUILT_SOURCES)
 
-$(bin_PROGRAMS): $(LIB_BARCODE_DIR)/libbarcode.a
+$(bin_PROGRAMS): $(LIB_BARCODE_DIR)/libbarcode.la \
+                $(LIB_IEC16022_DIR)/libiec16022.la \
+                ../libglabels/libglabels.la
 
-$(LIB_BARCODE_DIR)/libbarcode.a:
+$(LIB_BARCODE_DIR)/libbarcode.la:
        cd $(LIB_BARCODE_DIR); $(MAKE)
 
-clean: barcode_clean
-
-barcode_clean:
-       cd $(LIB_BARCODE_DIR); $(MAKE) clean
+$(LIB_IEC16022_DIR)/libiec16022.la:
+       cd $(LIB_IEC16022_DIR); $(MAKE)
 
-distclean maintainer-clean: barcode_distclean
+$(LIB_QRENCODE_DIR)/libqrencode.la:
+       cd $(LIB_QRENCODE_DIR); $(MAKE)
 
-barcode_distclean:
-       cd $(LIB_BARCODE_DIR); $(MAKE) distclean
+../libglabels/libglabels.la:
+       cd ../libglabels; $(MAKE)