diff --git a/FCLT.NMK b/FCLT.NMK index 8c3f12fb..e8abe403 100644 --- a/FCLT.NMK +++ b/FCLT.NMK @@ -3,49 +3,49 @@ ## ## Project: FACILITOR ## -## (c) 1996-2019 Aareon Nederland B.V. +## (c) 1996-2022 Aareon Nederland B.V. ## ## Auteur: Ir. P.G. Feij ## $Revision$ ## $Id$ ## -## Beschrijving: -## -## Makefile for SQL-DDL scripts for Oracle +## Makefile for SQL-DDL scripts for Oracle/Facilitor ## Generates some scripts like FILE.SQL and FILE_.SQL ## where FILE is the (wrapped) runtime version ## and FILE_ is the unwrapped version to be archived ## +## Create intial scripts as well as the latest upgrade ## ############################################################################### -## REQUIRES: (in searchpath) +## REQUIRES: ## ## NMAKE.EXE (requires NMAKE.EXE) ## Microsoft (R) Program Maintainance Utility Version 1.11 ## CL.EXE ## Microsoft (R) C Optimizing Compiler Version 6.00A ## -for precompiling only- -## WRAP.EXE (from 10.2.x or better) for Oracle +## WRAP.EXE (12.1.0.2.0 or better) from Oracle +** needs to be available in searchpath (by Oracle Client Installer) ## ## SED.EXE ## GNU sed version 4.2 ## Copyright (C) 2003 Free Software Foundation, Inc. ## -## All to be found in ..\MAKTOOLS +## Some of these to be found in ..\MAKTOOLS ## ## Uses (external) defines: None ## ## Note: If new modules are added, all source have to be mentioned separately, -## which is quite obvious from the current state of this file.. +## which is quite obvious from the existing usage in this file.. ## -## Note: For each new schema version the from and to version must be +## Note: For each new schema version (release) the from and to version must be ## mentioned explicitly, which is a pity but it makes sense too ## ############################################################################### ## ## Steps performed are: ## All files are preprocessed using intermediate temp files - +## and then combined into final scripts. ############# ## @@ -60,8 +60,8 @@ PROJEXE=z:\Project\FACILITOR\BUILD ## ## New style using schemanumbers ## -CURRENTVERSION=39 -NEXTVERSION=40f +CURRENTVERSION=42 +NEXTVERSION=43 FILEVERSION= NEXTCAREVERSION=37 NEXTROOT=DB$(NEXTVERSION)$(FILEVERSION) @@ -86,7 +86,8 @@ EXE=$(PROJEXE) ### TOOL DEFINES (gets info from OS-environment) ### PRECOMP=$(MAKTOOLS)\CL -WRAP1=$(MAKTOOLS)\WRAP.EXE +## WRAP1=$(MAKTOOLS)\WRAP.EXE +WRAP1=WRAP.EXE PRECOMP_OPTIONS=/EP /D_VER=$(CURRENTUPDATE)$(FILEVERSION) /D_DBV=$(NEXTVERSION)$(FILEVERSION) CLEANUP1=$(MAKTOOLS)\sedclean.bat @@ -174,6 +175,7 @@ $(EXE)\$(NEXTROOT)\FCLT$(NEXTVERSION)$(FILEVERSION).SQL: \ $(MSRC)\ctr\ctr_tab.src \ $(MSRC)\ctr\ctr_tri.src \ $(MSRC)\ctr\ctr_vie.src \ + $(MSRC)\ctr\ctr_lcl.src \ $(MSRC)\fac\fac_ind.src \ $(MSRC)\fac\fac_ini.src \ $(MSRC)\fac\fac_lcl.src \ @@ -268,8 +270,8 @@ $(EXE)\$(NEXTROOT)\FCLT$(NEXTVERSION)$(FILEVERSION).SQL: \ $(PRECOMP) $(PRECOMP_OPTIONS) $(MSRC)\fclt.src>$(TEMP)\$(*B)_.sql $(CLEANUP1) $(TEMP)\$(*B)_.sql COPY $(TEMP)\$(*B)_.sql $(EXE)\$(NEXTROOT)\FCLT$(NEXTVERSION)$(FILEVERSION)_.SQL -## $(WRAP1) iname=$(TEMP)\$(*B)_.sql oname=$(TEMP)\$(*B).sql -## COPY $(TEMP)\$(*B).sql $(EXE)\$(NEXTROOT)\FCLT$(NEXTVERSION)$(FILEVERSION).SQL + $(WRAP1) iname=$(TEMP)\$(*B)_.sql oname=$(TEMP)\$(*B).sql + COPY $(TEMP)\$(*B).sql $(EXE)\$(NEXTROOT)\FCLT$(NEXTVERSION)$(FILEVERSION).SQL $(MSRC)\fac\_fac_lclmdl.src: \ $(MSRC)\fac\fac_lclmdl.csv @@ -307,7 +309,6 @@ $(EXE)\$(NEXTROOT)\RECRE$(NEXTVERSION)$(FILEVERSION).SQL: \ $(WRAP1) iname=$(TEMP)\$(*B)_.sql oname=$(TEMP)\$(*B).sql COPY $(TEMP)\$(*B).sql $(EXE)\$(NEXTROOT)\RECRE$(NEXTVERSION)$(FILEVERSION).SQL - ########################################################################## #### #### FACILITOR CARE-WEBB EXTENSION