root / Makefile.am @ master
History | View | Annotate | Download (2 KB)
| 1 |
## Process this file with automake to produce Makefile.in |
|---|---|
| 2 |
include $(top_srcdir)/Makefile.decl |
| 3 |
|
| 4 |
SUBDIRS = po base nntpgrab_core automation plugins gui_base glue server client tests docs |
| 5 |
|
| 6 |
DISTCHECK_CONFIGURE_FLAGS = --enable-introspection --enable-gtk-doc |
| 7 |
|
| 8 |
EXTRA_DIST += intltool-extract.in intltool-merge.in intltool-update.in \ |
| 9 |
server_qt/server_qt.pro \ |
| 10 |
server_qt/server_qt.rc \ |
| 11 |
server_qt/nntpgrab_server_qt.desktop \ |
| 12 |
server_qt/main.cpp \ |
| 13 |
server_qt/mainserverdialog.ui \ |
| 14 |
server_qt/mainserverwindow.cpp \ |
| 15 |
server_qt/mainserverwindow.h \ |
| 16 |
server_qt/mainserverwindow.ui \ |
| 17 |
server_qt/nntpgrab_qt.cpp \ |
| 18 |
server_qt/nntpgrab_qt.h |
| 19 |
|
| 20 |
nsi: |
| 21 |
sed s/@VER@/`svnversion $(top_srcdir)`/ $(top_srcdir)/nntpgrab.nsi > nntpgrab2.nsi |
| 22 |
makensis nntpgrab2.nsi |
| 23 |
|
| 24 |
nsi64: |
| 25 |
sed s/@VER@/`svnversion $(top_srcdir)`/ $(top_srcdir)/nntpgrab_x64.nsi > nntpgrab2.nsi |
| 26 |
makensis nntpgrab2.nsi |
| 27 |
|
| 28 |
## Introspection support |
| 29 |
-include $(INTROSPECTION_MAKEFILE) |
| 30 |
INTROSPECTION_GIRS = |
| 31 |
INTROSPECTION_SCANNER_ARGS = -I$(top_srcdir)/base |
| 32 |
INTROSPECTION_COMPILER_ARGS = |
| 33 |
|
| 34 |
if HAVE_INTROSPECTION |
| 35 |
introspection_sources = $(top_srcdir)/nntpgrab_core/nntpgrab.h \ |
| 36 |
$(top_srcdir)/nntpgrab_core/nntpgrab_plugin.h \ |
| 37 |
$(top_srcdir)/glue/nntpgrab_glue.h \ |
| 38 |
$(top_srcdir)/base/nntpgrab_types.h \ |
| 39 |
$(top_srcdir)/base/nntpgrab_utils.h |
| 40 |
|
| 41 |
Nntpgrab-1.0.gir: $(top_srcdir)/base/libnntpgrab_utils.la $(top_srcdir)/nntpgrab_core/libnntpgrab.la $(top_srcdir)/glue/libnntpgrab_glue.la |
| 42 |
Nntpgrab_1_0_gir_INCLUDES = GObject-2.0 |
| 43 |
Nntpgrab_1_0_gir_CFLAGS = $(INCLUDES) -DDONT_WRAP_GLIB |
| 44 |
Nntpgrab_1_0_gir_LIBS = $(top_srcdir)/base/libnntpgrab_utils.la $(top_srcdir)/nntpgrab_core/libnntpgrab.la $(top_srcdir)/glue/libnntpgrab_glue.la |
| 45 |
Nntpgrab_1_0_gir_FILES = $(introspection_sources) |
| 46 |
Nntpgrab_1_0_gir_SCANNERFLAGS = |
| 47 |
INTROSPECTION_GIRS += Nntpgrab-1.0.gir |
| 48 |
|
| 49 |
girdir = $(datadir)/gir-1.0 |
| 50 |
gir_DATA = $(INTROSPECTION_GIRS) |
| 51 |
|
| 52 |
typelibdir = $(libdir)/girepository-1.0 |
| 53 |
typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib) |
| 54 |
|
| 55 |
CLEANFILES = $(gir_DATA) $(typelib_DATA) |
| 56 |
endif |
| 57 |
|
NNTPGrab

