[matroska] r1145 - trunk/libebml/make/linux
| Newsgroups | gmane.comp.multimedia.matroska.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: mosu Date: 2005-04-19 10:56:06 +0400 (Tue, 19 Apr 2005) New Revision: 1145 Modified: trunk/libebml/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/libebml/make/linux/Makefile =================================================================== --- trunk/libebml/make/linux/Makefile 2005-04-16 11:30:31 UTC (rev 1144) +++ trunk/libebml/make/linux/Makefile 2005-04-19 06:56:06 UTC (rev 1145) @@ -68,7 +68,11 @@ COMPILEFLAGS=$(WARNINGFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(DEBUGFLAGS) $(INCLUDE) DEPENDFLAGS = $(CXXFLAGS) $(INCLUDE) +ifeq (Darwin,$(shell uname -s)) +all: staticlib +else all: staticlib sharedlib +endif staticlib: $(LIBRARY) @@ -113,7 +117,11 @@ $(CXX) $(DEPENDFLAGS) -MM -MT $$o $$i >> .depend ; \ done +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)