~desrt/menu-factory/trunk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
AM_CFLAGS = -std=gnu99 -Wall -Wmissing-prototypes -Wwrite-strings -fPIC -DPIC
INCLUDES = $(gtk_CFLAGS) $(gio_CFLAGS)

shlibdir=$(libdir)
shlib_PROGRAMS = libmenu-factory-gtk.so.0.0.0
nodist_noinst_DATA = libmenu-factory-gtk.so.0 libmenu-factory-gtk.so

libmenu-factory-gtk.so.0 libmenu-factory-gtk.so: libmenu-factory-gtk.so.0.0.0
	$(AM_V_GEN) ln -fs libmenu-factory-gtk.so.0.0.0 $@

install-data-hook:
	ln -fs libmenu-factory-gtk.so.0.0.0 $(DESTDIR)$(shlibdir)/libmenu-factory-gtk.so.0
	ln -fs libmenu-factory-gtk.so.0.0.0 $(DESTDIR)$(shlibdir)/libmenu-factory-gtk.so

uninstall-hook:
	rm -f $(DESTDIR)$(shlibdir)/libmenu-factory-gtk.so.0
	rm -f $(DESTDIR)$(shlibdir)/libmenu-factory-gtk.so

libmenu_factory_gtk_so_0_0_0_LDADD = $(gtk_LIBS) $(gio_LIBS)
libmenu_factory_gtk_so_0_0_0_LDFLAGS = -shared -Wl,-soname=libmenu-factory-gtk.so.0
libmenu_factory_gtk_so_0_0_0_SOURCES = \
	menu-factory-gtk.c

menu_factory_gtk_HEADERS = \
	menu-factory-gtk.h

pkgconfig_DATA = \
	menu-factory-gtk.pc

CLEANFILES = libmenu-factory-gtk.so.0 libmenu-factory-gtk.so