diff options
Diffstat (limited to '')
-rw-r--r-- | libraries/openjpeg-libsl/Makefile.osx | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/libraries/openjpeg-libsl/Makefile.osx b/libraries/openjpeg-libsl/Makefile.osx deleted file mode 100644 index 5d2a5c6..0000000 --- a/libraries/openjpeg-libsl/Makefile.osx +++ /dev/null | |||
@@ -1,57 +0,0 @@ | |||
1 | # MacOSX makefile for OpenJPEG | ||
2 | |||
3 | VER_MAJOR = 2 | ||
4 | VER_MINOR = 1.2.0 | ||
5 | |||
6 | SRCS = ./libopenjpeg/bio.c ./libopenjpeg/cio.c ./libopenjpeg/dwt.c ./libopenjpeg/event.c ./libopenjpeg/image.c ./libopenjpeg/j2k.c ./libopenjpeg/j2k_lib.c ./libopenjpeg/jp2.c ./libopenjpeg/jpt.c ./libopenjpeg/mct.c ./libopenjpeg/mqc.c ./libopenjpeg/openjpeg.c ./libopenjpeg/pi.c ./libopenjpeg/raw.c ./libopenjpeg/t1.c ./libopenjpeg/t2.c ./libopenjpeg/tcd.c ./libopenjpeg/tgt.c | ||
7 | CPPSRCS = ./libsl/libsl.cpp | ||
8 | INCLS = ./libopenjpeg/bio.h ./libopenjpeg/cio.h ./libopenjpeg/dwt.h ./libopenjpeg/event.h ./libopenjpeg/fix.h ./libopenjpeg/image.h ./libopenjpeg/int.h ./libopenjpeg/j2k.h ./libopenjpeg/j2k_lib.h ./libopenjpeg/jp2.h ./libopenjpeg/jpt.h ./libopenjpeg/mct.h ./libopenjpeg/mqc.h ./libopenjpeg/openjpeg.h ./libopenjpeg/pi.h ./libopenjpeg/raw.h ./libopenjpeg/t1.h ./libopenjpeg/t2.h ./libopenjpeg/tcd.h ./libopenjpeg/tgt.h ./libopenjpeg/opj_includes.h ./libsl/libsl.h | ||
9 | INCLUDE = -Ilibopenjpeg | ||
10 | |||
11 | # General configuration variables: | ||
12 | CC = gcc | ||
13 | |||
14 | |||
15 | LIBTOOLSTAT = libtool | ||
16 | LIBTOOLDYN = gcc | ||
17 | |||
18 | COMPILERFLAGS = -O3 -fPIC | ||
19 | LIBRARIES = -lstdc++ | ||
20 | |||
21 | MODULES = $(SRCS:.c=.o) | ||
22 | CPPMODULES = $(CPPSRCS:.cpp=.o) | ||
23 | CFLAGS = $(COMPILERFLAGS) $(INCLUDE) | ||
24 | |||
25 | TARGET = openjpeg-libsl | ||
26 | SHAREDLIB = lib$(TARGET)-$(VER_MAJOR).$(VER_MINOR).dylib | ||
27 | LIBNAME = lib$(TARGET).dylib | ||
28 | |||
29 | |||
30 | default: all | ||
31 | |||
32 | all: OpenJPEG | ||
33 | |||
34 | dist: OpenJPEG | ||
35 | install -d ../bin | ||
36 | cp $(SHAREDLIB) ../bin/ | ||
37 | |||
38 | dos2unix: | ||
39 | @$(DOS2UNIX) $(SRCS) $(INCLS) | ||
40 | |||
41 | OpenJPEG: $(SHAREDLIB) | ||
42 | |||
43 | .c.o: | ||
44 | $(CC) $(CFLAGS) -c $< -o $@ | ||
45 | |||
46 | .cpp.o: | ||
47 | $(CC) $(CFLAGS) -c $< -o $@ | ||
48 | |||
49 | $(SHAREDLIB): $(MODULES) $(CPPMODULES) | ||
50 | $(LIBTOOLDYN) -dynamiclib -o $@ $(MODULES) $(CPPMODULES) $(LIBRARIES) | ||
51 | |||
52 | install: | ||
53 | install -d ../bin | ||
54 | cp $(SHAREDLIB) ../bin/ | ||
55 | |||
56 | clean: | ||
57 | rm -rf core dist/ u2dtmp* $(MODULES) $(CPPMODULES) $(SHAREDLIB) $(LIBNAME) | ||