X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2Fjpeg%2Flibijg%2FCMakeLists.txt;h=a16baf92843a7c34170453964d2a9c233979b491;hb=532e2ee2beaace36c3e8fb62d185b79c5c8f6e96;hp=d3f0727d3fc53ec3799ed0b0806350c8cd4406b0;hpb=7b90a94638699fec1143d1928f6a6b6f3c769d54;p=gdcm.git diff --git a/src/jpeg/libijg/CMakeLists.txt b/src/jpeg/libijg/CMakeLists.txt index d3f0727d..a16baf92 100644 --- a/src/jpeg/libijg/CMakeLists.txt +++ b/src/jpeg/libijg/CMakeLists.txt @@ -1,76 +1,83 @@ -#LTVERSION = 0:1:0 - -#lib_LTLIBRARIES = libgdcmijpeg8.la - -##CXXFLAGS = @CXXFLAGS@ - -SET(libgdcmijpeg8_la_SOURCES - jcapimin.c - jcapistd.c - jctrans.c - jcparam.c - jdatadst.c - jcinit.c - jcmaster.c - jcmarker.c - jcmainct.c - jcprepct.c - jccoefct.c - jccolor.c - jcsample.c - jchuff.c - jcphuff.c - jcdctmgr.c - jfdctfst.c - jfdctflt.c - jfdctint.c - jdapimin.c - jdapistd.c - jdtrans.c - jdatasrc.c - jdmaster.c - jdinput.c - jdmarker.c - jdhuff.c - jdphuff.c - jdmainct.c - jdcoefct.c - jdpostct.c - jddctmgr.c - jidctfst.c - jidctflt.c - jidctint.c - jidctred.c - jdsample.c - jdcolor.c - jquant1.c - jquant2.c - jdmerge.c - jcomapi.c - jutils.c - jerror.c - jmemmgr.c - jmemnobs.c - rdrle.c -) - -#libgdcmijpeg8includedir = $(includedir) -SET(libgdcmijpeg8include_HEADERS - jchuff.h - jconfig.h - jdct.h - jdhuff.h - jerror.h - jinclude.h - jmemsys.h - jmorecfg.h - jpegint.h - jpeglib.h - jversion.h -) - -#EXTRA_DIST = \ -# jconfig.linux \ -# jconfig.vc - -ADD_LIBRARY(gdcmijpeg8 ${libgdcmijpeg8_la_SOURCES}) \ No newline at end of file +#LTVERSION = 0:1:0 + +#lib_LTLIBRARIES = libgdcmijpeg8.la + +##CXXFLAGS = @CXXFLAGS@ + +SET(libgdcmijpeg8_la_SOURCES +jcapimin.c +jcapistd.c +jctrans.c +jcparam.c +jdatadst.c +jcinit.c +jcmaster.c +jcmarker.c +jcmainct.c +jcprepct.c +jccoefct.c +jccolor.c +jcsample.c +jchuff.c +jcphuff.c +jcdctmgr.c # where commented out till here +jfdctfst.c +jfdctflt.c +jfdctint.c +jdapimin.c +jdapistd.c +jdtrans.c +jdatasrc.c +jdmaster.c +jdinput.c +jdmarker.c +jdhuff.c +jdphuff.c +jdmainct.c +jdcoefct.c +jdpostct.c +jddctmgr.c +jidctfst.c +jidctflt.c +jidctint.c +jidctred.c +jdsample.c +jdcolor.c +jquant1.c +jquant2.c +jdmerge.c +jcomapi.c +jutils.c +jerror.c +jmemmgr.c +jmemnobs.c +# rdrle.c +) + +#libgdcmijpeg8includedir = $(includedir) +SET(libgdcmijpeg8include_HEADERS +jchuff.h +jconfig.h +jdct.h +jdhuff.h +jerror.h +jinclude.h +jmemsys.h +jmorecfg.h +jpegint.h +jpeglib.h +jversion.h +) + +#EXTRA_DIST = \ +# jconfig.linux \ +# jconfig.vc + +ADD_LIBRARY(gdcmijpeg8 ${libgdcmijpeg8_la_SOURCES}) + +#INSTALL_FILES(/include "\\.h$") +INSTALL_FILES(/include FILES ${libgdcmijpeg8include_HEADERS}) +#INSTALL_FILES(/include FILES jconfig.linux jconfig.vc) +INSTALL_FILES(/include FILES jconfig.linux) + +INSTALL_TARGETS(/lib/ gdcmijpeg8)