ports

morpheus ports
git clone git://git.2f30.org/ports
Log | Files | Refs | LICENSE

libjpegturbo.mk (1109B)


      1 BIN = jpegtran
      2 LIB = libjpegturbo.a
      3 
      4 INSTALL_BIN = jpegtran
      5 INSTALL_MAN1 = `{ls -1 *.1}
      6 
      7 libjpegturbo_a_OBJ = \
      8 	jcapimin.o jcapistd.o jccoefct.o jccolor.o \
      9 	jcdctmgr.o jchuff.o jcinit.o jcmainct.o jcmarker.o jcmaster.o \
     10 	jcomapi.o jcparam.o jcphuff.o jcprepct.o jcsample.o jctrans.o \
     11 	jdapimin.o jdapistd.o jdatadst.o jdatasrc.o jdcoefct.o jdcolor.o \
     12 	jddctmgr.o jdhuff.o jdinput.o jdmainct.o jdmarker.o jdmaster.o \
     13 	jdmerge.o jdphuff.o jdpostct.o jdsample.o jdtrans.o jerror.o \
     14 	jfdctflt.o jfdctfst.o jfdctint.o jidctflt.o jidctfst.o jidctint.o \
     15 	jidctred.o jquant1.o jquant2.o jutils.o jmemmgr.o jmemnobs.o \
     16 	jcarith.o jdarith.o jsimd_none.o rdswitch.o cdjpeg.o transupp.o \
     17 	jaricom.o
     18 
     19 jpegtran_OBJ = jpegtran.o
     20 jpegtran_LDFLAGS = -L. -ljpegturbo
     21 
     22 DEPS_CFLAGS =
     23 DEPS_LDFLAGS =
     24 LOCAL_CFLAGS =
     25 LOCAL_LDFLAGS =
     26 LOCAL_BIN_LDFLAGS =
     27 
     28 <$mkbuild/mk.default
     29 
     30 $jpegtran_OBJ: $LIB libjpegsymlink
     31 $libjpegturbo_a_OBJ: jconfig.h config.h libjpegsymlink
     32 
     33 # makes sure -ljpeg works.
     34 libjpegsymlink:
     35 	ln -sf libjpegturbo.a libjpeg.a
     36 
     37 jconfig.h:V:
     38 	cp ../jconfig.h jconfig.h
     39 
     40 config.h:V:
     41 	cp ../config.h config.h