equal
deleted
inserted
replaced
|
1 AM_CXXFLAGS = $(QT_CFLAGS) $(GLIB_CFLAGS) $(GCONF_CFLAGS) |
|
2 LIBS += $(QT_LIBS) $(GLIB_LIBS) $(GCONF_LIBS) |
|
3 |
|
4 lib_LTLIBRARIES = libgq-gconf.la |
|
5 |
|
6 libgq_gconf_la_SOURCES = GConfItem \ |
|
7 gconfitem.h \ |
|
8 gconfitem.cpp \ |
|
9 gconfitem_moc.cpp |
|
10 |
|
11 gqincludedir=$(includedir)/gq |
|
12 gqinclude_HEADERS = gconfitem.h GConfItem |
|
13 |
|
14 pkgconfigdir = $(libdir)/pkgconfig |
|
15 pkgconfig_DATA = gq-gconf.pc |
|
16 |
|
17 # Tests |
|
18 |
|
19 check_PROGRAMS = test-gconf |
|
20 |
|
21 test_gconf_SOURCES = test-gconf.h test-gconf.cpp test-gconf_moc.cpp |
|
22 test_gconf_CFLAGS = $(QTEST_CFLAGS) |
|
23 test_gconf_LDADD = libgq-gconf.la $(QTEST_LIBS) |
|
24 |
|
25 TESTS = run-test-gconf |
|
26 |
|
27 EXTRA_DIST = run-test-gconf |
|
28 |
|
29 # Moccing |
|
30 |
|
31 %_moc.cpp: %.h |
|
32 $(MOC) -o "$@" "$<" |
|
33 |
|
34 clean-moc: |
|
35 rm -f *_moc.cpp *_moc.lo |
|
36 |
|
37 clean-local: clean-moc |