summaryrefslogtreecommitdiff
path: root/examples/Makefile.am
blob: 7cc94ff65418f38a0b64694e9ab8619471de1b95 (plain)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
## Process this file with automake to create Makefile.in.

aliasdir = $(sysconfdir)/pango

###################################################
if BUILD_QT_TEST

QT_INCLUDES=-I $(QTDIR)/include
QT_LIBS=-L $(QTDIR)/lib -lqt 
MOC=$(QTDIR)/bin/moc

INCLUDES = -I$(top_srcdir) $(QT_INCLUDES) $(GLIB_CFLAGS)

bin_PROGRAMS = pango-viewer

pango_viewer_SOURCES =		\
	viewer-qt.cc		\
	viewer-qt.h		\
	moc_viewer-qt.cc

moc_viewer-qt.cc: viewer-qt.h
	$(MOC) $< -o $@

BUILT_SOURCES=moc_viewer-qt.cc

pango_viewer_LDADD = ../pango/libpango.la ../pango/libpangox.la $(FRIBIDI_LIBS) $(QT_LIBS)

endif
###################################################

all-local: pango.modules

pango.modules:
	( cd ../modules && \
          ../pango/pango-querymodules `find . -name '*.so'` > ../examples/pango.modules )

EXTRA_DIST=			\
	viewer-win32.c		\
	viewer-ft2.c		\
	makefile.mingw		\
	makefile.mingw.in	\
	HELLO.utf8		\
	dev-example.utf		\
	muru.utf		\
	pangorc			\
	pangox.aliases		\
	pangowin32.aliases

alias_DATA = pangox.aliases

makefile.mingw: $(top_builddir)/config.status $(top_srcdir)/examples/makefile.mingw.in
	cd $(top_builddir) && CONFIG_FILES=examples/$@ CONFIG_HEADERS= $(SHELL) ./config.status