summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: e37043b9d07bfc5c7a999ead4e54ea3a2c9d9e79 (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\"

AM_CPPFLAGS = -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