[monkey-bubble: 515/753] re-write file.



commit a19d2a0523f0d0f3806edd8fec3eae5e876b6391
Author: Michael Meeks <michael src gnome org>
Date:   Tue Jul 10 10:18:48 2001 +0000

    re-write file.

 monikers/Makefile.am-50588 |  151 ++++++++++++++++++++++++++-----------------
 1 files changed, 91 insertions(+), 60 deletions(-)
---
diff --git a/monikers/Makefile.am-50588 b/monikers/Makefile.am-50588
index b299ad7..c038380 100644
--- a/monikers/Makefile.am-50588
+++ b/monikers/Makefile.am-50588
@@ -1,60 +1,91 @@
-PLUGIN_DIR=$(libdir)/bonobo/plugin
-
-INCLUDES =                                              \
-        -DGNOMELOCALEDIR=\""$(datadir)/locale"\"        \
-	-I$(srcdir) -I$(top_srcdir) 			\
-	-I$(top_builddir)				\
-	-DPLUGIN_DIR=\""$(PLUGIN_DIR)"\"		\
-	-I$(top_srcdir)/libefs/src			\
-        -I$(includedir)                                 \
-	$(VFS_CFLAGS)					\
-        $(GNOME_INCLUDEDIR)
-
-common_ldflags = -avoid-version
-
-bonobo_plugindir =  $(PLUGIN_DIR)
-bonobo_plugin_LTLIBRARIES = libstorage_efs.la libstorage_fs.la 
-
-#
-# EFS storage module
-#
-libstorage_efs_la_SOURCES = 	\
-	bonobo-storage-efs.c	\
-	bonobo-storage-efs.h	\
-	bonobo-stream-efs.c	\
-	bonobo-stream-efs.h
-
-libstorage_efs_la_LDFLAGS = 			\
-	$(common_ldflags) 			\
-	-L$(top_builddir)/libefs/src		\
-	-lefs
-
-#
-# File-system based storage
-#
-libstorage_fs_la_SOURCES =	\
-	bonobo-storage-fs.c	\
-	bonobo-storage-fs.h	\
-	bonobo-stream-fs.c	\
-	bonobo-stream-fs.h
-
-libstorage_fs_la_LDFLAGS = 	\
-	$(common_ldflags)
-
-#
-# VFS storage module - disabled for now.
-#
-if HAVE_VFS
-libstoragedir = $(PLUGIN_DIR)
-libstorage_LTLIBRARIES =	\
-	libstorage_vfs.la
-
-libstorage_vfs_la_SOURCES =	\
-	bonobo-storage-vfs.c	\
-	bonobo-storage-vfs.h	\
-	bonobo-stream-vfs.c	\
-	bonobo-stream-vfs.h
-
-libstorage_vfs_la_LIBADD = 	\
-	$(VFS_LIBS)
-endif
+INCLUDES = \
+	-I..					\
+	-I$(srcdir)/..				\
+	$(WARN_CFLAGS)				\
+	$(MONIKER_CFLAGS)			\
+	-Wno-unused				\
+	-DLIBGNOME_PREFIX=\""$(prefix)"\"		\
+	-DLIBGNOME_LIBDIR=\""$(libdir)"\"		\
+	-DLIBGNOME_DATADIR=\""$(datadir)"\"		\
+	-DLIBGNOME_BINDIR=\""$(bindir)"\"		\
+	-DLIBGNOME_LOCALSTATEDIR=\""$(localstatedir)"\" \
+	-DLIBGNOME_LOCALEDIR=\""$(gnomelocaledir)"\"	\
+	-DLIBGNOME_SYSCONFDIR=\""$(sysconfdir)"\"	\
+	-DVERSION=\""$(VERSION)"\"			\
+	-DG_LOG_DOMAIN=\"GnomeMonikers\"
+
+OAF_FILES = 						\
+	Bonobo_Moniker_ditem.oaf
+	GNOME_Moniker_std.oaf
+
+clean-local:
+	-rm -f $(OAF_FILES)
+
+EXTRA_DIST = \
+	Bonobo_Moniker_ditem.oaf.in \
+	GNOME_Moniker_std.oaf.in.in
+
+moniker_LTLIBRARIES = libmoniker_ditem.la libmoniker_gnome_std.la
+monikerdir = $(libdir)/bonobo/monikers
+
+
+# File monikers
+
+GNOME_Moniker_std.oaf.in : $(srcdir)/GNOME_Moniker_std.oaf.in.in
+	sed -e "s|\ MONIKER_LIBDIR\@|$(monikerdir)|" \
+	 $(srcdir)/GNOME_Moniker_std.oaf.in.in > GNOME_Moniker_std.oaf.in
+CLEANFILES+=GNOME_Moniker_std.oaf GNOME_Moniker_std.oaf.in
+
+libmoniker_gnome_std_la_SOURCES = \
+	gnome-moniker-std.c		\
+	gnome-moniker-std.h		\
+	bonobo-moniker-extender-file.c	\
+	bonobo-moniker-file.c
+
+libmoniker_gnome_std_la_LIBADD = \
+	../libgnome/libgnome-2.la \
+	$(MONIKER_LIBS)
+
+
+# Desktop Item specific bits...
+
+# Data
+gnomesysconfdir = $(sysconfdir)/gnome-2.0
+gnomesysconf_DATA = gnome-desktop.xmldb
+
+install-data-local:
+	-./desktop-item-boot
+
+# DItem moniker
+
+Bonobo_Moniker_ditem.oaf : $(srcdir)/Bonobo_Moniker_ditem.oaf.in $(top_builddir)/config.status
+	sed -e "s|\ MONIKER_LIBDIR\@|$(monikerdir)|" \
+	$(srcdir)/Bonobo_Moniker_ditem.oaf.in > Bonobo_Moniker_ditem.oaf 
+
+libmoniker_ditem_la_SOURCES =	 		\
+	bonobo-moniker-ditem.c 			\
+	bonobo-config-ditem.c			\
+	bonobo-config-ditem.h			\
+	bonobo-config-ditem-utils.c		\
+	bonobo-config-ditem-utils.h
+
+libmoniker_ditem_la_LIBADD = \
+	../libgnome/libgnome-2.la		\
+	$(MONIKER_LIBS)
+
+# DItem tests ...
+
+noinst_PROGRAMS = test-ditem desktop-item-boot
+
+test_ditem_SOURCES = \
+	test-ditem.c
+
+test_ditem_LDADD = \
+	../libgnome/libgnome-2.la		\
+	$(MONIKER_LIBS)
+
+desktop_item_boot_SOURCES = \
+	desktop-item-boot.c
+
+desktop_item_boot_LDADD = \
+	../libgnome/libgnome-2.la



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]