blob: 8da9b63c56a8cdf3fc40dcfea0ba8215e1df2273 (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
|
# Makefile.in
#
# This file is part of the t1lib-package! See documentation and Readme files
# of the t1lib-package for copyright restrictions.
#
# Targets provided:
# all (default)
# install
# uninstall
# clean
#
# Author: Rainer Menzner (Rainer.Menzner@web.de)
# Date: 04/06/1997
# Last modified: 2004-12-12
#
# Modified by H.Kakugawa to use libtool
LIBTOOL = ../libtool
SHELL = /bin/sh
CC = @CC@
CPP = @CPP@
CFLAGS = @CFLAGS@
OPTIONS = @OPTIONS@
X_LIBS = @X_LIBS@
TOPSRC = @top_srcdir@
XPM_LIB = -lXpm
XLIB = @X_PRE_LIBS@ -lXext -lX11 @X_EXTRA_LIBS@
LDFLAGS = @LDFLAGS@
LDLIBS = @LDLIBS@
AR = ar rc
RANLIB = @RANLIB@
RM = rm -f
X_CFLAGS = @X_CFLAGS@
YACC = @YACC@
LEX = @LEX@
LEXLIB = @LEXLIB@
ALLCFLAGS = $(CFLAGS)
SUBMAKE = $(MAKE) 'CC=$(CC)' 'CFLAGS=$(ALLCFLAGS)' 'OPTIONS=$(OPTIONS)'
@SET_MAKE@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
MKINSTALLDIRS = @top_srcdir@/ac-tools/mkinstalldirs
prefix = @prefix@
exec_prefix = @exec_prefix@
includedir = @includedir@
bindir = @bindir@
datadir = @datadir@
libdir = @libdir@
mandir = @mandir@/man1
manext = .1
no_x = @no_x@
# targets to build
MAIN_TARGET = @MAIN_TARGET@
OBJS = \
xglyph.lo
SRCS = \
xglyph.c
T1LIB = ../lib/libt1.la
T1LIBX = ../lib/libt1x.la
XAWLIB = -lXaw -lXt -lXmu
all: xglyph
xglyph: $(OBJS) $(T1LIBX) $(T1LIB)
$(LIBTOOL) --mode=link \
$(CC) -o xglyph $(LDFLAGS) $(OBJS) $(T1LIBX) $(T1LIB) \
$(X_LIBS) $(XAWLIB) $(XLIB) $(LDLIBS)
.SUFFIXES: .lo
.c.lo:
$(LIBTOOL) --mode=compile \
$(CC) -c $(CPPFLAGS) $(CFLAGS) $<
.PHONY: clean
dependencies: dummy
gcc -MM *.c | sed 's/\.o:/.lo:/g' > .dependencies
clean: dummy
$(RM) xglyph *.lo *.o .libs/* *~ \#*\# *.log *.bak
-rmdir .libs
install: dummy
$(MKINSTALLDIRS) $(DESTDIR)$(bindir)
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) xglyph $(DESTDIR)$(bindir)/xglyph
uninstall: dummy
$(LIBTOOL) --mode=uninstall $(RM) -f $(DESTDIR)$(bindir)/xglyph
dummy:
# Dependencies of object files (generated by "gcc -MM *.c"):
include .dependencies
|