+ harbour/bldcmncf.sh
+ harbour/make_gcc.sh
+ harbour/makefile.gc
* harbour/common.mak
* harbour/makefile.bc
* harbour/makefile.vc
* harbour/make_vc.bat
* harbour/make_b32.bat
* added support for GCC and common make file. The extension created
by Marek Paliwoda with some modifications added by me.
Victor this commit removed the HB_* prefix from some of internal
make variables. I've done it temporary to avoid synchronization
problems with files in SVN, used by me and Marek. I hope we will
clean the code and restore necessary prefixes when Marek will have
returned so we can test it in different environments - such
modification have to be done in all of the above files.
22 lines
906 B
Bash
Executable File
22 lines
906 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# $Id$
|
|
#
|
|
|
|
sed -e "s/\.obj/.o/g" \
|
|
-e "s/\.lib/.a/g" \
|
|
-e "s/\.dll/.so/g" \
|
|
-e "s/\.exe//g" \
|
|
-e "s/;/ /g" \
|
|
-e 's!\\\(.\)!/\1!g' \
|
|
-e "s/^HB_LIB_PREFIX=.*$/HB_LIB_PREFIX=lib/g" \
|
|
-e 's/^!if "\($([A-Za-z0-9_]*)\)" != "\(.*\)"/ifneq (\1,\2)/g' \
|
|
-e 's/^!if "\($([A-Za-z0-9_]*)\)" == "\(.*\)"/ifeq (\1,\2)/g' \
|
|
-e 's/^!ifdef /ifdef /g' \
|
|
-e 's/^!ifndef /ifndef /g' \
|
|
-e 's/^!else/else/g' \
|
|
-e 's/^!endif/endif/g' \
|
|
-e 's/^!include/include/g' \
|
|
-e 's/$(HB_GT_LIST)/$(foreach gt, $(HB_GT_LIST), $(GT$(gt)_LIB))/g' \
|
|
common.mak > common.cf
|