xref: /haiku/src/add-ons/translators/jpeg/Jamfile (revision ed6250c95736c0b55da79d6e9dd01369532260c0)
1SubDir HAIKU_TOP src add-ons translators jpeg ;
2
3SetSubDirSupportedPlatformsBeOSCompatible ;
4
5# Let Jam know where to find some of our source files
6SEARCH_SOURCE += [ FDirName $(SUBDIR) libjpeg ] ;
7
8SubDirC++Flags [ FDefines BEOS_R5_COMPATIBLE ] ;
9
10SubDirSysHdrs [ FDirName $(SUBDIR) libjpeg ] ;
11
12SubDirSysHdrs [ FDirName $(SUBDIR) $(DOTDOT) raw ] ;
13	# for TIFF.h and ReadHelper.h
14
15local jpeg_files =
16	# libjpeg
17	jcapimin.c
18	jcapistd.c
19	jccoefct.c
20	jccolor.c
21	jcdctmgr.c
22	jcdiffct.c
23	jchuff.c
24	jcinit.c
25	jclhuff.c
26	jclossls.c
27	jclossy.c
28	jcmainct.c
29	jcmarker.c
30	jcmaster.c
31	jcodec.c
32	jcomapi.c
33	jcparam.c
34	jcphuff.c
35	jcpred.c
36	jcprepct.c
37	jcsample.c
38	jcscale.c
39	jcshuff.c
40	jctrans.c
41	jdapimin.c
42	jdapistd.c
43	jdatadst.c
44	jdatasrc.c
45	jdcoefct.c
46	jdcolor.c
47	jddctmgr.c
48	jddiffct.c
49	jdhuff.c
50	jdinput.c
51	jdlhuff.c
52	jdlossls.c
53	jdlossy.c
54	jdmainct.c
55	jdmarker.c
56	jdmaster.c
57	jdmerge.c
58	jdphuff.c
59	jdpostct.c
60	jdpred.c
61	jdsample.c
62	jdscale.c
63	jdshuff.c
64	jdtrans.c
65	jerror.c
66	jfdctflt.c
67	jfdctfst.c
68	jfdctint.c
69	jidctflt.c
70	jidctfst.c
71	jidctint.c
72	jidctred.c
73	jmemmgr.c
74	jmemnobs.c
75	jquant1.c
76	jquant2.c
77	jutils.c
78	;
79
80ObjectCcFlags [ FGristFiles $(jpeg_files:S=$(SUFOBJ)) ] : -w ;
81
82Translator JPEGTranslator :
83
84	# JPEGTranslator
85	be_jdatadst.cpp
86	be_jdatasrc.cpp
87	be_jerror.cpp
88	exif_parser.cpp
89	JPEGTranslator.cpp
90
91	$(jpeg_files)
92
93	: be translation
94	: true
95;
96
97Package haiku-translationkit-cvs :
98	JPEGTranslator :
99	boot home config add-ons Translators ;
100
101