2013-10-11 23:07:35 +00:00
|
|
|
include $(top_srcdir)/Makefile.decl
|
|
|
|
|
|
|
|
hedera_bin_PROGRAMS = hedera-bin
|
|
|
|
|
|
|
|
AM_CPPFLAGS = \
|
|
|
|
-I$(top_srcdir) \
|
|
|
|
$(gtk_CFLAGS) \
|
|
|
|
-D_HEDERA_LOCALE_DIR=\"$(datadir)/locale\"
|
2013-11-21 15:35:55 +00:00
|
|
|
hedera_bin_LDFLAGS = -export-dynamic
|
2013-10-11 23:07:35 +00:00
|
|
|
hedera_bin_SOURCES = main.c
|
|
|
|
hedera_bin_LDADD = \
|
2013-10-14 12:08:06 +00:00
|
|
|
$(gtk_LIBS) \
|
2013-10-11 23:07:35 +00:00
|
|
|
$(top_builddir)/gvn/libgvn.la \
|
|
|
|
$(top_builddir)/db/libdb.la \
|
|
|
|
$(top_builddir)/vn/libvn.la
|
|
|
|
|
2013-11-21 15:35:55 +00:00
|
|
|
libhedera_lib_LTLIBRARIES = libhedera.la
|
|
|
|
|
|
|
|
libhedera_includedir = $(hedera_includedir)
|
|
|
|
libhedera_include_HEADERS = hedera.h
|
2014-01-02 11:29:46 +00:00
|
|
|
libhedera_la_SOURCES = $(libhedera_include_HEADERS)
|
2013-11-21 15:35:55 +00:00
|
|
|
libhedera_la_LDFLAGS = -version-info $(VERSION_INFO)
|
|
|
|
libhedera_la_LIBADD = $(top_builddir)/vn/libvn.la
|
|
|
|
|
2014-01-02 11:29:46 +00:00
|
|
|
if ENABLE_INSTALL
|
|
|
|
libhedera_libdir = $(libdir)
|
|
|
|
else
|
|
|
|
libhedera_libdir = $(abs_top_builddir)/main
|
|
|
|
hedera_bin_CFLAGS = -D_SCHEMA_DIR=\"$(abs_top_builddir)\"
|
|
|
|
hedera_bin_LDFLAGS += -no-install
|
|
|
|
endif
|
2013-11-21 15:35:55 +00:00
|
|
|
|
2013-10-11 23:07:35 +00:00
|
|
|
SCRIPT = $(top_srcdir)/main/hedera.sh.in
|
|
|
|
hedera_bin_SCRIPTS = hedera
|
|
|
|
$(hedera_bin_SCRIPTS): $(SCRIPT)
|
|
|
|
$(SED) -e 's,[@]bindir[@],$(bindir),g' $(SCRIPT) > $(hedera_bin_SCRIPTS)
|
|
|
|
chmod +x $(hedera_bin_SCRIPTS)
|
|
|
|
|
|
|
|
pkgconfig_DATA = hedera.pc
|
2014-01-02 11:29:46 +00:00
|
|
|
desktop_DATA = vn-hedera.desktop
|
2013-10-11 23:07:35 +00:00
|
|
|
man_MANS = hedera.1
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
$(SCRIPT) \
|
|
|
|
hedera.pc.in
|
|
|
|
|
|
|
|
DISTCLEANFILES = \
|
|
|
|
$(hedera_bin_SCRIPTS) \
|
|
|
|
hedera.pc \
|
2014-01-02 11:29:46 +00:00
|
|
|
vn-hedera.desktop
|