2
# Copyright (C) 1997, Ericsson Telecommunications
3
# Author: Patrik Winroth
5
# This sed program file is intended to be used when creating Makefiles
6
# for vxworks from the generic Makefile.in that is found in a number
7
# of directories (see configure.vxworks).
9
# This is the general part that is common for all architectures.
12
s|@erts_rootdir@|/clearcase/otp/erts|
14
s|@LIBOBJS@|$(OBJDIR)/elib_malloc.o|
17
# FIXME: A bit strange to clear out remaining DED_*
33
s|@ETHR_THR_LIB_BASE@||
34
s|@ERTS_ENABLE_KERNEL_POLL@|no|
35
s|@cc_root@|/clearcase/otp/|
36
# Define OSE even though cross-compiling.
39
s|@ENABLE_ALLOC_TYPE_VARS@||
41
s|@ERTS_BUILD_SMP_EMU@|no|
42
s|@ERTS_BUILD_HYBRID_EMU@|no|
45
# Conditional inclusion of applications
48
s|@CRYPTO_APP@|crypto|
51
# The target tools prefix, prepended to all cc,ld,as etc commands
52
s|@VXTTPREFIX@|GCC_EXEC_PREFIX=@WIND_BASE@/host/@HOST_TYPE@/lib/gcc-lib/ @WIND_BASE@/host/@HOST_TYPE@/bin/|
54
# Install programs etc
56
s|@INSTALL@|/usr/ucb/install -c|
57
s|@INSTALL_PROGRAM@|${INSTALL}|
58
s|@INSTALL_SCRIPT@|${INSTALL}|
59
s|@INSTALL_DATA@|${INSTALL} -m 644|
60
s|@INSTALL_DIR@|$(INSTALL) -d|
63
s|@ERLANG_OSTYPE@|ose|
70
s|@GENERAL_CFLAGS@|-DHAVE_LOCALTIME_R -DHAVE_GMTIME_R -DENABLE_ELIB_MALLOC -DELIB_HEAP_USER -DELIB_SORTED_BLOCKS -DSMALL_MEMORY -DWORDS_BIGENDIAN|
71
# don't use elib_malloc
72
#s|@GENERAL_CFLAGS@|-DHAVE_LOCALTIME_R -DHAVE_GMTIME_R -DWORDS_BIGENDIAN|
77
s|@DIAB_OPTS@|-Xdebug-struct-all -Xforce-declarations -Xforce-prototypes -Xsmall-const=0 -Xstrings-in-text -Xsmall-data=0|
78
s|@DIAB_INCLS@|-I/usr/local/share/pgm/ose-4.4/powerpc/include/diab|
79
s|@OSE_INCLS@|-I/usr/local/share/pgm/ose-4.4/powerpc/std-include -I/usr/local/share/pgm/ose-4.4/powerpc/include -I/usr/local/share/pgm/ose-4.4/powerpc/conf -I/usr/local/share/pgm/ose-4.4/powerpc/krn-750/include -I/usr/local/share/pgm/ose-4.4/powerpc/bsp-powercore680/include -I/usr/local/share/pgm/ose-4.4/examples/common/include|
80
s|@OSE_DEFS@|-DPOWERPC -DOSE_DELTA -DBIG_ENDIAN -D_OSE_ -D_OSE_PPC750_|
82
# What is this anyway?
83
# Disable it and see what breaks.
86
# Only variable substituted directly
89
# XXX What is EFFLAGS? Not used in the emulator Makefile.in anyway.
90
s|$(EFLAGS)|-DENABLE_ELIB_MALLOC -DELIB_HEAP_USER -DELIB_SORTED_BLOCKS -DSMALL_MEMORY|