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 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
|
#
# Copyright (C) 2009 Alexander Sack <asac@jwsdot.com>
#
# This file is part of:
# ntrack - Network Status Tracking for Desktop Applications
# http://launchpad.net/ntrack
#
# ntrack 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 3 of
# the License, or (at your option) any later version.
#
# ntrack 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 ntrack. If not, see <http://www.gnu.org/licenses/>.
#
SUBDIRS = test
lib_LTLIBRARIES = libntrack-qt4.la
qt4pkgincludedir = $(pkgincludedir)/qt4
NTRACK_QT4_LT_VERSION = 1:0:0
AM_CFLAGS = \
-Wall \
-Werror \
-pedantic \
-isystem $(shell pkg-config --variable=includedir QtCore) \
$(NULL)
AM_LDFLAGS = \
$(NULL)
libntrack_qt4_la_SOURCES = \
QNtrack.cpp \
$(NULL)
nodist_libntrack_qt4_la_SOURCES = \
moc_QNtrack.cpp \
$(NULL)
libntrack_qt4_la_CXXFLAGS = \
$(AM_CFLAGS) \
$(QTCORE_CFLAGS) \
-I$(top_srcdir)/common \
$(NULL)
libntrack_qt4_la_LIBADD = \
$(QTCORE_LIBS) \
../common/libntrack.la \
$(NULL)
libntrack_qt4_la_LDFLAGS = \
$(AM_LDFLAGS) \
-version-info $(NTRACK_QT4_LT_VERSION) \
$(NULL)
qt4pkginclude_HEADERS = \
QNtrack.h \
$(NULL)
EXTRA_DIST = \
libntrack-qt4.pc.in \
$(nodist_libntrack_qt4_la_SOURCES:moc_%.cpp=%.h) \
$(NULL)
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = \
libntrack-qt4.pc \
$(NULL)
# This rule lets GNU make create any moc_*.cpp from the equivalent *.h
moc_QNtrack.cpp: QNtrack.h
moc-qt4 $? -o $@
CLEANFILES = moc_QNtrack.cpp
|