1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- XCOMM $TOG: Imakefile /main/1 1998/03/11 16:08:16 mgreess $
- TOOL_DIR = ../../dbTools
- DATABASE_DIR = ../../../../databases
- #ifdef HPArchitecture
- PLATFORM = hp-ux
- #endif
- #ifdef LinuxArchitecture
- PLATFORM = linux
- #endif
- #ifdef FreeBSDArchitecture
- PLATFORM = freebsd
- #endif
- #ifdef OpenBSDArchitecture
- PLATFORM = openbsd
- #endif
- #ifdef RsArchitecture
- PLATFORM = aix
- #endif
- #ifdef SunArchitecture
- PLATFORM = sun
- .NO_PARALLEL:
- #endif
- #ifdef USLArchitecture
- PLATFORM = usl
- #endif
- #ifdef UXPArchitecture
- PLATFORM = uxp
- #endif
- UDBTOANY = $(KORNSHELL) $(TOOL_DIR)/udbToAny.ksh
- BUILD_UDB_LIST = $(SHELL) ../build_udb_list
- all::
- configMin:: $(DATABASE_DIR)/CDE-MIN.udb
- $(UDBTOANY) -toLst -ReleaseStream $(PLATFORM) \
- $(DATABASE_DIR)/CDE-MIN.udb > CDE-MIN.lst
- $(BUILD_UDB_LIST) CDE-MIN ../../../..
- configTT:: $(DATABASE_DIR)/CDE-TT.udb
- $(UDBTOANY) -toLst -ReleaseStream $(PLATFORM) \
- $(DATABASE_DIR)/CDE-TT.udb > CDE-TT.lst
- $(BUILD_UDB_LIST) CDE-TT ../../../..
- configRun:: $(DATABASE_DIR)/CDE-RUN.udb
- $(UDBTOANY) -toLst -ReleaseStream $(PLATFORM) \
- $(DATABASE_DIR)/CDE-RUN.udb > CDE-RUN.lst
- $(BUILD_UDB_LIST) CDE-RUN ../../../..
- configShlibs:: $(DATABASE_DIR)/CDE-SHLIBS.udb
- $(UDBTOANY) -toLst -ReleaseStream $(PLATFORM) \
- $(DATABASE_DIR)/CDE-SHLIBS.udb > CDE-SHLIBS.lst
- $(BUILD_UDB_LIST) CDE-SHLIBS ../../../..
- LOCAL_CPP_DEFINES = -DCDE_INSTALLATION_TOP=$(CDE_INSTALLATION_TOP) \
- -DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP) \
- -DCDE_LOGFILES_TOP=$(CDE_LOGFILES_TOP)
- AllTarget(configShlibs configTT configRun configMin)
- CppScriptTarget(configShlibs,configShlibs.src,$(LOCAL_CPP_DEFINES),)
- CppScriptTarget(configTT,configTT.src,$(LOCAL_CPP_DEFINES),)
- CppScriptTarget(configRun,configRun.src,$(LOCAL_CPP_DEFINES),)
- CppScriptTarget(configMin,configMin.src,$(LOCAL_CPP_DEFINES),)
- clean::
- $(RM) *.lst *.list
|