2004-04-26 15:13:27 +00:00
|
|
|
#
|
|
|
|
# Makefile.postamble
|
|
|
|
#
|
|
|
|
# Project specific makefile rules
|
|
|
|
#
|
|
|
|
# Uncomment the targets you want.
|
|
|
|
# The double colons (::) are important, do not make them single colons
|
|
|
|
# otherwise the normal makefile rules will not be performed.
|
|
|
|
#
|
|
|
|
|
|
|
|
ifneq ($(ECPG),)
|
|
|
|
|
|
|
|
%.m: %.pgm
|
|
|
|
ecpg -o $@ $< $(ADDITIONAL_INCLUDE_DIRS)
|
|
|
|
|
2010-11-17 15:21:11 +00:00
|
|
|
.PRECIOUS: %.m
|
2004-04-26 15:13:27 +00:00
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
ifneq ($(ORACLE_HOME),)
|
|
|
|
|
|
|
|
%.m: %.pm
|
|
|
|
proc iname=$< oname=$@ mode=ansi parse=none
|
|
|
|
|
2010-11-17 15:21:11 +00:00
|
|
|
.PRECIOUS: %.m
|
2004-04-26 15:13:27 +00:00
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
# Things to do before compiling
|
|
|
|
# before-all::
|
|
|
|
|
|
|
|
# Things to do after compiling
|
|
|
|
# after-all::
|
|
|
|
|
|
|
|
# Things to do before installing
|
|
|
|
# before-install::
|
|
|
|
|
|
|
|
# Things to do after installing
|
|
|
|
# after-install::
|
|
|
|
|
|
|
|
# Things to do before uninstalling
|
|
|
|
# before-uninstall::
|
|
|
|
|
|
|
|
# Things to do after uninstalling
|
|
|
|
# after-uninstall::
|
|
|
|
|
|
|
|
# Things to do before cleaning
|
|
|
|
# before-clean::
|
|
|
|
|
|
|
|
# Things to do after cleaning
|
|
|
|
# after-clean::
|
|
|
|
|
|
|
|
# Things to do before distcleaning
|
|
|
|
# before-distclean::
|
|
|
|
|
|
|
|
# Things to do after distcleaning
|
|
|
|
after-distclean::
|
|
|
|
-rm -f ECPG.m Oracle.m
|
|
|
|
-rm -f config.h config.make config.log config.status
|
|
|
|
-rm -rf autom4te.cache
|
|
|
|
|
|
|
|
# Things to do before checking
|
|
|
|
# before-check::
|
|
|
|
|
|
|
|
# Things to do after checking
|
|
|
|
# after-check::
|
|
|
|
|
2017-06-29 08:57:04 +00:00
|
|
|
config.make: config.status
|
2015-01-31 20:55:45 +00:00
|
|
|
if [ -x config.status ]; then \
|
|
|
|
./config.status --recheck; \
|
|
|
|
else \
|
|
|
|
./configure; \
|
|
|
|
fi
|
2004-04-26 15:13:27 +00:00
|
|
|
|