summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorJonathan Blandford <jrb@redhat.com>2002-11-07 22:09:59 +0000
committerJonathan Blandford <jrb@src.gnome.org>2002-11-07 22:09:59 +0000
commit765cb51df34c4e800f70de33c8ff14d9baa7eba8 (patch)
treeb25e4f6b365ddedd7216a17448bcd36b3bfb57f9 /src/Makefile.am
parentb56824f6500566bed0498adad33b2b1133beb685 (diff)
downloadmetacity-765cb51df34c4e800f70de33c8ff14d9baa7eba8.tar.gz
metacity-765cb51df34c4e800f70de33c8ff14d9baa7eba8.tar.bz2
add a pc file for libmetacity-private
Thu Nov 7 17:07:21 2002 Jonathan Blandford <jrb@redhat.com> * src/libmetacity-private.pc.in: add a pc file for libmetacity-private * src/Makefile.am: Install a few files as a shared library so that others can draw metacity themes.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am30
1 files changed, 26 insertions, 4 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index c39d6c6..6e005f2 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,3 +1,4 @@
+lib_LTLIBRARIES = libmetacity-private.la
SUBDIRS=wm-tester tools themes
@@ -80,7 +81,7 @@ metacity_SOURCES= \
xprops.h \
$(EGGFILES)
-metacity_theme_viewer_SOURCES= \
+libmetacity_private_la_SOURCES= \
gradient.c \
gradient.h \
preview-widget.c \
@@ -89,10 +90,21 @@ metacity_theme_viewer_SOURCES= \
theme.h \
theme-parser.c \
theme-parser.h \
- theme-viewer.c \
util.c \
util.h
+libmetacityincludedir = $(includedir)/metacity-1/metacity-private
+
+libmetacityinclude_HEADERS = \
+ gradient.h \
+ preview-widget.h \
+ theme.h \
+ theme-parser.h \
+ util.h
+
+metacity_theme_viewer_SOURCES= \
+ theme-viewer.c
+
metacity_dialog_SOURCES= \
metacity-dialog.c
@@ -100,7 +112,7 @@ bin_PROGRAMS=metacity metacity-theme-viewer
libexec_PROGRAMS=metacity-dialog
metacity_LDADD= @METACITY_LIBS@
-metacity_theme_viewer_LDADD= @METACITY_LIBS@
+metacity_theme_viewer_LDADD= @METACITY_LIBS@ libmetacity-private.la
metacity_dialog_LDADD=@METACITY_LIBS@
testgradient_SOURCES=gradient.h gradient.c testgradient.c
@@ -137,7 +149,17 @@ CLEANFILES = inlinepixbufs.h
inlinepixbufs.h: $(IMAGES)
$(GDK_PIXBUF_CSOURCE) --raw --build-list $(VARIABLES) >$(srcdir)/inlinepixbufs.h
-EXTRA_DIST=$(desktopfiles_DATA) $(IMAGES) $(schema_DATA) update-from-egg.sh $(desktopfiles_in_files) $(schema_in_files)
+pkgconfigdir = $(libdir)/pkgconfig
+
+pkgconfig_DATA = libmetacity-private.pc
+
+EXTRA_DIST=$(desktopfiles_DATA) \
+ $(IMAGES) $(schema_DATA) \
+ update-from-egg.sh \
+ $(desktopfiles_in_files) \
+ $(schema_in_files) \
+ libmetacity-private.pc.in
+
EGGDIR=$(srcdir)/../../libegg/libegg