1 # Copyright 2008 Taco Hoekwater.
3 # This program is free software: you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation, either version 2 of the License, or
6 # (at your option) any later version.
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # GNU General Public License for more details.
13 # You should have received a copy of the GNU General Public License
14 # along with this program. If not, see <http://www.gnu.org/licenses/>.
16 AUTOMAKE_OPTIONS = foreign
18 KPSEBUILDDIR = ../../../texk/kpathsea/.libs
19 KPSESRCDIR = ../../../../src/texk/kpathsea
20 KPSELIB=$(KPSEBUILDDIR)/libkpathsea.a
21 CFLAGS=-Wall -W -g -I. -I../.. -I$(KPSESRCDIR)/..
25 mpost_SOURCES = mpost.c
26 mpost_DEPENDENCIES = libmplib.a
27 mpost_LDADD = libmplib.a $(KPSELIB) -lm
29 noinst_LIBRARIES = libmplib.a
30 libmplib_a_SOURCES = avl.c mp.c psout.c mpxout.c
32 include_HEADERS = mplib.h
36 mp.c: psout.c mpxout.c
42 $(RM) mp.c psout.c mplib.h mppsout.h mpmp.h mpxout.c mpxout.h *.o libmplib.a mpost.c mpost
45 $(RM) Makefile config.h config.status config.log libtool