108 lines
		
	
	
		
			3.1 KiB
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			108 lines
		
	
	
		
			3.1 KiB
		
	
	
	
		
			Makefile
		
	
	
	
	
	
# Copyright (C) 2010 Daiki Ueno <ueno@unixuser.org>
 | 
						|
# Copyright (C) 2010 Red Hat, Inc.
 | 
						|
 | 
						|
# This library is free software; you can redistribute it and/or
 | 
						|
# modify it under the terms of the GNU Lesser General Public License
 | 
						|
# as published by the Free Software Foundation; either version 2 of
 | 
						|
# the License, or (at your option) any later version.
 | 
						|
 | 
						|
# This library is distributed in the hope that it will be useful, but
 | 
						|
# WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
						|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 | 
						|
# Lesser General Public License for more details.
 | 
						|
 | 
						|
# You should have received a copy of the GNU Lesser General Public
 | 
						|
# License along with this library; if not, write to the Free Software
 | 
						|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 | 
						|
# 02110-1301 USA
 | 
						|
 | 
						|
lib_LTLIBRARIES = libeek.la libeek-clutter.la libeek-xkb.la
 | 
						|
 | 
						|
libeek_la_SOURCES = \
 | 
						|
	eek-layout.c \
 | 
						|
	eek-layout.h \
 | 
						|
	eek-keyboard.c \
 | 
						|
	eek-keyboard.h \
 | 
						|
	eek-section.c \
 | 
						|
	eek-section.h \
 | 
						|
	eek-key.c \
 | 
						|
	eek-key.h \
 | 
						|
	eek-simple-keyboard.c \
 | 
						|
	eek-simple-keyboard.h \
 | 
						|
	eek-simple-section.c \
 | 
						|
	eek-simple-section.h \
 | 
						|
	eek-simple-key.c \
 | 
						|
	eek-simple-key.h \
 | 
						|
	eek-private.c \
 | 
						|
	eek-private.h \
 | 
						|
	eek-types.h \
 | 
						|
	eek-types.c \
 | 
						|
	eek-keysym.h \
 | 
						|
	eek-keysym.c \
 | 
						|
	eek-special-keysym-labels.h \
 | 
						|
	eek-unicode-keysym-labels.h \
 | 
						|
	eek-keyname-keysym-labels.h \
 | 
						|
	$(NULL)
 | 
						|
 | 
						|
libeek_la_CFLAGS = $(GOBJECT2_CFLAGS) $(CAIRO_CFLAGS) $(PANGO_CFLAGS)
 | 
						|
libeek_la_LIBADD = $(GOBJECT2_LIBS) $(CAIRO_LIBS) $(PANGO_LIBS)
 | 
						|
 | 
						|
libeek_clutter_la_SOURCES = \
 | 
						|
	eek-clutter-keyboard.c \
 | 
						|
	eek-clutter-keyboard.h \
 | 
						|
	eek-clutter-section.c \
 | 
						|
	eek-clutter-section.h \
 | 
						|
	eek-clutter-key.c \
 | 
						|
	eek-clutter-key.h \
 | 
						|
	eek-clutter-private.c \
 | 
						|
	eek-clutter-private.h \
 | 
						|
	eek-clutter.h \
 | 
						|
	$(NULL)
 | 
						|
 | 
						|
libeek_clutter_la_CFLAGS = $(CLUTTER_CFLAGS)
 | 
						|
libeek_clutter_la_LIBADD = libeek.la $(CLUTTER_LIBS)
 | 
						|
 | 
						|
libeek_xkb_la_SOURCES = \
 | 
						|
	eek-xkb-layout.h \
 | 
						|
	eek-xkb-layout.c \
 | 
						|
	$(NULL)
 | 
						|
 | 
						|
libeek_xkb_la_CFLAGS = $(XKB_CFLAGS)
 | 
						|
libeek_xkb_la_LIBADD = libeek.la $(XKB_LIBS)
 | 
						|
 | 
						|
eekdir = $(includedir)/eek-$(EEK_API_VERSION)/eek
 | 
						|
eek_HEADERS = \
 | 
						|
	$(top_srcdir)/eek/eek-keyboard.h \
 | 
						|
	$(top_srcdir)/eek/eek-section.h \
 | 
						|
	$(top_srcdir)/eek/eek-key.h \
 | 
						|
	$(top_srcdir)/eek/eek-layout.h \
 | 
						|
	$(top_srcdir)/eek/eek-keysym.h \
 | 
						|
	$(top_srcdir)/eek/eek-types.h \
 | 
						|
	$(top_srcdir)/eek/eek-clutter-keyboard.h \
 | 
						|
	$(top_srcdir)/eek/eek-clutter-section.h \
 | 
						|
	$(top_srcdir)/eek/eek-clutter-key.h \
 | 
						|
	$(top_srcdir)/eek/eek-xkb-layout.h \
 | 
						|
	$(top_srcdir)/eek/eek.h \
 | 
						|
	$(top_srcdir)/eek/eek-clutter.h \
 | 
						|
	$(top_srcdir)/eek/eek-xkb.h
 | 
						|
 | 
						|
eek-keysym.c: eek-special-keysym-labels.h eek-unicode-keysym-labels.h eek-keyname-keysym-labels.h
 | 
						|
 | 
						|
eek-special-keysym-labels.h: special-keysym-labels.txt
 | 
						|
	./gen-keysym-labels.py $< special_keysym_labels > $@
 | 
						|
eek-unicode-keysym-labels.h: unicode-keysym-labels.txt
 | 
						|
	./gen-keysym-labels.py $< unicode_keysym_labels > $@
 | 
						|
eek-keyname-keysym-labels.h: keyname-keysym-labels.txt
 | 
						|
	./gen-keysym-labels.py $< keyname_keysym_labels > $@
 | 
						|
 | 
						|
DISTCLEANFILES = \
 | 
						|
	eek-special-keysym-labels.h \
 | 
						|
	eek-unicode-keysym-labels.h \
 | 
						|
	eek-keyname-keysym-labels.h
 | 
						|
 | 
						|
EXTRA_DIST = \
 | 
						|
	gen-keysym-labels.py \
 | 
						|
	special-keysym-labels.txt \
 | 
						|
	unicode-keysym-labels.txt \
 | 
						|
	keyname-keysym-labels.txt
 |