updates makedefs and makerules for Mac OSX submitted by Bob Kuehne

This commit is contained in:
Don BURNS
2003-08-08 14:41:37 +00:00
parent 8a737dd2ca
commit d6820a3f2b
2 changed files with 4 additions and 3 deletions

View File

@@ -367,8 +367,9 @@ ifeq ($(OS),Darwin)
QUICKTIME = -framework QuickTime $(CARBON_LIB)
FREETYPE_INCLUDE = -I/sw/include/freetype2
TIFF_LIB = -ltiff
LIBVERSION = -dylib_current_version 0.9.3
LIBVERSION = -current_version $(VERSION) \
-compatibility_version \
$(VERSION_MAJOR).$(VERSION_MINOR).0
endif
#### Cygwin/Mingw specific definitions

View File

@@ -66,7 +66,7 @@ $(EXEC): $(OBJS)
ifeq ($(OS),Darwin)
$(LIB): $(OBJS)
$(C++) $(LDFLAGS) -dynamiclib $(OBJS) $(LIBS) -o $@
$(C++) $(LDFLAGS) $(LIBVERSION) -dynamiclib $(OBJS) $(LIBS) -o $@
$(PLUGIN): $(OBJS)
$(C++) $(LDFLAGS) -bundle $(OBJS) $(LIBS) -o $@