~ubuntu-branches/ubuntu/utopic/texlive-bin/utopic

« back to all changes in this revision

Viewing changes to libs/t1lib/t1lib-5.1.2/examples/Makefile.in

  • Committer: Package Import Robot
  • Author(s): Norbert Preining
  • Date: 2012-04-10 10:16:01 UTC
  • mfrom: (1.2.3)
  • Revision ID: package-import@ubuntu.com-20120410101601-7mt8nyn280xrgza6
Tags: 2011.20120410-1
* new upstream checkout:
  - remove decls of popen and pclose (Closes: #64524) (!yow, 5 digit bug!)
  - do not declare getopt in C++, fixes FTBFS with g++ >= 4.7 
    (Closes: #667392)
* add patches (maybe to be included upstream) that allows inclusion of
  one config file in another for (x)dvipdfmx. This will be
  used by the paper code.
* fix description of libptexenc-dev package (Closes: #667694)
* remove xdvik patch, included upstream
* remove conflict with ptex-bin, we are building a transitional package now
* build with internal t1lib, as t1lib is going to disappear in
  wheezy (Closes: #667912) (no, dropping xdvi is not an option!)
  (add a lintian override otherwise this gives a lintian error)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Makefile.in
 
2
 
3
# This file is part of the t1lib-package! See documentation and Readme files
 
4
# of the t1lib-package for copyright restrictions.
 
5
#
 
6
# Targets provided: 
 
7
#                      all (default)
 
8
#                      install
 
9
#                      uninstall
 
10
#                      clean
 
11
#
 
12
# Author:              Rainer Menzner (Rainer.Menzner@web.de)
 
13
# Date:                10/16/1998
 
14
# Last modified:       2001-04-01
 
15
#
 
16
 
 
17
 
 
18
LIBTOOL   = ../libtool
 
19
SHELL     = /bin/sh
 
20
CC        = @CC@
 
21
CPP       = @CPP@
 
22
CFLAGS    = @CFLAGS@
 
23
OPTIONS   = @OPTIONS@
 
24
X_LIBS    = @X_LIBS@
 
25
TOPSRC    = @top_srcdir@
 
26
XPM_LIB   = -lXpm
 
27
XLIB      = @X_PRE_LIBS@ -lXext -lX11 @X_EXTRA_LIBS@
 
28
LDFLAGS   = @LDFLAGS@
 
29
LDLIBS    = @LDLIBS@ 
 
30
AR        = ar rc
 
31
RANLIB    = @RANLIB@
 
32
RM        = rm -f
 
33
X_CFLAGS  = @X_CFLAGS@
 
34
YACC      = @YACC@
 
35
LEX       = @LEX@
 
36
LEXLIB    = @LEXLIB@
 
37
 
 
38
 
 
39
INSTALL         = @INSTALL@
 
40
INSTALL_PROGRAM = @INSTALL_PROGRAM@
 
41
INSTALL_DATA    = @INSTALL_DATA@
 
42
MKINSTALLDIRS   = @top_srcdir@/ac-tools/mkinstalldirs
 
43
prefix          = @prefix@
 
44
exec_prefix     = @exec_prefix@
 
45
includedir      = @includedir@
 
46
bindir          = @bindir@
 
47
datadir         = @datadir@
 
48
libdir          = @libdir@
 
49
mandir          = @mandir@/man1
 
50
manext          = .1
 
51
no_x            = @no_x@
 
52
 
 
53
 
 
54
# targets to build 
 
55
 
 
56
INCDIR = -I../lib
 
57
 
 
58
TARGET1 = t1example1 
 
59
TARGET2 = subset
 
60
 
 
61
OBJS1 = \
 
62
        t1example1.lo 
 
63
 
 
64
SRCS1 = \
 
65
        t1example1.c 
 
66
 
 
67
OBJS2 = \
 
68
        subset.lo 
 
69
 
 
70
SRCS2 = \
 
71
        subset.c 
 
72
 
 
73
T1LIB =  ../lib/libt1.la 
 
74
 
 
75
.SUFFIXES: .lo
 
76
.c.lo:
 
77
        $(LIBTOOL) --mode=compile \
 
78
                $(CC) $(INCDIR) -c $(CPPFLAGS) $(CFLAGS) $<
 
79
 
 
80
all: $(TARGET1) $(TARGET2) 
 
81
 
 
82
 
 
83
$(TARGET1): $(OBJS1) ../lib/t1lib.h
 
84
        $(LIBTOOL) --mode=link \
 
85
                $(CC) -o $(TARGET1) $(LDFLAGS) $(OBJS1) $(T1LIB) $(LDLIBS)
 
86
 
 
87
$(TARGET2): $(OBJS2) ../lib/t1lib.h
 
88
        $(LIBTOOL) --mode=link \
 
89
                $(CC) -o $(TARGET2) $(LDFLAGS) $(OBJS2) $(T1LIB) $(LDLIBS)
 
90
 
 
91
.c.o:
 
92
        $(LIBTOOL) --mode=compile \
 
93
                $(CC) $(INCDIR) -c $(CPPFLAGS) $(CFLAGS) $?
 
94
 
 
95
.PHONY: clean
 
96
 
 
97
dependencies: dummy 
 
98
        gcc -MM *.c | sed 's/\.o:/.lo:/g' > .dependencies 
 
99
 
 
100
clean: dummy
 
101
        $(RM) $(TARGET1) $(TARGET2) *.o *.lo .libs/* *~ \#*\# *.log *.bak
 
102
        -rmdir .libs
 
103
 
 
104
install: dummy
 
105
 
 
106
uninstall: dummy
 
107
 
 
108
dummy:
 
109
 
 
110
 
 
111
# Dependencies of object files 
 
112
include .dependencies