~ubuntu-branches/ubuntu/precise/vflib3/precise

« back to all changes in this revision

Viewing changes to utils/ctext2pgm-1.5.2/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Masayuki Hatta
  • Date: 2002-04-15 12:10:24 UTC
  • Revision ID: james.westby@ubuntu.com-20020415121024-cann32wucyfbq22f
Tags: upstream-3.6.12
ImportĀ upstreamĀ versionĀ 3.6.12

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# a Makefile for "ctext2pgm"
 
3
#   by Hirotsugu Kakugawa
 
4
#
 
5
 
 
6
# -----------------------------------------------------------------------
 
7
makedefault: default
 
8
 
 
9
LIBTOOL=../../libtool
 
10
include ../../make-sub
 
11
 
 
12
     PROGRAM = ctext2pgm
 
13
        SRCS = ctext2pgm.c
 
14
        OBJS = ctext2pgm.lo
 
15
   VFLIB_DIR = ../../src
 
16
 
 
17
default all: $(PROGRAM)
 
18
 
 
19
 
 
20
ctext2pgm: ctext2pgm.o $(VFLIB_DIR)/libVFlib3.la
 
21
        $(LIBTOOL) --mode=link \
 
22
                $(CC) $(VFCFLAGS) -o ctext2pgm ctext2pgm.o  \
 
23
                    $(VFLIB_DIR)/libVFlib3.la
 
24
ctext2pgm.o: ctext2pgm.c ctext2pgm.h fontdef.h
 
25
        $(CC) $(VFCFLAGS) -I$(VFLIB_DIR) -c ctext2pgm.c
 
26
 
 
27
ctext2pgms: ctext2pgm.o $(VFLIB_DIR)/libVFlib3.la
 
28
        $(LIBTOOL) --mode=link  \
 
29
                $(CC) $(VFCFLAGS) -static -o ctext2pgms ctext2pgm.o \
 
30
                    $(VFLIB_DIR)/libVFlib3.la
 
31
 
 
32
wc:
 
33
        wc *.c *.h
 
34
 
 
35
install: $(PROGRAM)
 
36
        @$(LIBTOOL) --mode=install \
 
37
          ../../$(INSTALL_PROGRAM) ctext2pgm $(bindir)
 
38
        @../../$(INSTALL_DATA) vflibcap-ctext2pgm $(runtimedir)
 
39
uninstall: 
 
40
        $(LIBTOOL) --mode=uninstall $(RM) $(bindir)/ctext2pgm
 
41
        $(RM) $(runtimedir)/vflibcap-ctext2pgm
 
42
 
 
43
clean::
 
44
        -$(RM) $(PROGRAM) ctext2pgms
 
45
veryclean:: clean
 
46
distclean:: clean
 
47
 
 
48
#EOF