diff --git a/MAC/GCF/GCFCommon/configure.in b/MAC/GCF/GCFCommon/configure.in index 2aed4a9259a87cb5c0f13f6c6ef29ffb34a9b4da..14b48495f5fac6ad87b8267a0c7719d719fa7bd7 100644 --- a/MAC/GCF/GCFCommon/configure.in +++ b/MAC/GCF/GCFCommon/configure.in @@ -5,7 +5,7 @@ AC_INIT(include/GCF/GCF_Defines.h) dnl AC_CONFIG_AUX_DIR(config) dnl AM_CONFIG_HEADER(config/config.h) AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE(GCFCommon, 6.0, no-define) +AM_INIT_AUTOMAKE(GCFCommon, 6.1, no-define) dnl Initialize for LOFAR (may set compilers) lofar_INIT diff --git a/MAC/GCF/LogSys/CLP/src/Makefile.am b/MAC/GCF/LogSys/CLP/src/Makefile.am index 790948c3041d87433f6b89954dc476db5df7acdf..e6dd429d2b690e0e66a5f1fd9d10178efcba6d8d 100644 --- a/MAC/GCF/LogSys/CLP/src/Makefile.am +++ b/MAC/GCF/LogSys/CLP/src/Makefile.am @@ -21,9 +21,7 @@ CodeLoggingProcessor_DEPENDENCIES = libclp.la $(LOFAR_DEPEND) \ BUILT_SOURCES = -EXTRA_DIST = $(BUILT_SOURCES) \ - CodeLoggingProcessor.conf.in \ - CodeLoggingProcessor.log_prop.in +EXTRA_DIST = $(sysconf_DATA) sysconf_DATA= \ CodeLoggingProcessor.conf \ diff --git a/MAC/GCF/LogSys/GCFLogSys.spec.in b/MAC/GCF/LogSys/GCFLogSys.spec.in index c7393e48bb7b94294555adf0265795bba9e08630..3f76879b2e74a3049aa21eea717691e0c09dd9b4 100644 --- a/MAC/GCF/LogSys/GCFLogSys.spec.in +++ b/MAC/GCF/LogSys/GCFLogSys.spec.in @@ -29,10 +29,10 @@ URL: http://www.astron.nl Prefix: %{prefix} BuildArchitectures: i386 # Target platforms, i.e., i586 Requires: Common >= 2.2 -Requires: GCFCommon >= 6.0 -Requires: GCFTM >= 6.0 -Requires: GCFProtocols >= 6.0 -Requires: GCFPAL >= 6.0 +Requires: GCFCommon >= 6.1 +Requires: GCFTM >= 6.1 +Requires: GCFProtocols >= 6.1 +Requires: GCFPAL >= 6.1 #Requires: OTDB Packager: %{packager} Distribution: The LOFAR project diff --git a/MAC/GCF/LogSys/KVLogSys/src/Makefile.am b/MAC/GCF/LogSys/KVLogSys/src/Makefile.am index ee2c4f56edce3a70b0a0df1aa9f6fc69687221d9..45ccf67fb2b30695b695cacfba38a619ae1f8c71 100644 --- a/MAC/GCF/LogSys/KVLogSys/src/Makefile.am +++ b/MAC/GCF/LogSys/KVLogSys/src/Makefile.am @@ -51,12 +51,9 @@ KeyValueLoggerMaster_LDADD = libkvlm.la $(LOFAR_DEPEND) KeyValueLoggerMaster_DEPENDENCIES = libkvlm.la $(LOFAR_DEPEND) KeyValueLoggerMaster_CPPFLAGS = $(libkvlm_la_CPPFLAGS) -BUILT_SOURCES = \ - KVL_Protocol.ph +BUILT_SOURCES = -EXTRA_DIST = $(BUILT_SOURCES) \ - KeyValueLoggerSys.conf.in \ - KeyValueLoggerSys.log_prop.in +EXTRA_DIST = KVL_Protocol.prot $(sysconf_DATA) sysconf_DATA= \ KeyValueLoggerDaemon.conf \ @@ -71,8 +68,5 @@ sysconf_DATA= \ %.log_prop: KeyValueLoggerSys.log_prop.in cp $< $@ -clean-local: - rm -f *.ph - include $(top_srcdir)/Makefile.common diff --git a/MAC/GCF/LogSys/configure.in b/MAC/GCF/LogSys/configure.in index 10d15dcb5ae7f38760013dfe2f6a74e69c7bd18d..658b9188c6f6c786ba4a7762304c4764ce81fa1f 100644 --- a/MAC/GCF/LogSys/configure.in +++ b/MAC/GCF/LogSys/configure.in @@ -3,7 +3,7 @@ dnl Process this file with autoconf to produce a configure script. dnl AC_INIT(include/GCF/LogSys/GCF_KeyValueLogger.h) AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE(GCFLogSys, 6.0, no-define) +AM_INIT_AUTOMAKE(GCFLogSys, 6.1, no-define) dnl Initialize for LOFAR (may set compilers) lofar_INIT diff --git a/MAC/GCF/Protocols/GCFProtocols.spec.in b/MAC/GCF/Protocols/GCFProtocols.spec.in index bbce95a9f76e6f84ecd188f611c14291a697930b..818ae01ff31e4e4b48ab353102b733f2950354c6 100644 --- a/MAC/GCF/Protocols/GCFProtocols.spec.in +++ b/MAC/GCF/Protocols/GCFProtocols.spec.in @@ -29,8 +29,8 @@ URL: http://www.astron.nl Prefix: %{prefix} BuildArchitectures: i386 # Target platforms, i.e., i586 Requires: Common >= 2.2 -Requires: GCFCommon >= 6.0 -Requires: GCFTM >= 6.0 +Requires: GCFCommon >= 6.1 +Requires: GCFTM >= 6.1 Requires: Transport >= 2.0 Packager: %{packager} Distribution: The LOFAR project diff --git a/MAC/GCF/Protocols/configure.in b/MAC/GCF/Protocols/configure.in index 7553121fc93552be83e92e99dd99550f43c1639c..eaec4bae18f4f1399e69d2814b1f899ec12949cc 100644 --- a/MAC/GCF/Protocols/configure.in +++ b/MAC/GCF/Protocols/configure.in @@ -3,7 +3,7 @@ dnl Process this file with autoconf to produce a configure script. dnl AC_INIT(src/DH_PIProtocol.h) AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE(GCFProtocols, 6.0, no-define) +AM_INIT_AUTOMAKE(GCFProtocols, 6.1, no-define) dnl Initialize for LOFAR (may set compilers) lofar_INIT diff --git a/MAC/GCF/Protocols/src/Makefile.am b/MAC/GCF/Protocols/src/Makefile.am index 8a952372d2e2287cbb1bb6c11961bab04b5526f4..fea6a65fc3f97b81e4ae67e3c34e2926d01b71f8 100644 --- a/MAC/GCF/Protocols/src/Makefile.am +++ b/MAC/GCF/Protocols/src/Makefile.am @@ -1,31 +1,30 @@ pkgincludedir = $(includedir)/GCF/Protocols -pkginclude_HEADERS = $(BUILT_SOURCES) \ +pkginclude_HEADERS = \ + PI_Protocol.ph \ + PA_Protocol.ph \ DH_PIProtocol.h AUTOGEN = autogen SUFFIXES = .ph - %.ph: %.prot $(AUTOGEN) --writable -L $(datadir)/GCF/TM $< DOCHDRS = $(pkginclude_HEADERS) -lib_LTLIBRARIES = libgcfpicepprot.la libgcfpirtcprot.la libgcfpaprot.la +lib_LTLIBRARIES = libgcfpirtcprot.la libgcfpaprot.la libgcfpicepprot.la libgcfpicepprot_la_SOURCES= $(DOCHDRS) \ DH_PIProtocol.cc -libgcfpirtcprot_la_SOURCES= $(DOCHDRS) \ +libgcfpirtcprot_la_SOURCES= $(DOCHDRS) \ PI_Protocol.cc libgcfpaprot_la_SOURCES= $(DOCHDRS) \ PA_Protocol.cc -BUILT_SOURCES = \ - PI_Protocol.ph \ - PA_Protocol.ph +BUILT_SOURCES = -EXTRA_DIST = $(BUILT_SOURCES) gcf-pi.conf.in +EXTRA_DIST = PI_Protocol.prot PA_Protocol.prot $(sysconf_DATA) sysconf_DATA= \ PropertyInterface.conf @@ -33,8 +32,5 @@ sysconf_DATA= \ %.conf: gcf-pi.conf.in cp $< $@ -clean-local: - rm -f *.ph - include $(top_srcdir)/Makefile.common diff --git a/MAC/GCF/TM/GCFTM.spec.in b/MAC/GCF/TM/GCFTM.spec.in index e0cbe34111728b8716bff39f2ce55a39a0166e3b..897b72555fe66d7b19efeb83de8b8750e91ca109 100644 --- a/MAC/GCF/TM/GCFTM.spec.in +++ b/MAC/GCF/TM/GCFTM.spec.in @@ -29,7 +29,7 @@ URL: http://www.astron.nl Prefix: %{prefix} BuildArchitectures: i386 # Target platforms, i.e., i586 Requires: Common >= 2.2 -Requires: GCFCommon >= 6.0 +Requires: GCFCommon >= 6.1 Packager: %{packager} Distribution: The LOFAR project Vendor: ASTRON @@ -136,6 +136,11 @@ fi # link the module to the correct path %post + f=%{prefix}/etc/ServiceBroker.conf; + hs=`hostname -s`; + h=`hostname`; + n=`sed -e "/mac.gcf.sb.host=/ s/\(.*\)=\(.*\)/\1=$hs/" -e "/mac.gcf.sb.range1.host=/ s/\(.*\)=\(.*\)/\1=$h/" $f`; + echo "$n" > $f # before uninstall %preun diff --git a/MAC/GCF/TM/configure.in b/MAC/GCF/TM/configure.in index e10735cf971e057ee22490037be1ec1e8451f39b..eec7b22ecdb7e1ee93fd25916551d5a78e6b7783 100644 --- a/MAC/GCF/TM/configure.in +++ b/MAC/GCF/TM/configure.in @@ -3,7 +3,7 @@ dnl Process this file with autoconf to produce a configure script. dnl AC_INIT(include/GCF/TM/GCF_Event.h) AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE(GCFTM, 6.0, no-define) +AM_INIT_AUTOMAKE(GCFTM, 6.1, no-define) dnl Initialize for LOFAR (may set compilers) lofar_INIT diff --git a/MAC/GCF/TM/src/Makefile.am b/MAC/GCF/TM/src/Makefile.am index 7a231df48a91cbad8e1d56ddb2b8e52d9ce8b80c..216ab39a93211976c82432d4cf20752516f1e955 100644 --- a/MAC/GCF/TM/src/Makefile.am +++ b/MAC/GCF/TM/src/Makefile.am @@ -16,7 +16,8 @@ DOCHDRS = \ PortImpl/GTM_ETHSocket.h \ PortImpl/GTM_Device.h \ ServiceBroker/GTM_SBTCPPort.h \ - ServiceBroker/GTM_ServiceBroker.h + ServiceBroker/GTM_ServiceBroker.h \ + SB_Protocol.ph lib_LTLIBRARIES = libgcftm.la @@ -46,10 +47,9 @@ libgcftm_la_CPPFLAGS=-I$(top_srcdir)/src/ServiceBroker libgcftm_la_CXXFLAGS=-fmessage-length=0 -BUILT_SOURCES = \ - SB_Protocol.ph +BUILT_SOURCES = -EXTRA_DIST = $(BUILT_SOURCES) mac.log_prop.in +EXTRA_DIST = $(sysconf_DATA) sysconf_DATA = \ mac.log_prop @@ -57,8 +57,5 @@ sysconf_DATA = \ %.log_prop: %.log_prop.in cp $< $@ -clean-local: - rm -f *.ph - include $(top_srcdir)/Makefile.common diff --git a/MAC/GCF/TM/src/ServiceBroker/Makefile.am b/MAC/GCF/TM/src/ServiceBroker/Makefile.am index bc5dfa6307409b7bd7731077f6f3df2ef612d106..a2514c2795ea40c9ce42a3acfcf69656573e39c2 100644 --- a/MAC/GCF/TM/src/ServiceBroker/Makefile.am +++ b/MAC/GCF/TM/src/ServiceBroker/Makefile.am @@ -22,14 +22,17 @@ ServiceBroker_CXXFLAGS=-fmessage-length=0 BUILT_SOURCES = -EXTRA_DIST = $(BUILT_SOURCES) gcf-sb.conf.in +EXTRA_DIST = SB_Protocol.prot $(sysconf_DATA) sysconf_DATA= \ ServiceBroker.conf install-data-local: - echo "mac.gcf.sb.host=`hostname -s`" >> $(DESTDIR)$(sysconfdir)/ServiceBroker.conf - echo "mac.gcf.sb.range1.host=`hostname`" >> $(DESTDIR)$(sysconfdir)/ServiceBroker.conf + f=$(DESTDIR)$(sysconfdir)/ServiceBroker.conf; \ + hs=`hostname -s`; \ + h=`hostname`; \ + n=`sed -e "/mac.gcf.sb.host=/ s/\(.*\)=\(.*\)/\1=$$hs/" -e "/mac.gcf.sb.range1.host=/ s/\(.*\)=\(.*\)/\1=$$h/" $$f`; \ + echo "$$n" > $$f; %.conf: gcf-sb.conf.in cp $< $@ diff --git a/MAC/GCF/TM/src/ServiceBroker/gcf-sb.conf.in b/MAC/GCF/TM/src/ServiceBroker/gcf-sb.conf.in index 67bc2fd7d873834b26f68b8e13c4c2a9761d169e..0231ac6dc6467c9544205940beeca82020ba7f0c 100644 --- a/MAC/GCF/TM/src/ServiceBroker/gcf-sb.conf.in +++ b/MAC/GCF/TM/src/ServiceBroker/gcf-sb.conf.in @@ -1,3 +1,5 @@ mac.gcf.sb.port=24000 mac.gcf.sb.range1.firstPortNumber=24001 mac.gcf.sb.range1.lastPortNumber=25000 +mac.gcf.sb.host= +mac.gcf.sb.range1.host= diff --git a/MAC/GCF/TM/test/Makefile.am b/MAC/GCF/TM/test/Makefile.am index 41c78fce38a4582427fc7e95da1e963442f3c891..1e5c4375e3982572b0582a35991a27376c8d74f3 100644 --- a/MAC/GCF/TM/test/Makefile.am +++ b/MAC/GCF/TM/test/Makefile.am @@ -1,24 +1,21 @@ bin_PROGRAMS = tmEcho tmPing -tmEcho_SOURCES = Echo.cc Echo_Protocol.cc Echo.h +tmEcho_SOURCES = Echo_Protocol.ph Echo_Protocol.cc Echo.cc Echo.h tmEcho_LDADD = ../src/libgcftm.la tmEcho_DEPENDENCIES = ../src/libgcftm.la $(LOFAR_DEPEND) -tmEcho_CPPFLAGS=-I$(top_srcdir)/include -tmPing_SOURCES = Ping.cc Echo_Protocol.cc Ping.h +tmPing_SOURCES = Echo_Protocol.ph Echo_Protocol.cc Ping.cc Ping.h tmPing_LDADD = ../src/libgcftm.la tmPing_DEPENDENCIES = ../src/libgcftm.la $(LOFAR_DEPEND) -tmPing_CPPFLAGS=-I$(top_srcdir)/include AUTOGEN = autogen SUFFIXES = .ph %.ph: %.prot $(AUTOGEN) --writable -L $(top_srcdir)/autogen $< -BUILT_SOURCES = \ - Echo_Protocol.ph +BUILT_SOURCES = -EXTRA_DIST = $(BUILT_SOURCES) tm-test.conf.in +EXTRA_DIST = Echo_Protocol.prot $(sysconf_DATA) sysconf_DATA=\ tmEcho.conf \ diff --git a/MAC/GCF/_PAL/GCFPAL.spec.in b/MAC/GCF/_PAL/GCFPAL.spec.in index ec88658130badc6dce93ad6ed6cc040e613293e7..78837052951ce6069eeb19e828ef7e36a3c8cbec 100644 --- a/MAC/GCF/_PAL/GCFPAL.spec.in +++ b/MAC/GCF/_PAL/GCFPAL.spec.in @@ -29,9 +29,9 @@ URL: http://www.astron.nl Prefix: %{prefix} BuildArchitectures: i386 # Target platforms, i.e., i586 Requires: Common >= 2.2 -Requires: GCFCommon >= 6.0 -Requires: GCFTM >= 6.0 -Requires: GCFProtocols >= 6.0 +Requires: GCFCommon >= 6.1 +Requires: GCFTM >= 6.1 +Requires: GCFProtocols >= 6.1 Requires: Transport >= 2.0 Packager: %{packager} Distribution: The LOFAR project diff --git a/MAC/GCF/_PAL/PA/src/Makefile.am b/MAC/GCF/_PAL/PA/src/Makefile.am index eb2e50755ad9e2f78a838bf6f1c932a2d9d2eff2..e49c6fdfda373674151d230c7cc165309c584c5a 100644 --- a/MAC/GCF/_PAL/PA/src/Makefile.am +++ b/MAC/GCF/_PAL/PA/src/Makefile.am @@ -13,7 +13,6 @@ libpa_la_SOURCES= $(DOCHDRS) \ GPA_RequestManager.cc \ GPA_Converter.cc -#libpa_la_CPPFLAGS= -I$(top_srcdir)/SAL/src bin_PROGRAMS = PropertyAgent @@ -24,8 +23,6 @@ PropertyAgent_LDADD = libpa.la $(LOFAR_DEPEND) \ PropertyAgent_DEPENDENCIES = libpa.la $(LOFAR_DEPEND) \ $(top_builddir)/SAL/src/libsal.la -#PropertyAgent_CPPFLAGS= -I$(top_srcdir)/SAL/src - AM_CPPFLAGS = -DLOFARLOGGER_SUBPACKAGE=\"PA\" -I$(top_srcdir)/SAL/src #in case of make install these files will be copied to the bindir beside the test apps @@ -36,7 +33,7 @@ configfiles_DATA= \ BUILT_SOURCES = -EXTRA_DIST = $(BUILT_SOURCES) $(configfiles_DATA) gcf-pa.conf.in +EXTRA_DIST = $(configfiles_DATA) $(sysconf_DATA) sysconf_DATA= \ PropertyAgent.conf diff --git a/MAC/GCF/_PAL/PML/src/Makefile.am b/MAC/GCF/_PAL/PML/src/Makefile.am index 3bc5a63a163db4389169a64a02938c946a6e8e08..e4bcd7948c7179ae354599f141edaf0616e2fad4 100644 --- a/MAC/GCF/_PAL/PML/src/Makefile.am +++ b/MAC/GCF/_PAL/PML/src/Makefile.am @@ -33,7 +33,7 @@ AM_CPPFLAGS = -DLOFARLOGGER_SUBPACKAGE=\"PML\" BUILT_SOURCES = -EXTRA_DIST = $(BUILT_SOURCES) gcf-pml.conf.in +EXTRA_DIST = $(sysconf_DATA) sysconf_DATA= \ gcf-pml.conf diff --git a/MAC/GCF/_PAL/SAL/test/Makefile.am b/MAC/GCF/_PAL/SAL/test/Makefile.am index 5200b5dca064a4749c80965ce3fccf8cae76bf5b..0775fbece6001e48de6a402ef8caa38405115204 100644 --- a/MAC/GCF/_PAL/SAL/test/Makefile.am +++ b/MAC/GCF/_PAL/SAL/test/Makefile.am @@ -4,11 +4,11 @@ check_PROGRAMS = salEcho salPing TESTS = #salEcho salPing -salEcho_SOURCES = Echo.cc Service.cc Echo_Protocol.cc +salEcho_SOURCES = Echo_Protocol.ph Echo.cc Service.cc Echo_Protocol.cc salEcho_LDADD = ../src/libsal.la $(LOFAR_DEPEND) salEcho_DEPENDENCIES = ../src/libsal.la $(LOFAR_DEPEND) -salPing_SOURCES = Ping.cc Echo_Protocol.cc +salPing_SOURCES = Echo_Protocol.ph Ping.cc Echo_Protocol.cc salPing_LDADD = ../src/libsal.la $(LOFAR_DEPEND) salPing_DEPENDENCIES = ../src/libsal.la $(LOFAR_DEPEND) @@ -17,10 +17,9 @@ SUFFIXES = .ph %.ph: %.prot $(AUTOGEN) --writable -L $(datadir)/GCF/TM $< -BUILT_SOURCES = \ - Echo_Protocol.ph +BUILT_SOURCES = -EXTRA_DIST = $(BUILT_SOURCES) sal-test.conf.in +EXTRA_DIST = Echo_Protocol.prot $(sysconf_DATA) sysconf_DATA= \ salEcho.conf \ @@ -29,9 +28,6 @@ sysconf_DATA= \ %.conf: sal-test.conf.in ln -sf $< $@ -clean-local: - rm -f *.ph - include $(top_srcdir)/Makefile.common diff --git a/MAC/GCF/_PAL/configure.in b/MAC/GCF/_PAL/configure.in index fe058a7bffe6f3d8f78dcbde182217fcca2ce3d1..d874899e723274d7f70c470ad131069e0ce7d4ca 100644 --- a/MAC/GCF/_PAL/configure.in +++ b/MAC/GCF/_PAL/configure.in @@ -3,7 +3,7 @@ dnl Process this file with autoconf to produce a configure script. dnl AC_INIT(include/GCF/PAL/GCF_Property.h) AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE(GCFPAL, 6.0, no-define) +AM_INIT_AUTOMAKE(GCFPAL, 6.1, no-define) dnl Initialize for LOFAR (may set compilers) lofar_INIT diff --git a/MAC/GCF/_PALlight/GCFPALlight.spec.in b/MAC/GCF/_PALlight/GCFPALlight.spec.in index 955bf367093dbabffbe264601c88c8dc35e5b6cb..8992d99a3ca79ba1118e82fdd5e22fbc6f61215a 100644 --- a/MAC/GCF/_PALlight/GCFPALlight.spec.in +++ b/MAC/GCF/_PALlight/GCFPALlight.spec.in @@ -29,10 +29,10 @@ URL: http://www.astron.nl Prefix: %{prefix} BuildArchitectures: i386 # Target platforms, i.e., i586 Requires: Common >= 2.2 -Requires: GCFCommon >= 6.0 -Requires: GCFTM >= 6.0 -Requires: GCFProtocols >= 6.0 -Requires: GCFPAL >= 6.0 +Requires: GCFCommon >= 6.1 +Requires: GCFTM >= 6.1 +Requires: GCFProtocols >= 6.1 +Requires: GCFPAL >= 6.1 Requires: Transport >= 2.0 Packager: %{packager} Distribution: The LOFAR project diff --git a/MAC/GCF/_PALlight/PMLlight/src/Makefile.am b/MAC/GCF/_PALlight/PMLlight/src/Makefile.am index 78c4804d5f3f1e091636ac26b0af4e98a080764a..fa3f0d1bcf1d9b7a79461b1b259822cfde27b043 100644 --- a/MAC/GCF/_PALlight/PMLlight/src/Makefile.am +++ b/MAC/GCF/_PALlight/PMLlight/src/Makefile.am @@ -19,7 +19,7 @@ libgcfpallight_la_DEPENDENCIES= libpmllight.la $(LOFAR_DEPEND) AM_CPPFLAGS = -DLOFARLOGGER_SUBPACKAGE=\"RTC\" -EXTRA_DIST= $(configfiles_DATA) gcf-pmllight.conf.in +EXTRA_DIST= $(configfiles_DATA) $(sysconf_DATA) sysconf_DATA= \ gcf-pmllight.conf diff --git a/MAC/GCF/_PALlight/configure.in b/MAC/GCF/_PALlight/configure.in index 47c0f07efeb9a086e2734b12797309b39efbae25..77d9e52a436214adfe277227f4f148e005f78f26 100644 --- a/MAC/GCF/_PALlight/configure.in +++ b/MAC/GCF/_PALlight/configure.in @@ -3,7 +3,7 @@ dnl Process this file with autoconf to produce a configure script. dnl AC_INIT(include/GCF/PALlight/GCF_RTMyProperty.h) AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE(GCFPALlight, 6.0, no-define) +AM_INIT_AUTOMAKE(GCFPALlight, 6.1, no-define) dnl Initialize for LOFAR (may set compilers) lofar_INIT