~ubuntu-branches/ubuntu/utopic/tcm/utopic

« back to all changes in this revision

Viewing changes to src/gl/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Otavio Salvador
  • Date: 2003-07-03 20:08:21 UTC
  • Revision ID: james.westby@ubuntu.com-20030703200821-se4xtqx25e5miczi
Tags: upstream-2.20
ImportĀ upstreamĀ versionĀ 2.20

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
include ../Config.tmpl
 
2
 
 
3
CONFIG_FILE = tcm.conf
 
4
 
 
5
CFLAGS += -DCONFIG_INSTALL=\"$(CONFIG_INSTALL)\" -DTCM_INSTALL_DIR=\"$(TCM_INSTALL_DIR)\" -DTCM_INSTALL_LIB=\"$(TCM_INSTALL_LIB)\" -DTCM_INSTALL_SHARE=\"$(TCM_INSTALL_SHARE)\"
 
6
CFLAGS += -DCONFIG_FILE=\"$(CONFIG_FILE)\" -DHELP_DIR=\"$(TCM_INSTALL_SHARE)help/\"
 
7
 
 
8
OBJECTS=afont.o\
 
9
        assoclist.o\
 
10
        code.o\
 
11
        config.o\
 
12
        dpoint.o\
 
13
        file.o\
 
14
        fillstyle.o\
 
15
        inputfile.o\
 
16
        intersect.o\
 
17
        key.o\
 
18
        link.o\
 
19
        llist.o\
 
20
        linestyle.o\
 
21
        lstring.o\
 
22
        lvector.o\
 
23
        outputfile.o\
 
24
        pagesize.o\
 
25
        point.o\
 
26
        printeroptions.o\
 
27
        properties.o\
 
28
        readdirection.o\
 
29
        rectangle.o\
 
30
        sequence.o\
 
31
        side.o\
 
32
        system.o\
 
33
        textalign.o\
 
34
        toolkit.o\
 
35
        version.o
 
36
 
 
37
text2ps.o:
 
38
        $(Cc) $(SYSFLAGS) -c text2ps.c
 
39
 
 
40
text2ps$(EXEEXTENSION): text2ps.o
 
41
        $(Cc) text2ps.o -o $@ 
 
42
        $(CHMODPLUSX) $@
 
43
        $(MV) $@ $(BIN_DIR)
 
44
 
 
45
libglobal.a: $(OBJECTS)
 
46
        $(AR) $@ $(OBJECTS)
 
47
        $(CHMODPLUSX) $@
 
48
        $(MV) $@ $(LIB_DIR)
 
49
 
 
50
libglobal.so: $(OBJECTS)
 
51
        $(CC) $(CFLAGS) $(SHAREDFLAG) $(OBJECTS) -o $@
 
52
        $(CHMODPLUSX) $@
 
53
        $(STRIP) $@
 
54
        $(MV) $@ $(LIB_DIR)
 
55
 
 
56
clean: xclean
 
57
 
 
58
xclean::
 
59
        $(RM) instances.h
 
60
        touch instances.h 
 
61
 
 
62
depend: xdepend
 
63
 
 
64
undepend: xundepend
 
65
 
 
66
# DO NOT DELETE THIS LINE -- make depend depends on it.