xref: /haiku/src/add-ons/translators/jpeg/Jamfile (revision 93aeb8c3bc3f13cb1f282e3e749258a23790d947)
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
12local jpeg_files =
13	# libjpeg
14	jcapimin.c
15	jcapistd.c
16	jccoefct.c
17	jccolor.c
18	jcdctmgr.c
19	jcdiffct.c
20	jchuff.c
21	jcinit.c
22	jclhuff.c
23	jclossls.c
24	jclossy.c
25	jcmainct.c
26	jcmarker.c
27	jcmaster.c
28	jcodec.c
29	jcomapi.c
30	jcparam.c
31	jcphuff.c
32	jcpred.c
33	jcprepct.c
34	jcsample.c
35	jcscale.c
36	jcshuff.c
37	jctrans.c
38	jdapimin.c
39	jdapistd.c
40	jdatadst.c
41	jdatasrc.c
42	jdcoefct.c
43	jdcolor.c
44	jddctmgr.c
45	jddiffct.c
46	jdhuff.c
47	jdinput.c
48	jdlhuff.c
49	jdlossls.c
50	jdlossy.c
51	jdmainct.c
52	jdmarker.c
53	jdmaster.c
54	jdmerge.c
55	jdphuff.c
56	jdpostct.c
57	jdpred.c
58	jdsample.c
59	jdscale.c
60	jdshuff.c
61	jdtrans.c
62	jerror.c
63	jfdctflt.c
64	jfdctfst.c
65	jfdctint.c
66	jidctflt.c
67	jidctfst.c
68	jidctint.c
69	jidctred.c
70	jmemmgr.c
71	jmemnobs.c
72	jquant1.c
73	jquant2.c
74	jutils.c
75	;
76
77ObjectCcFlags [ FGristFiles $(jpeg_files:S=$(SUFOBJ)) ] : -w ;
78
79Translator JPEGTranslator :
80
81	# JPEGTranslator
82	be_jdatadst.cpp
83	be_jdatasrc.cpp
84	be_jerror.cpp
85	JPEGTranslator.cpp
86
87	$(jpeg_files)
88
89	: be translation
90;
91
92Package haiku-translationkit-cvs :
93	JPEGTranslator :
94	boot home config add-ons Translators ;
95
96