~ubuntu-branches/ubuntu/raring/geotranz/raring

« back to all changes in this revision

Viewing changes to dt_cc/suse_linux/makefile

  • Committer: Bazaar Package Importer
  • Author(s): Roberto Lumbreras
  • Date: 2008-10-17 14:43:09 UTC
  • Revision ID: james.westby@ubuntu.com-20081017144309-jb7uzfi1y1lvez8j
Tags: upstream-2.4.2
ImportĀ upstreamĀ versionĀ 2.4.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
####
 
2
# Compiler declarations
 
3
####
 
4
 
 
5
#Sun SPARCworks
 
6
#cc = cc
 
7
#CC = CC
 
8
#Gnu
 
9
cc = gcc
 
10
CC = g++
 
11
 
 
12
####
 
13
# Support declarations
 
14
####
 
15
 
 
16
DEBUG = -g
 
17
 
 
18
CFLAGS = $(DEBUG)
 
19
 
 
20
####
 
21
# Directories
 
22
####
 
23
 
 
24
DTCCDIR = ..
 
25
 
 
26
####
 
27
# Libraries
 
28
####
 
29
 
 
30
LIB =  libdtcc.a
 
31
 
 
32
####
 
33
# Sources
 
34
####
 
35
 
 
36
SRCS = \
 
37
        threads.c \
 
38
        albers.c \
 
39
        azeq.c \
 
40
        bonne.c \
 
41
        bng.c \
 
42
        cassini.c \
 
43
        cyleqa.c \
 
44
        datum.c \
 
45
        eckert4.c \
 
46
        eckert6.c \
 
47
        ellipse.c \
 
48
        eqdcyl.c \
 
49
        gars.c \
 
50
        geocent.c \
 
51
        geoid.c \
 
52
        georef.c \
 
53
        gnomonic.c \
 
54
        grinten.c \
 
55
        lambert_1.c \
 
56
        lambert_2.c \
 
57
        loccart.c \
 
58
        mercator.c \
 
59
        mgrs.c \
 
60
        miller.c \
 
61
        mollweid.c \
 
62
        neys.c \
 
63
        nzmg.c \
 
64
        omerc.c \
 
65
        orthogr.c \
 
66
        polarst.c \
 
67
        polycon.c \
 
68
        sinusoid.c \
 
69
        stereogr.c \
 
70
        trcyleqa.c \
 
71
        tranmerc.c \
 
72
        ups.c \
 
73
        usng.c \
 
74
        utm.c
 
75
        
 
76
 
 
77
####
 
78
# Includes
 
79
####
 
80
 
 
81
INCLUDES = \
 
82
        -I$(DTCCDIR)/threads \
 
83
        -I$(DTCCDIR)/albers \
 
84
        -I$(DTCCDIR)/azeq \
 
85
        -I$(DTCCDIR)/bonne \
 
86
        -I$(DTCCDIR)/bng \
 
87
        -I$(DTCCDIR)/cassini \
 
88
        -I$(DTCCDIR)/cyleqa \
 
89
        -I$(DTCCDIR)/datum \
 
90
        -I$(DTCCDIR)/eckert4 \
 
91
        -I$(DTCCDIR)/eckert6 \
 
92
        -I$(DTCCDIR)/ellipse \
 
93
        -I$(DTCCDIR)/eqdcyl \
 
94
        -I$(DTCCDIR)/gars \
 
95
        -I$(DTCCDIR)/geocent \
 
96
        -I$(DTCCDIR)/geoid \
 
97
        -I$(DTCCDIR)/georef \
 
98
        -I$(DTCCDIR)/gnomonic \
 
99
        -I$(DTCCDIR)/grinten \
 
100
        -I$(DTCCDIR)/lambert_1 \
 
101
        -I$(DTCCDIR)/lambert_2 \
 
102
        -I$(DTCCDIR)/loccart \
 
103
        -I$(DTCCDIR)/mercator \
 
104
        -I$(DTCCDIR)/mgrs \
 
105
        -I$(DTCCDIR)/miller \
 
106
        -I$(DTCCDIR)/mollweid \
 
107
        -I$(DTCCDIR)/neys \
 
108
        -I$(DTCCDIR)/nzmg \
 
109
        -I$(DTCCDIR)/omerc \
 
110
        -I$(DTCCDIR)/orthogr \
 
111
        -I$(DTCCDIR)/polarst \
 
112
        -I$(DTCCDIR)/polycon \
 
113
        -I$(DTCCDIR)/sinusoid \
 
114
        -I$(DTCCDIR)/stereogr \
 
115
        -I$(DTCCDIR)/trcyleqa \
 
116
        -I$(DTCCDIR)/tranmerc \
 
117
        -I$(DTCCDIR)/ups \
 
118
        -I$(DTCCDIR)/usng \
 
119
        -I$(DTCCDIR)/utm
 
120
 
 
121
####
 
122
# Suffix rules
 
123
####
 
124
 
 
125
.SUFFIXES: .c .o
 
126
 
 
127
.c.o:
 
128
        $(cc) -c $(CFLAGS) $(INCLUDES) $<
 
129
 
 
130
####
 
131
# Targets
 
132
####
 
133
 
 
134
all : $(LIB)
 
135
 
 
136
$(SRCS):
 
137
        ln -s $(DTCCDIR)/$(@:.c=)/$@ . 
 
138
 
 
139
$(LIB): $(SRCS:.c=.o)
 
140
        ar -rv $(LIB) $(SRCS:.c=.o)
 
141
 
 
142
clean:
 
143
        $(RM) *.c *.o *.a