root / trunk / nntpgrab_core / Makefile.am @ 1834
History | View | Annotate | Download (2 KB)
| 1 | 
                  ## Process this file with automake to produce Makefile.in  | 
              
|---|---|
| 2 | 
                  include $(top_srcdir)/Makefile.decl  | 
              
| 3 | 
                   | 
              
| 4 | 
                  lib_LTLIBRARIES = libnntpgrab.la  | 
              
| 5 | 
                   | 
              
| 6 | 
                  libnntpgrab_la_SOURCES = configuration.c core_signals.c marshalers.c \  | 
              
| 7 | 
                  nntpconnection.c nntpconnection_backend_iface.c nntpconnection_backend_native.c \  | 
              
| 8 | 
                  nntpconnection_backend_gio.c nntpconnection_utils.c nntpgrab_core.c collection_alloc.c \  | 
              
| 9 | 
                  decoder_thread.c download_thread.c download_queue.c queue_rawfile.c plugins.c throttle.c  | 
              
| 10 | 
                  libnntpgrab_la_CFLAGS = $(GLIB_CFLAGS) $(PCRE_CFLAGS) $(OPENSSL_CFLAGS) $(LIBPROXY_CFLAGS) $(GIO_CFLAGS) $(GNUTLS_CFLAGS) $(NSS_CFLAGS) -I. -I$(top_srcdir)/plugins -I$(top_srcdir)/base -DG_LOG_DOMAIN=\"NNTPGrab-Core\" -Wall -DIN_NNTPGRAB_CORE  | 
              
| 11 | 
                  libnntpgrab_la_LDFLAGS = -no-undefined -version-info 0:0:0 -export-symbols nntpgrab.def  | 
              
| 12 | 
                  libnntpgrab_la_LIBADD = $(GLIB_LIBS) $(PCRE_LIBS) $(OPENSSL_LIBS) $(LIBPROXY_LIBS) $(GIO_LIBS) $(GNUTLS_LIBS) $(NSS_LIBS) $(top_srcdir)/base/libnntpgrab_utils.la  | 
              
| 13 | 
                  if WIN32  | 
              
| 14 | 
                  libnntpgrab_la_LIBADD += -lws2_32 -lshlwapi  | 
              
| 15 | 
                  libnntpgrab_la_SOURCES += strptime.c  | 
              
| 16 | 
                  endif  | 
              
| 17 | 
                   | 
              
| 18 | 
                  libnntpgrab_includedir = $(includedir)/nntpgrab  | 
              
| 19 | 
                  libnntpgrab_include_HEADERS = nntpgrab.h nntpgrab_plugin.h  | 
              
| 20 | 
                  noinst_HEADERS = configuration.h marshalers.h nntpconnection.h \  | 
              
| 21 | 
                  nntpgrab_internal.h plugins.h strptime.h nntpconnection_backend_iface.h \  | 
              
| 22 | 
                  nntpconnection_backend_gio.h nntpconnection_backend_native.h nntpconnection_utils.h \  | 
              
| 23 | 
                  collection_alloc.h queue_rawfile.h decoder_thread.h download_thread.h download_queue.h  | 
              
| 24 | 
                   | 
              
| 25 | 
                  BUILT_SOURCES = marshalers.h marshalers.c  | 
              
| 26 | 
                   | 
              
| 27 | 
                  EXTRA_DIST += marshall.list nntpgrab.def  | 
              
| 28 | 
                   | 
              
| 29 | 
                  marshalers.h: marshall.list  | 
              
| 30 | 
                  $(GLIB_GENMARSHAL) --prefix=nntpgrab_marshal $(srcdir)/marshall.list --header > marshalers-h.tmp \  | 
              
| 31 | 
                  && mv marshalers-h.tmp marshalers.h \  | 
              
| 32 | 
                  || ( rm -f marshalers-h.tmp; exit 1)  | 
              
| 33 | 
                  marshalers.c: marshall.list  | 
              
| 34 | 
                  $(GLIB_GENMARSHAL) --prefix=nntpgrab_marshal $(srcdir)/marshall.list --body > marshalers-c.tmp \  | 
              
| 35 | 
                  && mv marshalers-c.tmp marshalers.c \  | 
              
| 36 | 
                  || ( rm -f marshalers-c.tmp; exit 1 )  | 
              
| 37 | 
                   | 
              
| 38 | 
                  pkgconfigdir = $(libdir)/pkgconfig  | 
              
| 39 | 
                  pkgconfig_DATA = nntpgrab.pc  | 
              
| 40 | 
                  DISTCLEANFILES = nntpgrab.pc  | 
              
| 41 | 
                   | 
              
NNTPGrab

