Makefile.in.plugins_examples (Firebird-3.0.2.32703-0.tar.bz2) | : | Makefile.in.plugins_examples (Firebird-3.0.4.33054-0.tar.bz2) | ||
---|---|---|---|---|
skipping to change at line 31 | skipping to change at line 31 | |||
# those individuals and all rights are reserved. Contributors to | # those individuals and all rights are reserved. Contributors to | |||
# this file are either listed below or can be obtained from a CVS | # this file are either listed below or can be obtained from a CVS | |||
# history command. | # history command. | |||
# | # | |||
# Created by: Mark O'Donohue <mark.odonohue@ludwig.edu.au> | # Created by: Mark O'Donohue <mark.odonohue@ludwig.edu.au> | |||
# | # | |||
# Contributor(s): | # Contributor(s): | |||
# Adriano dos Santos Fernandes | # Adriano dos Santos Fernandes | |||
# | # | |||
ROOT=$(shell cd ../..; pwd) | ROOT=$(shell cd ..; pwd) | |||
ifeq ($(IsDeveloper), Y) | ifeq ($(IsDeveloper), Y) | |||
DefaultTarget := Debug | DefaultTarget := Debug | |||
else | else | |||
DefaultTarget := Release | DefaultTarget := Release | |||
endif | endif | |||
CPPFLAGS+= -I$(FB_BUILD)/include | CPPFLAGS+= -I$(FB_BUILD)/include | |||
include $(ROOT)/gen/make.defaults | include $(ROOT)/gen/make.defaults | |||
ifeq ($(CROSS_OUT), Y) | ifeq ($(CROSS_OUT), Y) | |||
include $(ROOT)/gen/make.crossPlatform | include $(ROOT)/gen/make.crossPlatform | |||
else | else | |||
include $(ROOT)/gen/make.platform | include $(ROOT)/gen/make.platform | |||
endif | endif | |||
include $(ROOT)/gen/make.rules | include $(ROOT)/gen/make.rules | |||
include $(ROOT)/gen/make.shared.variables | include $(ROOT)/gen/make.shared.variables | |||
@SET_MAKE@ | @SET_MAKE@ | |||
# Override make.defaults | ||||
LINK_PLUGIN_SYMBOLS = $(call LIB_LINK_MAPFILE,../$(PLUGIN_VERS)) | ||||
.PHONY: all udrcpp_example dc_example kh_example crypt_app | .PHONY: all udrcpp_example dc_example kh_example crypt_app | |||
all: udrcpp_example dc_example kh_example crypt_app | all: udrcpp_example dc_example kh_example crypt_app | |||
UDR_Objects = $(call makeObjects,../examples/udr,Functions.cpp) \ | UDR_Objects = $(call dirObjects,../examples/udr) | |||
$(call makeObjects,../examples/udr,Procedures.cpp) \ | ||||
$(call makeObjects,../examples/udr,Triggers.cpp) | ||||
UDR_Plugin = $(PLUGINS)/udr/$(LIB_PREFIX)udrcpp_example.$(SHRLIB_EXT) | UDR_Plugin = $(PLUGINS)/udr/$(LIB_PREFIX)udrcpp_example.$(SHRLIB_EXT) | |||
AllObjects = $(UDR_Objects) | AllObjects = $(UDR_Objects) | |||
udrcpp_example: $(UDR_Plugin) | udrcpp_example: $(UDR_Plugin) | |||
$(UDR_Plugin): $(UDR_Objects) | $(UDR_Plugin): $(UDR_Objects) | |||
ifeq ($(PLATFORM),DARWIN) | ifeq ($(PLATFORM),DARWIN) | |||
$(LIB_LINK) $(LIB_BUNDLE_OPTIONS) -o $@ $^ @PTHREAD_CFLAGS@ @PTHREAD_LIBS @ \ | $(LIB_LINK) $(LIB_BUNDLE_OPTIONS) -o $@ $^ @PTHREAD_CFLAGS@ @PTHREAD_LIBS @ \ | |||
$(FIREBIRD_LIBRARY_LINK) | $(FIREBIRD_LIBRARY_LINK) | |||
else | else | |||
End of changes. 3 change blocks. | ||||
8 lines changed or deleted | 2 lines changed or added |