]> git.sur5r.net Git - glabels/blobdiff - glabels2/src/Makefile.am
2009-08-31 Jim Evins <evins@snaught.com>
[glabels] / glabels2 / src / Makefile.am
index 5833c8eedebf20d30d9a2afbf6c50b514459f41f..da5c4de8373f4c8516470d8790cbc41f7b37cf84 100644 (file)
@@ -1,42 +1,46 @@
 LIB_BARCODE_DIR = ../barcode-0.98
+LIB_IEC16022_DIR = ../iec16022-0.2.1
+LIB_QRENCODE_DIR = ../qrencode-3.1.0
 
-SUBDIRS= pixmaps stock-pixmaps mygal recent-files
+SUBDIRS= pixmaps stock-pixmaps
 
 bin_PROGRAMS = glabels glabels-batch
 
-uidir = $(datadir)/glabels/ui/
-gladedir = $(datadir)/glabels/glade/
-
-
 INCLUDES = \
        -I$(top_srcdir)                                         \
        -I$(top_builddir)                                       \
-       $(GLABELS_CFLAGS)                                       \
        -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_UI_DIR=\""$(datadir)/glabels/ui/"\"           \
-       -DGLABELS_GLADE_DIR=\""$(datadir)/glabels/glade/"\"     \
-       $(DISABLE_DEPRECATED_CFLAGS)
+       -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)                 \
-       ../libglabels/libglabels.la     \
-       mygal/libmygal.la               \
-       recent-files/librecent.la       \
-       $(LIB_BARCODE_DIR)/libbarcode.la
+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)                 \
-       ../libglabels/libglabels.la     \
-       $(LIB_BARCODE_DIR)/libbarcode.la
+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                       \
@@ -44,8 +48,10 @@ BUILT_SOURCES =                      \
 
 glabels_SOURCES =                      \
        glabels.c                       \
-       splash.c                        \
-       splash.h                        \
+       warning-handler.c               \
+       warning-handler.h               \
+       critical-error-handler.c        \
+       critical-error-handler.h        \
        window.c                        \
        window.h                        \
        stock.c                         \
@@ -62,6 +68,8 @@ glabels_SOURCES =                     \
        ui-sidebar.c                    \
        file.h                          \
        file.c                          \
+       new-label-dialog.h              \
+       new-label-dialog.c              \
        recent.h                        \
        recent.c                        \
        prefs.c                         \
@@ -70,7 +78,6 @@ glabels_SOURCES =                     \
        prefs-model.h                   \
        prefs-dialog.c                  \
        prefs-dialog.h                  \
-       hig.c                           \
        hig.h                           \
        view.c                          \
        view.h                          \
@@ -88,8 +95,6 @@ glabels_SOURCES =                     \
        view-text.h                     \
        view-barcode.c                  \
        view-barcode.h                  \
-       view-highlight.c                \
-       view-highlight.h                \
        merge-properties-dialog.c       \
        merge-properties-dialog.h       \
        object-editor.c                 \
@@ -105,10 +110,11 @@ glabels_SOURCES =                         \
        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                            \
@@ -117,6 +123,10 @@ glabels_SOURCES =                  \
        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                  \
@@ -137,20 +147,24 @@ glabels_SOURCES =                         \
        xml-label.h                     \
        xml-label-04.c                  \
        xml-label-04.h                  \
-       xml-label-191.c                 \
-       xml-label-191.h                 \
        pixbuf-cache.c                  \
        pixbuf-cache.h                  \
-       base64.c                        \
-       base64.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                     \
+       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              \
@@ -163,26 +177,49 @@ glabels_SOURCES =                         \
        wdgt-rotate-label.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-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                  \
+       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               \
        debug.c                         \
        debug.h                         \
        $(BUILT_SOURCES)
 
+
 glabels_batch_SOURCES =                \
        glabels-batch.c                 \
        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                  \
@@ -203,18 +240,18 @@ glabels_batch_SOURCES =           \
        xml-label.h                     \
        xml-label-04.c                  \
        xml-label-04.h                  \
-       xml-label-191.c                 \
-       xml-label-191.h                 \
        pixbuf-cache.c                  \
        pixbuf-cache.h                  \
-       base64.c                        \
-       base64.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                         \
@@ -227,6 +264,17 @@ glabels_batch_SOURCES =            \
        color.h                         \
        debug.c                         \
        debug.h                         \
+       wdgt-print-copies.c             \
+       wdgt-print-copies.h             \
+       wdgt-print-merge.c              \
+       wdgt-print-merge.h              \
+       wdgt-mini-preview.c             \
+       wdgt-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)
@@ -241,11 +289,19 @@ EXTRA_DIST = \
 
 CLEANFILES = $(BUILT_SOURCES)
 
-$(bin_PROGRAMS): $(LIB_BARCODE_DIR)/libbarcode.la
+$(bin_PROGRAMS): $(LIB_BARCODE_DIR)/libbarcode.la \
+                $(LIB_IEC16022_DIR)/libiec16022.la \
+                ../libglabels/libglabels.la
 
 $(LIB_BARCODE_DIR)/libbarcode.la:
        cd $(LIB_BARCODE_DIR); $(MAKE)
 
+$(LIB_IEC16022_DIR)/libiec16022.la:
+       cd $(LIB_IEC16022_DIR); $(MAKE)
+
+$(LIB_QRENCODE_DIR)/libqrencode.la:
+       cd $(LIB_QRENCODE_DIR); $(MAKE)
+
 ../libglabels/libglabels.la:
        cd ../libglabels; $(MAKE)