Projekt

Allgemein

Profil

Herunterladen (2,14 KB) Statistiken
| Zweig: | Markierung: | Revision:
INCLUDES= -I$(gwenhywfar_symlinkdir) \
-I$(top_srcdir)/src/base \
-I$(top_srcdir)/src/crypt \
-I$(top_srcdir)/src/os \
-I$(top_srcdir)/src/net2 \
-I$(top_srcdir)/src/html \
-I$(top_srcdir)/src/parser $(all_includes)

AM_CFLAGS=$(visibility_cflags)

SUBDIRS = base sio os parser crypt3 crypttoken gui cryptmsg html sar
DIST_SUBDIRS=base sio os parser crypt3 crypttoken gui cryptmsg html sar gparser

DEFS += \
-DBUILDING_GWENHYWFAR \
-DGWEN_PREFIX_DIR=\"$(prefix)\" \
-DGWEN_SYSCONF_DIR=\"@gwenhywfar_cfg_searchdir@\" \
-DLOCALEDIR=\"@gwenhywfar_locale_searchdir@\" \
-DLIBDIR=\"$(libdir)\" \
-DGWENHYWFAR_SO_EFFECTIVE_STR=\"$(GWENHYWFAR_SO_EFFECTIVE)\" \
-DGWEN_DATADIR=\"$(gwenhywfar_data_searchdir)\" \
-DGWEN_SYSDATADIR=\"$(gwenhywfar_sysdata_searchdir)\" \
-DPLUGINDIR=\"$(gwenhywfar_plugin_searchdir)\"

# Note: The symbol "DATADIR" is already used by some Windows header,
# so we have to name this differently here.

EXTRA_DIST=\
types.h.in \
version.h.in \
ressource.rc.in ressource.rc

# Before compiling the sources, first built these files
BUILT_SOURCES = types.h version.h


iheaderdir=$(gwenhywfar_headerdir_am)/gwenhywfar
iheader_HEADERS=\
gwenhywfar.h \
gwenhywfarapi.h \
types.h \
version.h

noinst_HEADERS=\
binreloc.h

lib_LTLIBRARIES=libgwenhywfar.la

libgwenhywfar_la_SOURCES=\
binreloc.c \
gwenhywfar.c

libgwenhywfar_la_LIBADD=\
base/libbase.la \
crypt3/libcrypt3.la \
crypttoken/libcrypttoken.la \
cryptmsg/libcryptmsg.la \
sio/libsio.la \
os/libos.la \
parser/libparser.la \
html/libgwenhtml.la \
gui/libgui.la \
sar/libsar.la $(i18n_libs) $(ICONV_LIBS) $(LIBGCRYPT_LIBS) $(LIBGNUTLS_LIBS) $(rt_libs) $(all_libraries)


noinst_PROGRAMS=testlib
testlib_SOURCES=testlib.c
testlib_LDADD=libgwenhywfar.la

libgwenhywfar_la_LDFLAGS= \
-no-undefined $(STRIPALL) $(ressource_ldflags) \
-version-info \
$(GWENHYWFAR_SO_CURRENT):$(GWENHYWFAR_SO_REVISION):$(GWENHYWFAR_SO_AGE)


TESTS = testlib

sources:
for f in $(libgwenhywfar_la_SOURCES); do \
echo $(subdir)/$$f >>$(top_srcdir)/i18nsources; \
done
for d in $(SUBDIRS); do \
make -C $$d sources; \
done ;


ressource.o: ressource.rc
$(RC) -o $@ $<


(2-2/11)