[matroska] r1146 - trunk/libmatroska/make/linux
| Newsgroups | gmane.comp.multimedia.matroska.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: mosu Date: 2005-04-19 11:00:00 +0400 (Tue, 19 Apr 2005) New Revision: 1146 Modified: trunk/libmatroska/make/linux/Makefile Log: Do not compile shared libs on Mac OS X due to how they should be handled there. If need arises we can always implement it properly. Patch by Shawn Holwegner <shawn () holwegner ! com> Modified: trunk/libmatroska/make/linux/Makefile =================================================================== --- trunk/libmatroska/make/linux/Makefile 2005-04-19 06:56:06 UTC (rev 1145) +++ trunk/libmatroska/make/linux/Makefile 2005-04-19 07:00:00 UTC (rev 1146) @@ -76,7 +76,11 @@ LINKFLAGS=-L. -L$(LIBEBML_LIB_DIR) $(LDFLAGS) DEPENDFLAGS = $(CXXFLAGS) $(INCLUDE) +ifeq (Darwin,$(shell uname -s)) +all: staticlib +else all: staticlib sharedlib +endif staticlib: $(LIBRARY) @@ -144,7 +148,11 @@ test9.o: $(TAG_SRC_DIR)test9.cpp $(CXX) -c $(COMPILEFLAGS) -o $@ $< +ifeq (Darwin,$(shell uname -s)) +install: install_staticlib install_headers +else install: install_staticlib install_sharedlib install_headers +endif install_headers: $(INSTALL) $(INSTALL_DIR_OPTS) -d $(includedir)