summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/window/Makefile.in
blob: 0dade114ab2d5ebe3c7a8e409457fbea3540d3c6 (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
# Makefile for the Metafont window support library.

kpse_include ../make/common.mk
kpse_include ../make/library.mk
kpse_include kpathsea.mk

x_cppflags = @X_CFLAGS@
library = window

# Extra library-specific compiler options.
prog_cflags = -I.. -I$(srcdir)/.. $(x_cppflags)

objects = amiga.o epsf.o hp2627.o mftalk.o next.o regis.o suntools.o tek.o \
trap.o uniterm.o win32.o x11.o 

default all: $(library).a
$(library).a: $(objects)
	rm -f $@
	$(AR) $(ARFLAGS) $@ $(objects)
	$(RANLIB) $@

# It doesn't matter much what this default is, since if anything was
# enabled configure would hopefully have found it.
x11.c:
	rm -f $@
	$(LN) $(srcdir)/x11-Xt.c $@

Makefile: Makefile.in ../config.status
	cd .. && $(SHELL) config.status

kpse_include ../make/clean.mk

distclean::
	rm -f x11.c

kpse_include ../make/rdepend.mk
kpse_include window/depend.mk