gvsig-3d / 1.10 / tags / gvSIG_3D_Animation_1_10_build_21_FINAL / libraries / libjni-proj4 / Makefile @ 256
History | View | Annotate | Download (3.56 KB)
1 | 5 | jzarzoso | ############################################################################### |
---|---|---|---|
2 | # Makefile automatically generated by Code::Blocks IDE # |
||
3 | ############################################################################### |
||
4 | |||
5 | # Project: CrsJniProj |
||
6 | # Project filename: /home/dguerrero/Desarrollo-gvSIG/crs/workspace/libjni-proj4/CrsJniProj.cbp |
||
7 | # Compiler used: GNU GCC Compiler |
||
8 | |||
9 | ### Variables used in this Makefile |
||
10 | default_CC=gcc |
||
11 | default_CPP=g++ |
||
12 | default_LD=g++ |
||
13 | default_LIB=ar |
||
14 | default_RESCOMP= |
||
15 | |||
16 | ### Compiler/linker options |
||
17 | default_GLOBAL_CFLAGS= |
||
18 | default_PROJECT_CFLAGS= -DBUILDING_DLL=1 |
||
19 | default_GLOBAL_LDFLAGS= |
||
20 | default_PROJECT_LDFLAGS= |
||
21 | default_GLOBAL_INCS= -I/usr/include |
||
22 | default_PROJECT_INCS= -Iinclude -I/usr/local/j2sdk1.4.2_13/include -I/usr/local/j2sdk1.4.2_13/include/linux |
||
23 | default_GLOBAL_LIBDIRS= -L/usr/lib |
||
24 | default_PROJECT_LIBDIRS= |
||
25 | default_GLOBAL_LIBS= |
||
26 | default_PROJECT_LIBS= -lproj |
||
27 | |||
28 | ### Targets compiler flags |
||
29 | default_CFLAGS= $(default_PROJECT_CFLAGS) $(default_GLOBAL_CFLAGS) |
||
30 | |||
31 | ### Targets linker flags |
||
32 | default_LDFLAGS= $(default_PROJECT_LDFLAGS) $(default_GLOBAL_LDFLAGS) |
||
33 | |||
34 | ### Targets include directories |
||
35 | default_INCS= $(default_PROJECT_INCS) $(default_GLOBAL_INCS) |
||
36 | |||
37 | ### Targets library directories |
||
38 | default_LIBDIRS= $(default_PROJECT_LIBDIRS) $(default_GLOBAL_LIBDIRS) |
||
39 | |||
40 | ### Targets libraries |
||
41 | default_LIBS= $(default_PROJECT_LIBS) $(default_GLOBAL_LIBS) |
||
42 | |||
43 | ############################################################################### |
||
44 | # You shouldn't need to modify anything beyond this point # |
||
45 | ############################################################################### |
||
46 | |||
47 | ### Objects used in this Makefile |
||
48 | default_OBJS=dist/src/crsJniProj.o |
||
49 | default_LINKOBJS=$(default_OBJS) |
||
50 | default_DEPS=.deps/src/crsJniProj.d |
||
51 | |||
52 | ### The targets of this project |
||
53 | default_BIN=dist/libcrsjniproj.so.0.1.1 |
||
54 | default_STATIC_LIB=dist/libcrsjniproj.a |
||
55 | default_LIB_DEF=dist/libcrsjniproj.def |
||
56 | |||
57 | .PHONY: all all-before all-custom all-after clean clean-custom distclean distclean-custom depend_default default-before default-after |
||
58 | |||
59 | all: all-before default all-after |
||
60 | |||
61 | |||
62 | dist: |
||
63 | @zip CrsJniProj.cbp.zip CrsJniProj.cbp Makefile src/crsJniProj.c |
||
64 | |||
65 | clean_default: |
||
66 | @echo Cleaning target "default"... |
||
67 | @$(RM) $(default_BIN) $(default_OBJS) $(default_RESOURCE) $(default_STATIC_LIB) $(default_LIB_DEF) |
||
68 | |||
69 | distclean_default: |
||
70 | @echo Dist-cleaning target "default"... |
||
71 | @$(RM) $(default_BIN) $(default_OBJS) $(default_DEPS) $(default_RESOURCE) $(default_STATIC_LIB) $(default_LIB_DEF) |
||
72 | |||
73 | clean: clean_default |
||
74 | |||
75 | distclean: distclean_default |
||
76 | |||
77 | depend_default_DIRS: |
||
78 | -@if ! test -d .deps; then mkdir .deps; fi |
||
79 | -@if ! test -d .deps/src; then mkdir .deps/src; fi |
||
80 | |||
81 | depend_default: depend_default_DIRS $(default_DEPS) |
||
82 | |||
83 | depend: depend_default |
||
84 | |||
85 | default_DIRS: |
||
86 | -@if ! test -d dist; then mkdir dist; fi |
||
87 | -@if ! test -d dist/src; then mkdir dist/src; fi |
||
88 | -@if ! test -d dist; then mkdir dist; fi |
||
89 | |||
90 | default: depend_default default_DIRS default-before $(default_BIN) default-after |
||
91 | |||
92 | $(default_BIN): $(default_LINKOBJS) $(default_RESOURCE) |
||
93 | @echo Linking shared library "dist/libcrsjniproj.so.0.1.1"... |
||
94 | @$(default_LD) -shared $(default_LIBDIRS) $(default_LINKOBJS) $(default_RESOURCE) -o $(default_BIN) $(default_LDFLAGS) $(default_LIBS) |
||
95 | |||
96 | |||
97 | .deps/src/crsJniProj.d: src/crsJniProj.c |
||
98 | @echo Calculating dependencies for "src/crsJniProj.c"... |
||
99 | @$(default_CC) -MM $(default_CFLAGS) -MF .deps/src/crsJniProj.d -MT dist/src/crsJniProj.o $(default_INCS) src/crsJniProj.c |
||
100 | |||
101 | dist/src/crsJniProj.o: .deps/src/crsJniProj.d |
||
102 | @echo Compiling "src/crsJniProj.c"... |
||
103 | @$(default_CC) $(default_CFLAGS) $(default_INCS) -c src/crsJniProj.c -o dist/src/crsJniProj.o |
||
104 |