svn-gvsig-desktop / tags / v2_0_0_Build_2002 / libraries / libjni-proj4 / Makefilemac @ 39104
History | View | Annotate | Download (3.7 KB)
1 | 15514 | gsdiego | ############################################################################### |
---|---|---|---|
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 | default_ARCH=ppc |
||
16 | |||
17 | ### Compiler/linker options |
||
18 | default_GLOBAL_CFLAGS= |
||
19 | default_PROJECT_CFLAGS= -DBUILDING_DLL=1 -arch $(default_ARCH) |
||
20 | default_GLOBAL_LDFLAGS= -Wl,-headerpad_max_install_names -arch $(default_ARCH) |
||
21 | default_PROJECT_LDFLAGS= |
||
22 | default_GLOBAL_INCS= -I/usr/include -framework JavaVM -I/System/Library/Frameworks/JavaVM.framework/Headers -fno-common |
||
23 | default_PROJECT_INCS= -Iinclude |
||
24 | default_GLOBAL_LIBDIRS= -L/usr/lib -framework JavaVM |
||
25 | default_PROJECT_LIBDIRS= -L../binaries/mac/crs/ |
||
26 | default_GLOBAL_LIBS= |
||
27 | default_PROJECT_LIBS= -lproj |
||
28 | |||
29 | ### Targets compiler flags |
||
30 | default_CFLAGS= $(default_PROJECT_CFLAGS) $(default_GLOBAL_CFLAGS) |
||
31 | |||
32 | ### Targets linker flags |
||
33 | default_LDFLAGS= $(default_PROJECT_LDFLAGS) $(default_GLOBAL_LDFLAGS) |
||
34 | |||
35 | ### Targets include directories |
||
36 | default_INCS= $(default_PROJECT_INCS) $(default_GLOBAL_INCS) |
||
37 | |||
38 | ### Targets library directories |
||
39 | default_LIBDIRS= $(default_PROJECT_LIBDIRS) $(default_GLOBAL_LIBDIRS) |
||
40 | |||
41 | ### Targets libraries |
||
42 | default_LIBS= $(default_PROJECT_LIBS) $(default_GLOBAL_LIBS) |
||
43 | |||
44 | ############################################################################### |
||
45 | # You shouldn't need to modify anything beyond this point # |
||
46 | ############################################################################### |
||
47 | |||
48 | ### Objects used in this Makefile |
||
49 | default_OBJS=dist/src/crsJniProj.o |
||
50 | default_LINKOBJS=$(default_OBJS) |
||
51 | default_DEPS=.deps/src/crsJniProj.d |
||
52 | |||
53 | ### The targets of this project |
||
54 | default_BIN=dist/libcrsjniproj.jnilib |
||
55 | default_STATIC_LIB=dist/libcrsjniproj.a |
||
56 | default_LIB_DEF=dist/libcrsjniproj.def |
||
57 | |||
58 | .PHONY: all all-before all-custom all-after clean clean-custom distclean distclean-custom depend_default default-before default-after |
||
59 | |||
60 | all: all-before default all-after |
||
61 | |||
62 | |||
63 | dist: |
||
64 | @zip CrsJniProj.cbp.zip CrsJniProj.cbp Makefile src/crsJniProj.c |
||
65 | |||
66 | clean_default: |
||
67 | @echo Cleaning target "default"... |
||
68 | @$(RM) $(default_BIN) $(default_OBJS) $(default_RESOURCE) $(default_STATIC_LIB) $(default_LIB_DEF) |
||
69 | |||
70 | distclean_default: |
||
71 | @echo Dist-cleaning target "default"... |
||
72 | @$(RM) $(default_BIN) $(default_OBJS) $(default_DEPS) $(default_RESOURCE) $(default_STATIC_LIB) $(default_LIB_DEF) |
||
73 | |||
74 | clean: clean_default |
||
75 | |||
76 | distclean: distclean_default |
||
77 | |||
78 | depend_default_DIRS: |
||
79 | -@if ! test -d .deps; then mkdir .deps; fi |
||
80 | -@if ! test -d .deps/src; then mkdir .deps/src; fi |
||
81 | |||
82 | depend_default: depend_default_DIRS $(default_DEPS) |
||
83 | |||
84 | depend: depend_default |
||
85 | |||
86 | default_DIRS: |
||
87 | -@if ! test -d dist; then mkdir dist; fi |
||
88 | -@if ! test -d dist/src; then mkdir dist/src; fi |
||
89 | -@if ! test -d dist; then mkdir dist; fi |
||
90 | |||
91 | default: depend_default default_DIRS default-before $(default_BIN) default-after |
||
92 | |||
93 | $(default_BIN): $(default_LINKOBJS) $(default_RESOURCE) |
||
94 | @echo Linking shared library "dist/libcrsjniproj.jnilib"... |
||
95 | @$(default_LD) -dynamiclib $(default_LIBDIRS) $(default_LINKOBJS) $(default_RESOURCE) -o $(default_BIN) $(default_LDFLAGS) $(default_LIBS) |
||
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 |