blob: 5b1cbc6893cac1552eac4dd96ef0057b64649ec8 (
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
33
34
35
36
37
38
39
40
|
# Makefile for libmpost - taco@elvenkind.com, but
# mostly ripped off from Makefile.in from pdftex
# $Id $
kpse_include ../make/common.mk
kpse_include ../make/programs.mk
kpse_include ../make/library.mk
kpathsea_srcdir_parent = $(srcdir)/../..
kpathsea_dir_parent = ../..
ALL_CXXFLAGS = @CXXFLAGS@ @DEFS@ $(XXCFLAGS) -I. -I$(srcdir) -I$(kpathsea_dir_parent) -I$(kpathsea_srcdir_parent)
CXX = @CXX@
XCPPFLAGS=-I.. -I$(srcdir)/.. -I../.. -I$(srcdir)/../..
OBJS = mapfile.o avl.o avlstuff.o utils.o writeenc.o writet1.o writefont.o turningnumber.o
all: libmpost.a makecpool
libmpost.a: $(OBJS)
rm -f $@
$(AR) $(ARFLAGS) $@ $(OBJS)
$(RANLIB) $@
makecpool: makecpool.o
$(link_command) makecpool.o
kpse_include ../make/clean.mk
clean::
rm -f libmpost.a makecpool
depend:
rm -f $(OBJS)
XXCFLAGS=-MM XCFLAGS=-MM $(MAKE) -k $(OBJS) | \
grep -v "^$(CC)\|$(CXX)\|$(AR)\|make" | \
sed 's: [^ ]*/\.\./libs/[^ ]*::g' > $(srcdir)/depend.mk
kpse_include mpdir/depend.mk
|