1 XCOMM $TOG: Imakefile /main/1 1998/03/11 16:08:16 mgreess $
2 TOOL_DIR = ../../dbTools
3 DATABASE_DIR = ../../../../databases
8 #ifdef LinuxArchitecture
11 #ifdef FreeBSDArchitecture
17 #ifdef SunArchitecture
21 #ifdef USLArchitecture
24 #ifdef UXPArchitecture
28 UDBTOANY = $(KORNSHELL) $(TOOL_DIR)/udbToAny.ksh
29 BUILD_UDB_LIST = $(SHELL) ../build_udb_list
33 configMin:: $(DATABASE_DIR)/CDE-MIN.udb
34 $(UDBTOANY) -toLst -ReleaseStream $(PLATFORM) \
35 $(DATABASE_DIR)/CDE-MIN.udb > CDE-MIN.lst
36 $(BUILD_UDB_LIST) CDE-MIN ../../../..
38 configTT:: $(DATABASE_DIR)/CDE-TT.udb
39 $(UDBTOANY) -toLst -ReleaseStream $(PLATFORM) \
40 $(DATABASE_DIR)/CDE-TT.udb > CDE-TT.lst
41 $(BUILD_UDB_LIST) CDE-TT ../../../..
43 configRun:: $(DATABASE_DIR)/CDE-RUN.udb
44 $(UDBTOANY) -toLst -ReleaseStream $(PLATFORM) \
45 $(DATABASE_DIR)/CDE-RUN.udb > CDE-RUN.lst
46 $(BUILD_UDB_LIST) CDE-RUN ../../../..
48 configShlibs:: $(DATABASE_DIR)/CDE-SHLIBS.udb
49 $(UDBTOANY) -toLst -ReleaseStream $(PLATFORM) \
50 $(DATABASE_DIR)/CDE-SHLIBS.udb > CDE-SHLIBS.lst
51 $(BUILD_UDB_LIST) CDE-SHLIBS ../../../..
53 LOCAL_CPP_DEFINES = -DCDE_INSTALLATION_TOP=$(CDE_INSTALLATION_TOP) \
54 -DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP) \
55 -DCDE_LOGFILES_TOP=$(CDE_LOGFILES_TOP)
57 AllTarget(configShlibs configTT configRun configMin)
59 CppScriptTarget(configShlibs,configShlibs.src,$(LOCAL_CPP_DEFINES),)
60 CppScriptTarget(configTT,configTT.src,$(LOCAL_CPP_DEFINES),)
61 CppScriptTarget(configRun,configRun.src,$(LOCAL_CPP_DEFINES),)
62 CppScriptTarget(configMin,configMin.src,$(LOCAL_CPP_DEFINES),)