summaryrefslogtreecommitdiff
path: root/src/Makefile_Evas.am
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2016-06-01 16:59:02 -0700
committerTom Hacohen <tom@stosb.com>2016-06-02 11:35:05 +0100
commit6b5ed1b7118cd99b99a8d133b3e466952885f945 (patch)
treee800e00e4d7239499198598151f50e055d11de4e /src/Makefile_Evas.am
parent36f15d761a2d39fc81c38a9db7b13d1d571ef453 (diff)
evas: integrate evas generic loaders into our single tree build system.
Diffstat (limited to 'src/Makefile_Evas.am')
-rw-r--r--src/Makefile_Evas.am153
1 files changed, 153 insertions, 0 deletions
diff --git a/src/Makefile_Evas.am b/src/Makefile_Evas.am
index f1e5332b9d..bb510ad591 100644
--- a/src/Makefile_Evas.am
+++ b/src/Makefile_Evas.am
@@ -2377,3 +2377,156 @@ if HAVE_CXX11
2377evas_eolian_cxx_hh = $(evas_eolian_pub_files:%.eo=%.eo.hh) 2377evas_eolian_cxx_hh = $(evas_eolian_pub_files:%.eo=%.eo.hh)
2378evas_eolian_cxx_impl = $(evas_eolian_pub_files:%.eo=%.eo.impl.hh) 2378evas_eolian_cxx_impl = $(evas_eolian_pub_files:%.eo=%.eo.impl.hh)
2379endif 2379endif
2380
2381EXTRA_DIST += \
2382generic/evas/common/shmfile.c \
2383generic/evas/common/shmfile.h \
2384generic/evas/common/timeout.c \
2385generic/evas/common/timeout.h
2386
2387evasgenericloadersdir = \
2388$(libdir)/evas/utils
2389
2390evasgenericloaders_PROGRAMS =
2391evasgenericloaders_SCRIPT =
2392
2393### Libreoffice converter to pdf
2394EXTRA_DIST += generic/evas/pdf/evas_generic_pdf_loader.libreoffice
2395
2396if HAVE_POPPLER
2397
2398evasgenericloaders_SCRIPT += generic/evas/pdf/evas_generic_pdf_loader.libreoffice
2399evasgenericloaders_PROGRAMS += generic/evas/pdf/evas_image_loader.pdf
2400
2401generic_evas_pdf_evas_image_loader_pdf_SOURCES = \
2402generic/evas/pdf/main.cpp \
2403generic/evas/common/shmfile.c \
2404generic/evas/common/timeout.c
2405generic_evas_pdf_evas_image_loader_pdf_CFLAGS = \
2406-I$(top_srcdir)/src/lib/efl \
2407-I$(top_srcdir)/src/lib/eina \
2408-I$(top_srcdir)/src/generic/evas/common \
2409@POPPLER_CFLAGS@
2410generic_evas_pdf_evas_image_loader_pdf_CXXFLAGS = \
2411-I$(top_srcdir)/src/lib/efl \
2412-I$(top_srcdir)/src/lib/eina \
2413-I$(top_srcdir)/src/generic/evas/common \
2414@POPPLER_CFLAGS@
2415generic_evas_pdf_evas_image_loader_pdf_LDADD = @POPPLER_LIBS@ @USE_EINA_INTERNAL_LIBS@ @SHM_LIBS@
2416
2417EFL_INSTALL_EXEC_HOOK += \
2418ln -sf evas_image_loader.pdf $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.ppt; \
2419ln -sf evas_image_loader.pdf $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.pptx; \
2420ln -sf evas_image_loader.pdf $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.odp; \
2421ln -sf evas_image_loader.pdf $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.xls; \
2422ln -sf evas_image_loader.pdf $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.xlsx; \
2423ln -sf evas_image_loader.pdf $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.ods; \
2424ln -sf evas_image_loader.pdf $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.doc; \
2425ln -sf evas_image_loader.pdf $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.docx; \
2426ln -sf evas_image_loader.pdf $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.odt; \
2427ln -sf evas_image_loader.pdf $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.rtf; \
2428ln -sf evas_generic_pdf_loader.libreoffice $(DESTDIR)$(libdir)/evas/utils/evas_generic_pdf_loader.ppt; \
2429ln -sf evas_generic_pdf_loader.libreoffice $(DESTDIR)$(libdir)/evas/utils/evas_generic_pdf_loader.pptx; \
2430ln -sf evas_generic_pdf_loader.libreoffice $(DESTDIR)$(libdir)/evas/utils/evas_generic_pdf_loader.odp; \
2431ln -sf evas_generic_pdf_loader.libreoffice $(DESTDIR)$(libdir)/evas/utils/evas_generic_pdf_loader.xls; \
2432ln -sf evas_generic_pdf_loader.libreoffice $(DESTDIR)$(libdir)/evas/utils/evas_generic_pdf_loader.xlsx; \
2433ln -sf evas_generic_pdf_loader.libreoffice $(DESTDIR)$(libdir)/evas/utils/evas_generic_pdf_loader.ods; \
2434ln -sf evas_generic_pdf_loader.libreoffice $(DESTDIR)$(libdir)/evas/utils/evas_generic_pdf_loader.doc; \
2435ln -sf evas_generic_pdf_loader.libreoffice $(DESTDIR)$(libdir)/evas/utils/evas_generic_pdf_loader.docx; \
2436ln -sf evas_generic_pdf_loader.libreoffice $(DESTDIR)$(libdir)/evas/utils/evas_generic_pdf_loader.odt; \
2437ln -sf evas_generic_pdf_loader.libreoffice $(DESTDIR)$(libdir)/evas/utils/evas_generic_pdf_loader.rtf;
2438
2439endif
2440
2441if HAVE_SPECTRE
2442
2443evasgenericloaders_PROGRAMS += generic/evas/ps/evas_image_loader.ps
2444
2445generic_evas_ps_evas_image_loader_ps_SOURCES = \
2446generic/evas/ps/main.c \
2447generic/evas/common/shmfile.c \
2448generic/evas/common/timeout.c
2449generic_evas_ps_evas_image_loader_ps_LDADD = @SPECTRE_LIBS@ @USE_EINA_INTERNAL_LIBS@ @SHM_LIBS@
2450generic_evas_ps_evas_image_loader_ps_CFLAGS = \
2451-I$(top_srcdir)/src/lib/efl \
2452-I$(top_srcdir)/src/lib/eina \
2453-I$(top_srcdir)/src/generic/evas/common
2454
2455endif
2456
2457if HAVE_LIBRAW
2458
2459evasgenericloaders_PROGRAMS += generic/evas/raw/evas_image_loader.raw
2460
2461generic_evas_raw_evas_image_loader_raw_SOURCES = \
2462generic/evas/raw/main.c \
2463generic/evas/common/shmfile.c \
2464generic/evas/common/timeout.c
2465generic_evas_raw_evas_image_loader_raw_LDADD = @SHM_LIBS@ @USE_EINA_INTERNAL_LIBS@ @LIBRAW_LIBS@ -lm
2466generic_evas_raw_evas_image_loader_raw_CFLAGS = \
2467-I$(top_srcdir)/src/lib/efl \
2468-I$(top_srcdir)/src/lib/eina \
2469-I$(top_srcdir)/src/generic/evas/common \
2470@LIBRAW_CFLAGS@
2471
2472EFL_INSTALL_EXEC_HOOK += \
2473ln -sf evas_image_loader.raw $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.arw; \
2474ln -sf evas_image_loader.raw $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.cr2; \
2475ln -sf evas_image_loader.raw $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.crw; \
2476ln -sf evas_image_loader.raw $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.dcr; \
2477ln -sf evas_image_loader.raw $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.dng; \
2478ln -sf evas_image_loader.raw $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.k25; \
2479ln -sf evas_image_loader.raw $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.kdc; \
2480ln -sf evas_image_loader.raw $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.erf; \
2481ln -sf evas_image_loader.raw $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.mrw; \
2482ln -sf evas_image_loader.raw $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.nef; \
2483ln -sf evas_image_loader.raw $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.nrf; \
2484ln -sf evas_image_loader.raw $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.nrw; \
2485ln -sf evas_image_loader.raw $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.orf; \
2486ln -sf evas_image_loader.raw $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.rw2; \
2487ln -sf evas_image_loader.raw $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.pef; \
2488ln -sf evas_image_loader.raw $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.raf; \
2489ln -sf evas_image_loader.raw $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.sr2; \
2490ln -sf evas_image_loader.raw $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.srf; \
2491ln -sf evas_image_loader.raw $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.x3f;
2492
2493endif
2494
2495if HAVE_RSVG
2496
2497evasgenericloaders_PROGRAMS += generic/evas/svg/evas_image_loader.svg
2498
2499generic_evas_svg_evas_image_loader_svg_SOURCES = \
2500generic/evas/svg/main.c \
2501generic/evas/common/shmfile.c \
2502generic/evas/common/timeout.c
2503generic_evas_svg_evas_image_loader_svg_CFLAGS = \
2504-I$(top_srcdir)/src/lib/efl \
2505-I$(top_srcdir)/src/lib/eina \
2506-I$(top_srcdir)/src/generic/evas/common \
2507@RSVG_CFLAGS@
2508generic_evas_svg_evas_image_loader_svg_LDADD = @RSVG_LIBS@ @USE_EINA_INTERNAL_LIBS@ @SHM_LIBS@ -lm
2509
2510EFL_INSTALL_EXEC_HOOK += \
2511ln -sf evas_image_loader.svg $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.svgz; \
2512ln -sf evas_image_loader.svg $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.svg.gz;
2513
2514endif
2515
2516EXTRA_DIST += generic/evas/xcf/common.h
2517
2518evasgenericloaders_PROGRAMS += generic/evas/xcf/evas_image_loader.xcf
2519
2520generic_evas_xcf_evas_image_loader_xcf_SOURCES = \
2521generic/evas/xcf/main.c \
2522generic/evas/xcf/pixelfuncs.c \
2523generic/evas/common/shmfile.c \
2524generic/evas/common/timeout.c
2525generic_evas_xcf_evas_image_loader_xcf_CFLAGS = \
2526-I$(top_srcdir)/src/lib/efl \
2527-I$(top_srcdir)/src/lib/eina \
2528-I$(top_srcdir)/src/generic/evas/common
2529generic_evas_xcf_evas_image_loader_xcf_LDADD = @USE_EINA_INTERNAL_LIBS@ @SHM_LIBS@ -lm -lz
2530
2531EFL_INSTALL_EXEC_HOOK += \
2532ln -sf evas_image_loader.xcf $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.xcf.gz;