395 lines
12 KiB
C
395 lines
12 KiB
C
/*
|
|
* MODULEDEFINITIES
|
|
*
|
|
* Beschikbare targets (in environment variable 'cust'):
|
|
* ALL - Alles (exclusief data)
|
|
* ACH - Akzo Chemicals Hengelo
|
|
* BCO - BCO * VERVALLEN* zie SM45
|
|
* DAT - Alleen data
|
|
* DYK - Dijkoraad * DE STANDAARD FACILITOR(R) *
|
|
* IBG - Informatie Beheer Groep (Groningen)
|
|
* NAT - NATCO (Service Desk)
|
|
* PMK - Prinses Margriet Kazerne (DGW&T) (LET OP: 'DATA' STAAT UIT!)
|
|
* RHY - Rijkshogeschool IJselland (Deventer)
|
|
* SON - Sonneheerdt (Ermelo)
|
|
* RAB - Rabobank (Deventer)
|
|
* GMS - Akzo (Arnhem)
|
|
*
|
|
* Beschikbare modules voor targets:
|
|
* ALG - Algemeen (onroerend goed)
|
|
* AKZ - AKZO-specifieke importzaken
|
|
* ARB - ARBO (deel van MARS)
|
|
* ATT - Attributen module
|
|
* BCO - Correctief (NIET MEER VAN TOEPASSING: ZIE SM45!)
|
|
* BCP - Preventief (NIET MEER VAN TOEPASSING: ZIE SM45!)
|
|
* BEB - Bebis functionaliteit
|
|
* BIS - Bodem Informatie Systeem functionaliteit
|
|
* CAD - AutoCAD koppeling
|
|
* FAC - Basismodule (altijd aanwezig)
|
|
* HUI - Huismeester module
|
|
* INB - Installaties (bibliotheek)
|
|
* INR - Installaties (registratie)
|
|
* INS - Installaties (tabellen, ook voor INV nodig!)
|
|
* INV - Inventaris (OBSOLETE)
|
|
* LEV - Leveringen
|
|
* MIL - Milieu (deel van MARS)
|
|
* MLD - Meldingen (basis)
|
|
* MRA - MARS (Milieu en ARBO Registratie Systeem)
|
|
* PRR - Personen (registratie)
|
|
* PRS - Personen (kleine basisset tbv. Meldingen)
|
|
* RAP - Rapport module (geen src voor nodig)
|
|
* SCH - Schoonmaak
|
|
* SLE - Sleutelplan
|
|
*
|
|
* COA - ContourA beschikbaar (OBSOLETE)
|
|
* DATA - Data voor diverse modules inserten
|
|
*
|
|
* ACAD - een vorm van CAD beschikbaar (zie volgende lijst:)
|
|
* ACAD12 - AutoCAD versie 12 voor Windows beschikbaar
|
|
* ACAD13 - AutoCAD versie 13 voor Windows beschikbaar
|
|
* ACVQ - AutoCAD/VQ beschikbaar
|
|
* AVIEW - Autodesk View beschikbaar
|
|
*
|
|
* History:
|
|
*
|
|
* 07-12-98 PF CUSTomer RHY aangepast: geen INV, wel INB/INR/INS en CAD
|
|
* 04-12-98 PF CUSTomer DYK aangepast; ook zonder PRx en SLE
|
|
* 27-11-98 PF CUSTomer DYK aangepast; is nu DE standaard
|
|
* --- 01.40 ---
|
|
* --- 01.39 ---
|
|
* 31-07-98 PF INB voor ACH toegevoegd (voor CAD_TEKENING etc)
|
|
* --- 01.38 ---
|
|
* --- 01.37 ---
|
|
* 22-05-98 KTH LOG#1821: Module CAD bij ALL, ACH en GMS toegevoegd
|
|
* 14-05-98 KTH Module SCH bij GMS verwijderd (krijgen een eigen 'SCH')
|
|
* --- 01.36 ---
|
|
* 06-05-98 KTH Module BIS toegevoegd aan CUST=ALL
|
|
* --- 01.35 ---
|
|
* 12-03-98 KTH CUST=ACH toegevoegd met modules ALG,FAC,BIS
|
|
* --- 01.34 ---
|
|
* 26/02/1998 AH Bij CUST=ALL ook AKZ toegevoegd
|
|
* 19/02/1998 AH #define AKZ toegevoeg.
|
|
* 06/01/1998 AH Target GMS (Akzo) toegevoegd
|
|
* --- 01.33 ---
|
|
* 02-09-97 KTH Overbodig:
|
|
* - BCO: uitgecommentarieerd
|
|
* Tbv CAD-beschrijving in Help en Doc:
|
|
* - ALL: #defines ACAD12,ACAD13,ACVQ,AVIEW toegevoegd
|
|
* - DYK: #defines ACAD12,ACAD13 toegevoegd
|
|
* - IBG: #defines ACAD13,AVIEW toegevoegd (tbv Help/doc)
|
|
* - PMK: #define ACVQ toegevoegd
|
|
* - RHY: #define ACAD12 toegevoegd
|
|
* - SON: #define ACVQ toegevoegd
|
|
* - RAB: #defines ACAD13,AVIEW toegevoegd
|
|
* --- 01.32 ---
|
|
* 19-08-97 KTH Module ATT toegevoegd aan IBG (cf RAB)
|
|
* --- 01.31 ---
|
|
* --- 01.30 ---
|
|
* --- 01.29 ---
|
|
* --- 01.28 ---
|
|
* 03-07-97 KTH Module ACAD toegevoegd aan IBG
|
|
* 23-04-96 KTH Target IBG toegevoegd: ALG,COA,DATA,FAC,INS,INB,INR,MLD,PRR,
|
|
* PRS,SCH
|
|
* --- 01.27 ---
|
|
* 16-04-97 KTH module DATA aan BBS toegevoegd
|
|
* --- 01.26 ---
|
|
* 14-04-97 AH RAB-target: ATT-module toegevoegd
|
|
* 01-04-97 AH RAB-target toegevoegd
|
|
* --- 01.25 ---
|
|
* --- 01.24 ---
|
|
* --- 01.23 ---
|
|
* 11-11-96/KTH DYK; verwijderd: BCO,BCP,INR,HUI,MRA (maw. SON+RHY funct.)
|
|
* --- 01.22 ---
|
|
* 08-11-96 KTH - Geen SCH voor NAT
|
|
* - commentaar betreffende PRR toegevoegd bij NAT
|
|
* --- 01.21 ---
|
|
* 21-10-96 KTH BEB aan customer ALL toegevoegd
|
|
* 16-10-96 KTH Customer BBS toegevoegd en module BEB
|
|
* 10-10-96 KTH _BUILDTAGS uitbreiden met MAN voor MANUAL (wordt overgelsagen
|
|
* voor Help)
|
|
* 09-10-96 KTH MANUAL en PICTURES defineren wanneer MAN gedefinieerd is
|
|
* 08-10-96 KTH - Module COA (ContourA) toegevoegd voor ALL,DYK en RHY
|
|
* - _CUSTHELPDIR overbodig
|
|
* 25-09-96 KTH _CUSTHELPDIR geintroduceerd voor Help
|
|
* 24-09-96 KTH Module BEV weer verwijderd
|
|
* 23-09-96 PF SCH aan NAT toegevoegd.. (tijdelijk?)
|
|
* --- 01.20 ---
|
|
* 17-09-96 KTH Modules ARB en MIL toegevoegd tbv. MARS-Help
|
|
* 16-09-96 KTH Module INR verwijderd voor PMK (MARS)
|
|
* 16-09-96 KTH #define ACAD toegevoegd waar relevant ivm. Help
|
|
* --- 01.19 ---
|
|
* 27-08-96 KTH Voor NAT: HUI bij buildtags erbij, ATT weg
|
|
* 30-07-96 KTH Module BEV toegevoegd
|
|
* --- 01.18 ---
|
|
* --- 01.17 ---
|
|
* 21-06-96 KTH Module HUI uit commentaar gehaald en toegevoegd aan DYK
|
|
* 10-06-96 KTH [#609] Modules HUI en RAP toegevoegd
|
|
* --- 01.16 ---
|
|
* 05-06-96 KTH Module ATT voor Dijkoraad uitgecommentarieerd (nog niet klaar)
|
|
* 04-06-96 KTH INB wordt installaties (bibliotheek)
|
|
* 03-06-96 PF ATT bij NAT verwijderd
|
|
* 03-06-96 KTH Target DYK (Dijkoraad) toegevoegd
|
|
* --- 01.15 ---
|
|
* 15-05-96 PF target NAT added
|
|
* 03-05-96 PF #elsif replaced by #elif
|
|
* 03-05-96 PF Remark: target replaced by cust in this file (line 4)
|
|
* 01-05-96 KTH - Modules ATT en LEV toegevoegd aan target ALL
|
|
* - #elsif gebruiken anders gaat het voor BCO 2 keer en krijg je
|
|
* alsnog DATA
|
|
* 22-04-96 KTH Define _BUILDTAGS toegevoegd voor precompile-slag voor Help
|
|
* 19-04-96 KTH - SCH toegevoegd aan RHY
|
|
* - alle uit te voeren defines definieren zichzelf weer
|
|
* ivm. mogelijk ongewenste tekst-substituties
|
|
* --- 01.14 ---
|
|
* 16-04-96 KTH - INR toegevoegd aan target PMK
|
|
* - DATA uit voor PMK
|
|
* 11-04-96 KTH Target BCO toegevoegd
|
|
* --- 01.13 ---
|
|
* --- 01.12 ---
|
|
* 03-04-96 KTH Target DAT toegevoegd
|
|
* 20-03-96 KTH Targets SON, RHY en PMK toegevoegd
|
|
*/
|
|
|
|
#ifdef MAN
|
|
#define MANUAL MANUAL
|
|
#define PICTURES PICTURES
|
|
#endif
|
|
|
|
/* ALL - Alle modules */
|
|
#if defined(ALL)||defined(all)
|
|
#ifdef MAN
|
|
#define _BUILDTAGS MAN|ACAD|ACAD12|ACAD13|ACVQ|AVIEW|ALG|ATT|BCO|BCP|BEB|BIS|CAD|COA|FAC|HUI|INB|INR|INS|INV|LEV|MLD|MRA|PRR|PRS|RAP|SCH|SLE
|
|
#else
|
|
#define _BUILDTAGS ACAD|ACAD12|ACAD13|ACVQ|AVIEW|ALG|ATT|BCO|BCP|BEB|BIS|CAD|COA|FAC|HUI|INB|INR|INS|INV|LEV|MLD|MRA|PRR|PRS|RAP|SCH|SLE
|
|
#endif
|
|
#define ACAD ACAD
|
|
#define ACAD12 ACAD12
|
|
#define ACAD13 ACAD13
|
|
#define ACVQ ACVQ
|
|
#define AVIEW AVIEW
|
|
#define ALG ALG
|
|
#define ATT ATT
|
|
#define BCO BCO
|
|
#define BCP BCP
|
|
#define BEB BEB
|
|
#define BIS BIS
|
|
#define CAD CAD
|
|
#define COA COA
|
|
#define FAC FAC
|
|
#define HUI HUI
|
|
#define INB INB
|
|
#define INR INR
|
|
#define INS INS
|
|
#define INV INV
|
|
#define LEV LEV
|
|
#define MLD MLD
|
|
#define MRA MRA
|
|
#define PRR PRR
|
|
#define PRS PRS
|
|
#define RAP RAP
|
|
#define SCH SCH
|
|
#define SLE SLE
|
|
#define AKZ AKZ
|
|
/* #define DATA DATA */
|
|
|
|
/* ACH - Akzo Chemicals Hengelo */
|
|
#elif defined(ACH)||defined(ach)
|
|
#ifdef MAN
|
|
#define _BUILDTAGS MAN|ALG|BIS|CAD|FAC
|
|
#else
|
|
#define _BUILDTAGS ALG|BIS|CAD|FAC
|
|
#endif
|
|
#define ALG ALG
|
|
#define CAD CAD
|
|
#define FAC FAC
|
|
#define BIS BIS
|
|
#define INS INS
|
|
#define DATA DATA
|
|
|
|
|
|
/* BBS - Bebis */
|
|
#elif defined(BBS)||defined(bbs)
|
|
#ifdef MAN
|
|
#define _BUILDTAGS MAN|ALG|BEB|FAC|INB|INR|INS
|
|
#else
|
|
#define _BUILDTAGS ALG|BEB|FAC|INB|INR|INS
|
|
#endif
|
|
#define ALG ALG
|
|
#define BEB BEB
|
|
#define FAC FAC
|
|
#define INS INS
|
|
#define INR INR
|
|
#define INB INB
|
|
#define DATA DATA
|
|
|
|
/* DAT - Data */
|
|
#elif defined(DAT)||defined(dat)
|
|
#define DATA DATA
|
|
|
|
/* DYK - Dijkoraad IT: STANDAARD FACILITOR */
|
|
#elif defined(DYK)||defined(dyk)
|
|
#ifdef MAN
|
|
#define _BUILDTAGS MAN|ACAD|ACAD14|AVIEW|ALG|ATT|CAD|FAC|INB|INR|INS
|
|
#else
|
|
#define _BUILDTAGS ACAD|ACAD14|AVIEW|ALG|ATT|CAD|FAC|INB|INR|INS
|
|
#endif
|
|
#define ACAD ACAD
|
|
#define ACAD14 ACAD14
|
|
#define AVIEW AVIEW
|
|
#define ALG ALG
|
|
#define ATT ATT
|
|
#define CAD CAD
|
|
#define FAC FAC
|
|
#define INB INB
|
|
#define INR INR
|
|
#define INS INS
|
|
#define DATA DATA
|
|
|
|
/* GMS - Akzo Arnhem */
|
|
#elif defined(GMS)||defined(gms)
|
|
#ifdef MAN
|
|
#define _BUILDTAGS MAN|ACAD|ACAD14|AVIEW|ALG|ATT|CAD|COA|FAC|INB|INR|INS|MLD|PRR|PRS|SLE
|
|
#else
|
|
#define _BUILDTAGS ACAD|ACAD14|AVIEW|ALG|ATT|CAD|COA|FAC|INB|INR|INS|MLD|PRR|PRS|SLE
|
|
#endif
|
|
#define ACAD ACAD
|
|
#define ACAD14 ACAD14
|
|
#define AVIEW AVIEW
|
|
#define ALG ALG
|
|
#define AKZ AKZ /* inclusief de AKZ-specifieke 'SCH' */
|
|
#define ATT ATT
|
|
#define CAD CAD
|
|
#define COA COA
|
|
#define FAC FAC
|
|
#define INB INB
|
|
#define INR INR
|
|
#define INS INS
|
|
#define MLD MLD
|
|
#define PRR PRR
|
|
#define PRS PRS
|
|
#define SLE SLE
|
|
#define DATA DATA
|
|
|
|
/* IBG - Informatie Beheer Groep */
|
|
#elif defined(IBG)||defined(ibg)
|
|
#ifdef MAN
|
|
#define _BUILDTAGS MAN|ACAD|ACAD13|AVIEW|ALG|ATT|COA|FAC|INB|INR|INS|MLD|PRR|PRS|SCH
|
|
#else
|
|
#define _BUILDTAGS ACAD|ACAD13|AVIEW|ALG|ATT|COA|FAC|INB|INR|INS|MLD|PRR|PRS|SCH
|
|
#endif
|
|
#define ACAD ACAD
|
|
#define ACAD13 ACAD13
|
|
#define AVIEW AVIEW
|
|
#define ALG ALG
|
|
#define ATT ATT
|
|
#define COA COA
|
|
#define FAC FAC
|
|
#define INB INB
|
|
#define INR INR
|
|
#define INS INS
|
|
#define MLD MLD
|
|
#define PRR PRR
|
|
#define PRS PRS
|
|
#define SCH SCH
|
|
#define DATA DATA
|
|
|
|
/* NAT - NatCo:ServiceDesk */
|
|
#elif defined(NAT)||defined(nat)
|
|
#ifdef MAN
|
|
#define _BUILDTAGS MAN|ALG|FAC|HUI|INS|INV|LEV|PRS
|
|
#else
|
|
#define _BUILDTAGS ALG|FAC|HUI|INS|INV|LEV|PRS
|
|
#endif
|
|
#define ALG ALG
|
|
#define FAC FAC
|
|
#define HUI HUI
|
|
#define INS INS /* alleen tabellen voor INV */
|
|
#define INV INV
|
|
#define LEV LEV
|
|
#define PRS PRS
|
|
/* 08-11-96/KTH
|
|
* Let op: geen PRR nodig, wordt met '#ifdef HUI' gerealiseerd, ervan
|
|
* uitgaande dat PRR-tabellen beschikbaar zijn wanneer PRS is gedefinieerd
|
|
*/
|
|
#define DATA DATA
|
|
|
|
/* PMK - Prinses Margriet Kazerne */
|
|
#elif defined(PMK)||defined(pmk)
|
|
#ifdef MAN
|
|
#define _BUILDTAGS MAN|ACAD|ACVQ|ARB|ALG|FAC|INB|INS|MIL|MLD|MRA|PRS
|
|
#else
|
|
#define _BUILDTAGS ACAD|ACVQ|ARB|ALG|FAC|INB|INS|MIL|MLD|MRA|PRS
|
|
#endif
|
|
#define ACAD ACAD
|
|
#define ACVQ ACVQ
|
|
#define ALG ALG
|
|
#define ARB ARB
|
|
#define FAC FAC
|
|
#define INB INB
|
|
#define INS INS
|
|
#define MLD MLD
|
|
#define MIL MIL
|
|
#define MRA MRA
|
|
#define PRS PRS
|
|
#define DATA DATA
|
|
|
|
/* RHY - Rijkshogeschool IJselland */
|
|
#elif defined(RHY)||defined(rhy)
|
|
#ifdef MAN
|
|
#define _BUILDTAGS MAN|ACAD|ALG|CAD|FAC|INB|INR|INS|PRR|PRS|SCH|SLE
|
|
#else
|
|
#define _BUILDTAGS ACAD|ALG|CAD|FAC|INB|INR|INS|PRR|PRS|SCH|SLE
|
|
#endif
|
|
#define ACAD ACAD
|
|
#define ALG ALG
|
|
#define CAD CAD
|
|
#define FAC FAC
|
|
#define INB INB
|
|
#define INR INR
|
|
#define INS INS
|
|
#define PRR PRR
|
|
#define PRS PRS
|
|
#define SCH SCH
|
|
#define SLE SLE
|
|
#define DATA DATA
|
|
|
|
/* SON - Sonneheerdt */
|
|
#elif defined(SON)||defined(son)
|
|
#ifdef MAN
|
|
#define _BUILDTAGS MAN|ACAD|ACVQ|ALG|FAC|INB|INS|MLD|PRS
|
|
#else
|
|
#define _BUILDTAGS ACAD|ACVQ|ALG|FAC|INB|INS|MLD|PRS
|
|
#endif
|
|
#define ACAD ACAD
|
|
#define ACVQ ACVQ
|
|
#define ALG ALG
|
|
#define FAC FAC
|
|
#define INB INB /* geen registratie */
|
|
#define INS INS
|
|
#define MLD MLD
|
|
#define PRS PRS
|
|
#define DATA DATA
|
|
|
|
/* RAB - Rabobank */
|
|
#elif defined(RAB)||defined(rab)
|
|
#ifdef MAN
|
|
#define _BUILDTAGS MAN|ACAD|ACAD13|AVIEW|ALG|ATT|FAC|INB|INR|INS|MLD|PRS|SLE
|
|
#else
|
|
#define _BUILDTAGS ACAD|ALG|ACAD13|AVIEW|ATT|FAC|INB|INR|INS|MLD|PRS|SLE
|
|
#endif
|
|
#define ACAD ACAD
|
|
#define ACAD13 ACAD13
|
|
#define AVIEW AVIEW
|
|
#define ALG ALG
|
|
#define ATT ATT
|
|
#define FAC FAC
|
|
#define INB INB
|
|
#define INR INR
|
|
#define INS INS
|
|
#define MLD MLD
|
|
#define PRS PRS
|
|
#define SLE SLE
|
|
#define DATA DATA
|
|
|
|
#endif
|