This repository has been archived on 2024-07-15. You can view files and clone it, but cannot push or open issues or pull requests.
hedera/main/Makefile.am

51 lines
1.2 KiB
Makefile

include $(top_srcdir)/Makefile.decl
hedera_bin_PROGRAMS = hedera-bin
AM_CPPFLAGS = \
-I$(top_srcdir) \
$(gtk_CFLAGS) \
-D_HEDERA_LOCALE_DIR=\"$(datadir)/locale\"
hedera_bin_LDFLAGS = -export-dynamic
hedera_bin_SOURCES = main.c
hedera_bin_LDADD = \
$(gtk_LIBS) \
$(top_builddir)/gvn/libgvn.la \
$(top_builddir)/db/libdb.la \
$(top_builddir)/vn/libvn.la
libhedera_lib_LTLIBRARIES = libhedera.la
libhedera_includedir = $(hedera_includedir)
libhedera_include_HEADERS = hedera.h
libhedera_la_SOURCES = $(libhedera_include_HEADERS)
libhedera_la_LDFLAGS = -version-info $(VERSION_INFO)
libhedera_la_LIBADD = $(top_builddir)/vn/libvn.la
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
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
desktop_DATA = vn-hedera.desktop
man_MANS = hedera.1
EXTRA_DIST = \
$(SCRIPT) \
hedera.pc.in
DISTCLEANFILES = \
$(hedera_bin_SCRIPTS) \
hedera.pc \
vn-hedera.desktop