aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-10-09 00:39:32 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-10-09 00:39:32 +0000
commitc6b1429c724c1872422711189b0dc0e234e1bb60 (patch)
treeed5864721d1ee1e8aeea70f0fd89f1566685c14b
parentdafaff0d5cf1a916568edee79afdd3df0c346890 (diff)
added -isysroot to make sure it works on 10.4 and newer
svn path=/trunk/externals/pix_opencv/; revision=12563
-rw-r--r--Makefile22
1 files changed, 14 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 25517ee..4c76898 100644
--- a/Makefile
+++ b/Makefile
@@ -36,8 +36,8 @@ ifeq ($(UNAME),Darwin)
OS = macosx
OPT_CFLAGS = -fast
FAT_FLAGS = -arch i386 -arch ppc -mmacosx-version-min=10.4
- CFLAGS += -fPIC -F.
- LDFLAGS += -bundle -undefined dynamic_lookup -F.
+ CFLAGS += -fPIC -isysroot /Developer/SDKs/MacOSX10.4u.sdk
+ LDFLAGS += -bundle -undefined dynamic_lookup -isysroot /Developer/SDKs/MacOSX10.4u.sdk
LIBS += -lc -framework OpenCV
STRIP = strip -x
endif
@@ -112,26 +112,32 @@ clean:
-rm -f -- $(LIBRARY_NAME).$(EXTENSION)
distclean: clean
- -rm -f -- ../$(LIBRARY_NAME)-$(OS)-$(shell uname -m).tar.bz2
- -rm -f -- ../$(LIBRARY_NAME)-$(OS).tar.bz2
+ -rm -f -- ../$(LIBRARY_NAME)-$(LIBRARY_VERSION)-$(OS)-$(shell uname -m).tar.bz2
+ -rm -f -- ../$(LIBRARY_NAME)-$(LIBRARY_VERSION)-$(OS).tar.bz2
dist: all dist_$(OS)
dist_linux:
- cd .. && tar --exclude=.svn -cjpf $(LIBRARY_NAME)-$(OS)-$(shell uname -m).tar.bz2 $(LIBRARY_NAME)
+ cd .. && tar --exclude=.svn -cjpf \
+ $(LIBRARY_NAME)-$(LIBRARY_VERSION)-$(OS)-$(shell uname -m).tar.bz2 \
+ $(LIBRARY_NAME)
dist_macosx:
- cd .. && tar --exclude=.svn -cjpf $(LIBRARY_NAME)-$(OS).tar.bz2 $(LIBRARY_NAME)
+ cd .. && tar --exclude=.svn -cjpf \
+ $(LIBRARY_NAME)-$(LIBRARY_VERSION)-$(OS)-$(shell uname -m).tar.bz2 \
+ $(LIBRARY_NAME)
dist_windows:
- cd .. && tar --exclude=.svn -cjpf $(LIBRARY_NAME)-$(OS).tar.bz2 $(LIBRARY_NAME)
-
+ cd .. && tar --exclude=.svn -cjpf \
+ $(LIBRARY_NAME)-$(LIBRARY_VERSION)-$(OS).tar.bz2 \
+ $(LIBRARY_NAME)
etags:
etags *.[ch] ../../pd/src/*.[ch] /usr/include/*.h /usr/include/*/*.h
showpaths:
@echo "PD_PATH: $(PD_PATH)"
+ @echo "GEM_PATH: $(GEM_PATH)"
@echo "objectsdir: $(objectsdir)"
@echo "LIBRARY_NAME: $(LIBRARY_NAME)"
@echo "SOURCES: $(SOURCES)"