aboutsummaryrefslogtreecommitdiff
path: root/libfontenc/src/Makefile.am
blob: 96d0a38bede5508c7cf014bcfe85658651f5b1b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
lib_LTLIBRARIES = libfontenc.la

libfontenc_la_SOURCES = \
         encparse.c \
         fontenc.c \
	 fontencI.h

AM_CFLAGS = \
	$(FONTENC_CFLAGS) \
	$(CWARNFLAGS)

FONTENCDIR=@ENCODINGSDIR@
FONTENCDEFS = -DFONT_ENCODINGS_DIRECTORY=\"$(FONTENCDIR)/encodings.dir\"

INCLUDES = -I$(top_srcdir)/include $(FONTENCDEFS)


libfontenc_la_LIBADD = @FONTENC_LIBS@

libfontenc_la_LDFLAGS = -version-number 1:0:0 -no-undefined

libfontencincludedir = $(includedir)/X11/fonts
libfontencinclude_HEADERS = \
    $(top_srcdir)/include/X11/fonts/fontenc.h

if LINT
ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
		$(AM_CPPFLAGS) $(CPPFLAGS)

lint:
	$(LINT) $(ALL_LINT_FLAGS) $(libfontenc_la_SOURCES) $(libfontenc_la_LIBADD) $(LIBS)
endif LINT