root / trunk / plugins / par2 / Makefile.am @ 1863
History | View | Annotate | Download (1.5 KB)
| 1 | 
                  include $(top_srcdir)/Makefile.decl  | 
              
|---|---|
| 2 | 
                   | 
              
| 3 | 
                  plugindir = $(libdir)/nntpgrab  | 
              
| 4 | 
                  plugin_LTLIBRARIES = libnntpgrab_plugin_par2.la  | 
              
| 5 | 
                   | 
              
| 6 | 
                  # libpar2 isn't used in NNTPGrab 0.4  | 
              
| 7 | 
                  #libexec_PROGRAMS = nntpgrab_par2repair  | 
              
| 8 | 
                   | 
              
| 9 | 
                  libnntpgrab_plugin_par2_la_SOURCES = marshalers.c plugin_par2.c  | 
              
| 10 | 
                  #par2check.c  | 
              
| 11 | 
                  libnntpgrab_plugin_par2_la_CFLAGS = -I$(top_srcdir)/nntpgrab_core -I$(top_srcdir)/base $(GLIB_CFLAGS) -I$(top_srcdir)/plugins/par2/par2cmdline $(GLIB_CFLAGS) $(LIBPAR2_CFLAGS) -Wall  | 
              
| 12 | 
                  libnntpgrab_plugin_par2_la_CXXFLAGS = ${libnntpgrab_plugin_par2_la_CFLAGS}
                 | 
              
| 13 | 
                  libnntpgrab_plugin_par2_la_LDFLAGS = -module -no-undefined -version-info 0:0:0 -export-symbols ../nntpgrab_plugin.def  | 
              
| 14 | 
                  libnntpgrab_plugin_par2_la_LIBADD = $(GLIB_LIBS) $(LIBPAR2_LIBS) $(top_srcdir)/nntpgrab_core/libnntpgrab.la  | 
              
| 15 | 
                   | 
              
| 16 | 
                  #nntpgrab_par2repair_SOURCES = par2repair.cpp  | 
              
| 17 | 
                  #nntpgrab_par2repair_CFLAGS = $(GLIB_CFLAGS) $(LIBPAR2_CFLAGS)  | 
              
| 18 | 
                  #nntpgrab_par2repair_CXXFLAGS = ${nntpgrab_par2repair_CFLAGS}
                 | 
              
| 19 | 
                  #nntpgrab_par2repair_LDADD = $(GLIB_LIBS) $(LIBPAR2_LIBS)  | 
              
| 20 | 
                   | 
              
| 21 | 
                  EXTRA_DIST += par2check.c par2check.h marshall.list  | 
              
| 22 | 
                   | 
              
| 23 | 
                  BUILT_SOURCES = marshalers.h marshalers.c  | 
              
| 24 | 
                   | 
              
| 25 | 
                  marshalers.h: marshall.list  | 
              
| 26 | 
                  $(GLIB_GENMARSHAL) --prefix=ng_plugin_marshal $(srcdir)/marshall.list --header > marshalers-h.tmp \  | 
              
| 27 | 
                  && mv marshalers-h.tmp marshalers.h \  | 
              
| 28 | 
                  || ( rm -f marshalers-h.tmp; exit 1)  | 
              
| 29 | 
                  marshalers.c: marshall.list  | 
              
| 30 | 
                  $(GLIB_GENMARSHAL) --prefix=ng_plugin_marshal $(srcdir)/marshall.list --body > marshalers-c.tmp \  | 
              
| 31 | 
                  && mv marshalers-c.tmp marshalers.c \  | 
              
| 32 | 
                  || ( rm -f marshalers-c.tmp; exit 1 )  | 
              
| 33 | 
                   | 
              
NNTPGrab

