"Fossies" - the Fresh Open Source Software Archive

Member "ncdc-1.22.1/Makefile.am" (15 Apr 2019, 4048 Bytes) of package /linux/privat/ncdc-1.22.1.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "Makefile.am": 1.21_vs_1.22.

    1 EXTRA_DIST=ChangeLog
    2 noinst_PROGRAMS=
    3 AM_CFLAGS=${NCURSES_CFLAGS} $(GLIB_CFLAGS) $(GNUTLS_CFLAGS) $(SQLITE_CFLAGS)
    4 AM_CPPFLAGS=-I$(builddir)/src -I$(srcdir)/deps -I$(srcdir)/deps/ylib
    5 
    6 
    7 
    8 if INSTALL_MANPAGE
    9 man_MANS=doc/ncdc.1
   10 endif
   11 
   12 EXTRA_DIST+=doc/ncdc.1 doc/ncdc.pod.in
   13 
   14 if USE_POD2MAN
   15 noinst_PROGRAMS+=gendoc
   16 gendoc_SOURCES=doc/gendoc.c
   17 
   18 CLEANFILES=doc/ncdc.1 doc/ncdc.pod
   19 
   20 doc/ncdc.pod: $(srcdir)/doc/ncdc.pod.in gendoc$(EXEEXT)
   21 	$(AM_V_GEN)./gendoc$(EXEEXT) <"$(srcdir)/doc/ncdc.pod.in" >doc/ncdc.pod
   22 
   23 doc/ncdc.1: doc/ncdc.pod
   24 	$(AM_V_GEN)pod2man --center "ncdc manual" --release "@PACKAGE@-@VERSION@" doc/ncdc.pod >doc/ncdc.1
   25 endif
   26 
   27 
   28 if HAVE_MH
   29 mkhdr=makeheaders
   30 mkhdr_dep=
   31 else
   32 mkhdr=./makeheaders$(EXEEXT)
   33 mkhdr_dep=makeheaders$(EXEEXT)
   34 noinst_PROGRAMS+=makeheaders
   35 endif
   36 makeheaders_SOURCES=deps/makeheaders.c
   37 
   38 
   39 noinst_LIBRARIES=libdeps.a
   40 libdeps_a_SOURCES=deps/ylib/yuri.c deps/yxml.c
   41 EXTRA_DIST+=deps/ylib/yuri.h deps/yxml.h
   42 
   43 
   44 bin_PROGRAMS=ncdc
   45 ncdc_SOURCES=\
   46 	src/bloom.c\
   47 	src/cc.c\
   48 	src/commands.c\
   49 	src/db.c\
   50 	src/dl.c\
   51 	src/dlfile.c\
   52 	src/fl_load.c\
   53 	src/fl_local.c\
   54 	src/fl_save.c\
   55 	src/fl_util.c\
   56 	src/geoip.c\
   57 	src/hub.c\
   58 	src/listen.c\
   59 	src/main.c\
   60 	src/net.c\
   61 	src/proto.c\
   62 	src/search.c\
   63 	src/strutil.c\
   64 	src/tth.c\
   65 	src/ui.c\
   66 	src/ui_colors.c\
   67 	src/ui_listing.c\
   68 	src/ui_logwindow.c\
   69 	src/ui_textinput.c\
   70 	src/uit_conn.c\
   71 	src/uit_dl.c\
   72 	src/uit_fl.c\
   73 	src/uit_hub.c\
   74 	src/uit_main.c\
   75 	src/uit_msg.c\
   76 	src/uit_search.c\
   77 	src/uit_userlist.c\
   78 	src/util.c\
   79 	src/vars.c
   80 
   81 auto_headers=$(ncdc_SOURCES:.c=.h)
   82 noinst_HEADERS=src/doc.h src/ncdc.h
   83 ncdc_LDADD=libdeps.a -lm $(NCURSES_LIBS) $(Z_LIBS) $(BZ2_LIBS) $(GLIB_LIBS) $(GNUTLS_LIBS) $(GCRYPT_LIBS) $(SQLITE_LIBS) $(GEOIP_LIBS)
   84 MOSTLYCLEANFILES=$(auto_headers) src/version.h mkhdr.done
   85 
   86 
   87 # Create a separate version.h and make sure only main.c depends on it. This
   88 # avoids the need to recompile everything on each commit.
   89 if USE_GIT_VERSION
   90 src/version.h: $(srcdir)/.git/logs/HEAD
   91 	$(AM_V_GEN)echo '"'"`git describe --abbrev=4 --dirty=-d | sed s/^v//`"'"' >src/version.h
   92 else
   93 src/version.h: Makefile
   94 	$(AM_V_GEN)echo '"'"@VERSION@"'"' >src/version.h
   95 endif
   96 src/main.$(OBJEXT): src/version.h
   97 
   98 
   99 $(auto_headers): mkhdr.done
  100 mkhdr.done: $(mkhdr_dep) $(ncdc_SOURCES)
  101 	$(AM_V_GEN)$(mkhdr) `echo $(ncdc_SOURCES) | sed 's#\([^ ]*\)\.c#$(srcdir)/\1.c:$(builddir)/\1.h#g'` && touch mkhdr.done
  102 
  103 # Regenerate the header dependencies below, should be run every time
  104 # ncdc_SOURCES is modified.
  105 update-headerdeps:
  106 	cd $(srcdir) &&\
  107 		perl -le 'print "$$_.\$$(OBJEXT): $$_.h" for grep s/\.c//, @ARGV' -- $(ncdc_SOURCES) |\
  108 		perl -e 'open(I, "<Makefile.am") && open (O, ">Makefile.am~") or die $$!; while(<I>) { print O $$_; last if /^# HEADER_DEPS/ }; print O $$_ while(<>);'
  109 	mv $(srcdir)/Makefile.am~ $(srcdir)/Makefile.am
  110 
  111 
  112 # !! Do not write anything below this line !!
  113 # HEADER_DEPS
  114 src/bloom.$(OBJEXT): src/bloom.h
  115 src/cc.$(OBJEXT): src/cc.h
  116 src/commands.$(OBJEXT): src/commands.h
  117 src/db.$(OBJEXT): src/db.h
  118 src/dl.$(OBJEXT): src/dl.h
  119 src/dlfile.$(OBJEXT): src/dlfile.h
  120 src/fl_load.$(OBJEXT): src/fl_load.h
  121 src/fl_local.$(OBJEXT): src/fl_local.h
  122 src/fl_save.$(OBJEXT): src/fl_save.h
  123 src/fl_util.$(OBJEXT): src/fl_util.h
  124 src/geoip.$(OBJEXT): src/geoip.h
  125 src/hub.$(OBJEXT): src/hub.h
  126 src/listen.$(OBJEXT): src/listen.h
  127 src/main.$(OBJEXT): src/main.h
  128 src/net.$(OBJEXT): src/net.h
  129 src/proto.$(OBJEXT): src/proto.h
  130 src/search.$(OBJEXT): src/search.h
  131 src/strutil.$(OBJEXT): src/strutil.h
  132 src/tth.$(OBJEXT): src/tth.h
  133 src/ui.$(OBJEXT): src/ui.h
  134 src/ui_colors.$(OBJEXT): src/ui_colors.h
  135 src/ui_listing.$(OBJEXT): src/ui_listing.h
  136 src/ui_logwindow.$(OBJEXT): src/ui_logwindow.h
  137 src/ui_textinput.$(OBJEXT): src/ui_textinput.h
  138 src/uit_conn.$(OBJEXT): src/uit_conn.h
  139 src/uit_dl.$(OBJEXT): src/uit_dl.h
  140 src/uit_fl.$(OBJEXT): src/uit_fl.h
  141 src/uit_hub.$(OBJEXT): src/uit_hub.h
  142 src/uit_main.$(OBJEXT): src/uit_main.h
  143 src/uit_msg.$(OBJEXT): src/uit_msg.h
  144 src/uit_search.$(OBJEXT): src/uit_search.h
  145 src/uit_userlist.$(OBJEXT): src/uit_userlist.h
  146 src/util.$(OBJEXT): src/util.h
  147 src/vars.$(OBJEXT): src/vars.h