1noinst_LTLIBRARIES = libxcms.la
2
3AM_CPPFLAGS= \
4	-I$(top_srcdir)/include \
5	-I$(top_srcdir)/include/X11 \
6	-I$(top_builddir)/include \
7	-I$(top_builddir)/include/X11 \
8	-I$(top_srcdir)/src/xcms \
9	-I$(top_srcdir)/src/xkb \
10	-I$(top_srcdir)/src/xlibi18n \
11	-I$(top_srcdir)/src \
12	-D_BSD_SOURCE \
13        -DXCMSDIR=\"$(X11dir)\"
14
15AM_CFLAGS= \
16	$(X11_CFLAGS) \
17	$(BIGFONT_CFLAGS) \
18	$(XMALLOC_ZERO_CFLAGS) \
19	$(CWARNFLAGS)
20
21libxcms_la_SOURCES = \
22		  AddDIC.c \
23                  AddSF.c \
24                  CCC.c \
25                  CvColW.c \
26                  CvCols.c \
27                  Cv.h \
28                  HVC.c \
29                  HVCGcC.c \
30                  HVCGcV.c \
31                  HVCGcVC.c \
32                  HVCMnV.c \
33                  HVCMxC.c \
34                  HVCMxV.c \
35                  HVCMxVC.c \
36                  HVCMxVs.c \
37                  HVCWpAj.c \
38                  IdOfPr.c \
39                  LRGB.c \
40                  Lab.c \
41                  LabGcC.c \
42                  LabGcL.c \
43                  LabGcLC.c \
44                  LabMnL.c \
45                  LabMxC.c \
46                  LabMxL.c \
47                  LabMxLC.c \
48                  LabWpAj.c \
49                  Luv.c \
50                  LuvGcC.c \
51                  LuvGcL.c \
52                  LuvGcLC.c \
53                  LuvMnL.c \
54                  LuvMxC.c \
55                  LuvMxL.c \
56                  LuvMxLC.c \
57                  LuvWpAj.c \
58                  OfCCC.c \
59                  PrOfId.c \
60                  QBlack.c \
61                  QBlue.c \
62                  QGreen.c \
63                  QRed.c \
64                  QWhite.c \
65                  QuCol.c \
66                  QuCols.c \
67                  SetCCC.c \
68                  SetGetCols.c \
69                  StCol.c \
70                  StCols.c \
71                  UNDEFINED.c \
72                  XRGB.c \
73                  XYZ.c \
74                  cmsAllCol.c \
75                  cmsAllNCol.c \
76                  cmsCmap.c \
77                  cmsColNm.c \
78                  cmsGlobls.c \
79                  cmsInt.c \
80                  cmsLkCol.c \
81                  cmsMath.c \
82                  cmsProp.c \
83                  cmsTrig.c \
84                  uvY.c \
85                  xyY.c \
86                  Xcmsint.h
87
88X11dir = $(X11_DATADIR)
89dist_X11_DATA = Xcms.txt
90
91
92if LINT
93# Check source code with tools like lint & sparse
94
95ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
96		$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS)
97
98lint:
99	$(LINT) $(ALL_LINT_FLAGS) $(libxcms_la_SOURCES) -lm
100
101endif LINT
102