blob: 6242822210ee171dbb831706036256f73c1fb83d (
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
|
##
INCLUDES = -I$(top_builddir)/.. -I$(top_srcdir) $(KPATHSEA_INCLUDES)
proglib = ../lib/lib.a
## Automake automatically uses $(proglib)=../lib/lib.a as dependency.
## This does not work for the configure substitution $(KPATHSEA_LIBS),
## thus we let $(proglib) artificially depend on $(KPATHSEA_LIBS).
## Rebuild $(proglib)
$(proglib): $(KPATHSEA_DEPEND) ${top_srcdir}/lib/*.c
cd ../lib && $(MAKE) $(AM_MAKEFLAGS)
## Rebuild libkpathsea
@KPATHSEA_RULE@
bin_PROGRAMS = dmp makempx mpto newer
dmp_SOURCES = dmp.c dmp.h dmp_ffile.c
dmp_LDADD = $(proglib) $(KPATHSEA_LIBS)
makempx_SOURCES = makempx.c
makempx_LDADD = $(proglib) $(KPATHSEA_LIBS)
mpto_SOURCES = mpto.c
newer_SOURCES = newer.c
## Obsolete ?
##
EXTRA_DIST = makempx.in
## Evetually delete these files
##
EXTRA_DIST += Makefile.in.orig
|