"Fossies" - the Fresh Open Source Software Archive

Member "jpegoptim-1.4.6/Makefile.in" (18 Apr 2018, 2277 Bytes) of package /linux/privat/jpegoptim-1.4.6.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 latest Fossies "Diffs" side-by-side code changes report for "Makefile.in": 1.4.5_vs_1.4.6.

    1 #########################################################################
    2 # $Id: cd39ce6ac2d9135108bba318a13d420b217305a7 $ 
    3 # 
    4 # Makefile for jpegoptim
    5 #
    6 Version = 1.4.6
    7 PKGNAME = jpegoptim
    8 
    9 SHELL = /bin/sh
   10 
   11 DEFS = @DEFS@
   12 
   13 srcdir = @srcdir@
   14 VPATH = @srcdir@
   15 
   16 prefix = @prefix@
   17 exec_prefix = @exec_prefix@
   18 datarootdir = @datarootdir@
   19 datadir = @datadir@
   20 
   21 # Where to install the executables.
   22 bindir = @bindir@
   23 
   24 # Where to put libraries
   25 libdir = @libdir@
   26 
   27 # Where to put the Info files
   28 infodir = @infodir@
   29 
   30 # Where to put the manual pages.
   31 mandir = @mandir@
   32 
   33 
   34 
   35 CC        = @CC@ 
   36 XCPPFLAGS = @CPPFLAGS@
   37 CFLAGS    = @CFLAGS@ $(XCPPFLAGS) $(DEFS)
   38 #CFLAGS	 += -Wall -Wformat -Werror=format-security
   39 #CFLAGS	 += -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fsanitize=address,undefined
   40 LDFLAGS   = @LDFLAGS@
   41 LIBS      = @LIBS@
   42 STRIP     = strip
   43 
   44 
   45 INSTALL = @INSTALL@
   46 INSTALL_DATA = @INSTALL_DATA@
   47 INSTALL_PROGRAM = @INSTALL_PROGRAM@
   48 
   49 @SET_MAKE@
   50 
   51 # should be no reason to modify lines below this
   52 #########################################################################
   53 
   54 DIRNAME = $(shell basename `pwd`) 
   55 DISTNAME  = $(PKGNAME)-$(Version)
   56 
   57 OBJS = $(PKGNAME).o jpegdest.o misc.o @GNUGETOPT@
   58 
   59 all:	$(PKGNAME) 
   60 
   61 dssim.o:	dssim.c
   62 	$(CC) $(CFLAGS) -std=c99 -c
   63 
   64 $(PKGNAME):	$(OBJS) 
   65 	$(CC) $(CFLAGS) -o $(PKGNAME) $(OBJS) $(LDFLAGS) $(LIBS) 
   66 
   67 
   68 strip:
   69 	for i in $(PKGNAME) ; do [ -x $$i ] && $(STRIP) $$i ; done
   70 
   71 clean:
   72 	rm -f *~ *.o core a.out make.log \#*\# $(PKGNAME) $(OBJS)
   73 
   74 clean_all: clean
   75 	rm -f Makefile config.h config.log config.cache config.status
   76 
   77 dist:	clean_all
   78 	(cd .. ; tar cvzf $(DISTNAME).tar.gz $(DIRNAME))
   79 
   80 backup:	dist
   81 
   82 archive:
   83 	git archive --format tar --prefix ${DISTNAME}/ -o ../${DISTNAME}.tar master
   84 	gzip -v -9 ../${DISTNAME}.tar
   85 
   86 
   87 install: all install.dirs install.man
   88 	$(INSTALL) -m 755 $(PKGNAME) $(DESTDIR)$(bindir)/$(PKGNAME)
   89 
   90 printable.man:
   91 	groff -Tps -mandoc ./$(PKGNAME).1 >$(PKGNAME).ps
   92 	groff -Tascii -mandoc ./$(PKGNAME).1 | tee $(PKGNAME).prn | sed 's/.//g' >$(PKGNAME).txt
   93 
   94 install.man: install.dirs
   95 	$(INSTALL) -m 644 $(PKGNAME).1 $(DESTDIR)$(mandir)/man1/$(PKGNAME).1
   96 
   97 install.dirs:
   98 	$(INSTALL) -d -m 755 $(DESTDIR)$(mandir)/man1
   99 	$(INSTALL) -d -m 755 $(DESTDIR)$(bindir)
  100 
  101 # a tradition !
  102 love:	
  103 	@echo "Not War - Eh?"
  104 # eof
  105