stx_libview2.st
changeset 3093 f9621cb33f6e
parent 3092 fbe40b7e8c08
child 3101 8650cfc63b66
--- a/stx_libview2.st	Sun Feb 10 16:26:52 2013 +0100
+++ b/stx_libview2.st	Thu Feb 14 00:51:11 2013 +0100
@@ -128,7 +128,7 @@
 #
 # prelink JPEGReader.o with libjpeg
 #
-JPEGReader_prelinked: $(LIBJPEG)
+JPEGReader_prelinked: $(LIBJPEG) $(LIBJPEG_DIR)/libjpeg.a
         @$(MAKE) JPEGReader.$(O) \
                 CC="$(LIBJPEG_CC)" \
                 OPT="$(LIBJPEG_OPT)" \
@@ -149,11 +149,7 @@
             echo; \
         fi
 
-$(LIBJPEG_DIR)/libjpeg.a
-        cd $(LIBJPEG_DIR) \
-            && $(MAKE) all CC="$(LIBJPEG_CC)" OPT="$(LIBJPEG_OPT)" CFLAGS="$(LIBJPEG_OPT) $(CCCONFOPT)"
-
-$(LIBJPEG): $(LIBJPEG_DIR)/.libs/libjpeg.a
+$(LIBJPEG_DIR)/libjpeg.a: $(LIBJPEG_DIR)/.libs/libjpeg.a
         cp $(LIBJPEG_DIR)/.libs/libjpeg.a $(LIBJPEG)
 
 $(LIBJPEG_DIR)/.libs/libjpeg.a: $(LIBJPEG_DIR)/Makefile $(LIBJPEG_DIR)/*.c $(LIBJPEG_DIR)/*.h
@@ -350,10 +346,10 @@
 !stx_libview2 class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview2/stx_libview2.st,v 1.62 2013-02-10 15:26:52 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview2/stx_libview2.st,v 1.63 2013-02-13 23:51:11 vrany Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libview2/stx_libview2.st,v 1.62 2013-02-10 15:26:52 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview2/stx_libview2.st,v 1.63 2013-02-13 23:51:11 vrany Exp $'
 ! !