"Fossies" - the Fresh Open Source Software Archive

Member "c_count-7.20/makefile.in" (23 Sep 2020, 2471 Bytes) of package /linux/privat/c_count-7.20.tgz:


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.in": 7.18_vs_7.19.

    1 # $Id: makefile.in,v 7.22 2020/09/23 00:50:49 tom Exp $
    2 # Makefile-template for 'c_count'
    3 
    4 SHELL		= /bin/sh
    5 
    6 THIS		= c_count
    7 
    8 #### Start of system configuration section. ####
    9 
   10 @SET_MAKE@
   11 srcdir 		= @srcdir@
   12 VPATH  		= @srcdir@
   13 
   14 CC		= @CC@
   15 LINK		= $(CC)
   16 
   17 INSTALL		= @INSTALL@
   18 INSTALL_PROGRAM	= @INSTALL_PROGRAM@
   19 INSTALL_DATA	= @INSTALL_DATA@
   20 transform	= @program_transform_name@
   21 
   22 CFLAGS		= @CFLAGS@ @EXTRA_CFLAGS@
   23 CPPFLAGS	= -I. -I$(srcdir) -DHAVE_CONFIG_H -DNO_IDENT @CPPFLAGS@
   24 
   25 LIBS		= @LIBS@
   26 LDFLAGS		= @LDFLAGS@
   27 
   28 LINT		= @LINT@
   29 CTAGS		= @CTAGS@
   30 ETAGS		= @ETAGS@
   31 
   32 prefix		= @prefix@
   33 exec_prefix	= @exec_prefix@
   34 datarootdir	= @datarootdir@
   35 
   36 bindir		= @bindir@
   37 mandir		= @mandir@
   38 manext		= 1
   39 
   40 BINDIR		= $(DESTDIR)$(bindir)
   41 MANDIR		= $(DESTDIR)$(mandir)/man1
   42 
   43 x		= @EXEEXT@
   44 o		= .@OBJEXT@
   45 
   46 #### End of system configuration section. ####
   47 
   48 ################################################################################
   49 .SUFFIXES : $o .i
   50 
   51 .c$o:
   52 	@RULE_CC@
   53 	@ECHO_CC@$(CC) -c $(CPPFLAGS) $(CFLAGS) $<
   54 
   55 .c.i :
   56 	@RULE_CC@
   57 	@ECHO_CC@$(CPP) -C $(CPPFLAGS) $*.c >$@
   58 
   59 ################################################################################
   60 
   61 EXTRAOBJ = @EXTRAOBJ@
   62 OBJ = $(THIS)$o $(EXTRAOBJ)
   63 
   64 TRANSFORM_BIN = sed 's/$x$$//'       |sed '$(transform)'|sed 's/$$/$x/'
   65 TRANSFORM_MAN = sed 's/$(manext)$$//'|sed '$(transform)'|sed 's/$$/$(manext)/'
   66 
   67 actual_bin = `echo $(THIS)$x        | $(TRANSFORM_BIN)`
   68 actual_man = `echo $(THIS).$(manext)| $(TRANSFORM_MAN)`
   69 
   70 @MAKE_PHONY@.PHONY: all install installdirs uninstall mostlyclean clean distclean realclean check lint
   71 
   72 all:	$(THIS)$x
   73 
   74 $(THIS)$x : $(OBJ)
   75 	@ECHO_LD@$(LINK) $(LDFLAGS) -o $@ $(OBJ) $(LDFLAGS) $(LIBS)
   76 
   77 install: all installdirs
   78 	$(INSTALL_PROGRAM) $(THIS)$x $(BINDIR)/$(actual_bin)
   79 	$(INSTALL_DATA) $(srcdir)/$(THIS).1 $(MANDIR)/$(actual_man)
   80 
   81 installdirs:
   82 	mkdir -p $(BINDIR) $(MANDIR)
   83 
   84 uninstall:
   85 	rm -f $(BINDIR)/$(actual_bin)
   86 	rm -f $(MANDIR)/$(actual_man)
   87 
   88 mostlyclean:
   89 	- rm -f $(OBJ) getopt.c core *~ *.BAK *.i
   90 	- rm -f Part?? part.*
   91 
   92 clean :: mostlyclean
   93 	- rm -f $(THIS)$x
   94 
   95 distclean : clean
   96 	- rm -f makefile config.log config.cache config.status config.h man2html.tmp
   97 
   98 realclean : distclean
   99 	- rm -f tags TAGS # don't remove configure!
  100 
  101 check: $(THIS)$x
  102 	cd testing; $(MAKE) run_test
  103 
  104 lint:
  105 	$(LINT) $(CPPFLAGS) $(THIS).c
  106 
  107 tags:
  108 	$(CTAGS) $(THIS).c $(HDRS)
  109 
  110 @MAKE_UPPER_TAGS@TAGS:
  111 @MAKE_UPPER_TAGS@	$(ETAGS) $(THIS).c $(HDRS)
  112 
  113 $(OBJ):	config.h
  114 
  115 getopt.c:	$(srcdir)/porting/getopt.c
  116 	-@ rm -f $@
  117 	cp $? $@