2007-07-21 18:02:59 +02:00
|
|
|
diff -ur libmng-orig/makefiles/makefile.linux libmng-1.0.10/makefiles/makefile.linux
|
|
|
|
--- makefiles/makefile.linux 2005-01-30 11:28:00.000000000 +0100
|
|
|
|
+++ makefiles/makefile.linux 2007-07-19 13:39:28.000000000 +0200
|
2007-01-16 00:22:25 +01:00
|
|
|
@@ -11,7 +11,7 @@
|
2007-07-21 18:02:59 +02:00
|
|
|
|
|
|
|
# default build options (this forces shared library compatibility!!)
|
|
|
|
#OPTIONS = -DMNG_BUILD_SO
|
|
|
|
-OPTIONS = -DMNG_BUILD_SO -DMNG_FULL_CMS
|
2007-01-16 00:22:25 +01:00
|
|
|
+OPTIONS = -DMNG_BUILD_SO -DMNG_NO_INCLUDE_JNG
|
2007-07-21 18:02:59 +02:00
|
|
|
|
|
|
|
# where "make install" puts libmng.a,libmng.so*,libmng.h,libmng_conf.h,libmng_types.h
|
|
|
|
prefix=/usr/local
|
2007-01-16 00:22:25 +01:00
|
|
|
@@ -50,7 +50,7 @@
|
2007-07-21 18:02:59 +02:00
|
|
|
-L$(ZLIBLIB) -Wl,-rpath,$(ZLIBLIB) \
|
|
|
|
-L$(JPEGLIB) -Wl,-rpath,$(JPEGLIB) \
|
|
|
|
-L$(LCMSLIB) -Wl,-rpath,$(LCMSLIB) \
|
|
|
|
- -lmng -lz -ljpeg -llcms -lm
|
|
|
|
+ -lmng -lz -lm
|
|
|
|
|
|
|
|
RANLIB=ranlib
|
|
|
|
#RANLIB=echo
|
|
|
|
@@ -107,7 +107,7 @@
|
|
|
|
# $(CC) -shared -Wl,-soname,libmng.so.$(MNGMAJ) -o libmng.so.$(MNGVER) \
|
|
|
|
# $(OBJSDLL) -L$(ZLIBLIB) -L$(JPEGLIB) -L$(LCMSLIB) -lz -lm -lc
|
|
|
|
$(CC) -shared -Wl,-soname,libmng.so.$(MNGMAJ) -o libmng.so.$(MNGVER) \
|
|
|
|
- $(OBJSDLL) -L$(ZLIBLIB) -L$(JPEGLIB) -ljpeg -L$(LCMSLIB) -llcms \
|
|
|
|
+ $(OBJSDLL) -L$(ZLIBLIB) \
|
|
|
|
-lz -lm -lc
|
|
|
|
|
|
|
|
install: libmng.a libmng.so.$(MNGVER)
|