Change file modified. -fPIC flag used for 64-bit compilation. Move operation (rather than copy) for the dist library creation, and -p flag added.
This commit is contained in:
parent
3f5e8eb92b
commit
dcc6f679bc
|
@ -5,6 +5,9 @@ What's New for OpenJPEG
|
||||||
! : changed
|
! : changed
|
||||||
+ : added
|
+ : added
|
||||||
|
|
||||||
|
February 13, 2007
|
||||||
|
! [FOD] Change file modified. -fPIC flag used for 64-bit compilation. Move operation (rather than copy) for the dist library creation, and -p flag added.
|
||||||
|
|
||||||
January 31, 2007
|
January 31, 2007
|
||||||
! [FOD] Extra tokens at the end of #endif directive corrected in openjpeg.c, j2k.c and image_to_j2k.c -> no more warnings in linux compilation
|
! [FOD] Extra tokens at the end of #endif directive corrected in openjpeg.c, j2k.c and image_to_j2k.c -> no more warnings in linux compilation
|
||||||
! [FOD] Linux Makefile added for the codec
|
! [FOD] Linux Makefile added for the codec
|
||||||
|
|
10
Makefile
10
Makefile
|
@ -16,7 +16,7 @@ INSTALLDIR = /usr/lib
|
||||||
# Converts cr/lf to just lf
|
# Converts cr/lf to just lf
|
||||||
DOS2UNIX = dos2unix
|
DOS2UNIX = dos2unix
|
||||||
|
|
||||||
COMPILERFLAGS = -O3
|
COMPILERFLAGS = -O3 -fPIC
|
||||||
LIBRARIES = -lstdc++
|
LIBRARIES = -lstdc++
|
||||||
|
|
||||||
MODULES = $(SRCS:.c=.o)
|
MODULES = $(SRCS:.c=.o)
|
||||||
|
@ -34,10 +34,10 @@ default: all
|
||||||
all: dist
|
all: dist
|
||||||
|
|
||||||
dist: OpenJPEG
|
dist: OpenJPEG
|
||||||
mkdir dist
|
mkdir -p dist
|
||||||
cp *.a dist/
|
cp *.a dist
|
||||||
cp *.so dist/
|
mv *.so dist
|
||||||
cp libopenjpeg/openjpeg.h dist/
|
cp libopenjpeg/openjpeg.h dist
|
||||||
|
|
||||||
dos2unix:
|
dos2unix:
|
||||||
@$(DOS2UNIX) $(SRCS) $(INCLS)
|
@$(DOS2UNIX) $(SRCS) $(INCLS)
|
||||||
|
|
Loading…
Reference in New Issue