aboutsummaryrefslogtreecommitdiff
path: root/libfontenc/src/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'libfontenc/src/Makefile.am')
-rw-r--r--libfontenc/src/Makefile.am29
1 files changed, 29 insertions, 0 deletions
diff --git a/libfontenc/src/Makefile.am b/libfontenc/src/Makefile.am
new file mode 100644
index 000000000..3c6c3f6e5
--- /dev/null
+++ b/libfontenc/src/Makefile.am
@@ -0,0 +1,29 @@
+lib_LTLIBRARIES = libfontenc.la
+
+libfontenc_la_SOURCES = \
+ encparse.c \
+ fontenc.c \
+ fontencI.h
+
+FONTENCDIR=@ENCODINGSDIR@
+FONTENCDEFS = -DFONT_ENCODINGS_DIRECTORY=\"$(FONTENCDIR)/encodings.dir\"
+
+INCLUDES = -I$(top_srcdir)/include \
+ -DFONTENC_NO_LIBFONT $(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