54 lines
1.2 KiB
Makefile
54 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
|
|
|
|
if ENABLE_INSTALL
|
|
libhedera_libdir = $(libdir)
|
|
else
|
|
libhedera_libdir = $(abs_top_builddir)/main
|
|
endif
|
|
|
|
libhedera_includedir = $(hedera_includedir)
|
|
libhedera_include_HEADERS = hedera.h
|
|
libhedera_la_SOURCES = $(libhedera_includedir_HEADERS)
|
|
libhedera_la_LDFLAGS = -version-info $(VERSION_INFO)
|
|
libhedera_la_LIBADD = $(top_builddir)/vn/libvn.la
|
|
|
|
|
|
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 \
|
|
vn-hedera-debug.desktop
|