makefile.mk (752c0af7) makefile.mk (d92161c4)
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 271 unchanged lines hidden (view full) ---

280 $(TYPE) description.xml | $(SED) "s/#VERSION#/$(EXTENSION_VERSION)/" | $(SED) "s,#TITLE#,$(EXTENSION_TITLE)," > $@
281
282.IF "$(SYSTEM_MYSQL)" != "YES"
283# --- the MySQL client lib needs to be copied
284$(COMPONENT_MYSQL_LIBFILE): $(MYSQL_LIBFILE)
285 @@-$(MKDIRHIER) $(@:d)
286 @$(COPY) $< $@ > $(NULLDEV)
287 .IF "$(OS)" == "MACOSX"
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 271 unchanged lines hidden (view full) ---

280 $(TYPE) description.xml | $(SED) "s/#VERSION#/$(EXTENSION_VERSION)/" | $(SED) "s,#TITLE#,$(EXTENSION_TITLE)," > $@
281
282.IF "$(SYSTEM_MYSQL)" != "YES"
283# --- the MySQL client lib needs to be copied
284$(COMPONENT_MYSQL_LIBFILE): $(MYSQL_LIBFILE)
285 @@-$(MKDIRHIER) $(@:d)
286 @$(COPY) $< $@ > $(NULLDEV)
287 .IF "$(OS)" == "MACOSX"
288 install_name_tool -id @__________________________________________________OOO/$(MYSQL_LIBFILE:f) $@
288 install_name_tool -id @_______OOO/$(MYSQL_LIBFILE:f) $@
289 .ENDIF
290.ENDIF
291
292.IF "$(OS)" == "MACOSX"
293$(EXTENSION_TARGET): adjust_libmysql_path
294
295adjust_libmysql_path: $(EXTENSIONDIR)$/$(SHL1TARGET)$(DLLPOST)
296 install_name_tool -change $(MYSQL_LIBFILE:f) @loader_path/$(MYSQL_LIBFILE:f) $(EXTENSIONDIR)$/$(SHL1TARGET)$(DLLPOST)
297.ENDIF
289 .ENDIF
290.ENDIF
291
292.IF "$(OS)" == "MACOSX"
293$(EXTENSION_TARGET): adjust_libmysql_path
294
295adjust_libmysql_path: $(EXTENSIONDIR)$/$(SHL1TARGET)$(DLLPOST)
296 install_name_tool -change $(MYSQL_LIBFILE:f) @loader_path/$(MYSQL_LIBFILE:f) $(EXTENSIONDIR)$/$(SHL1TARGET)$(DLLPOST)
297.ENDIF