installCDE.src: remove duplicate code
[oweals/cde.git] / cde / admin / IntegTools / post_install / freebsd / Imakefile
1 XCOMM $TOG: Imakefile /main/1 1998/03/11 16:08:16 mgreess $
2 TOOL_DIR = ../../dbTools
3 DATABASE_DIR = ../../../../databases
4
5 #ifdef HPArchitecture
6 PLATFORM = hp-ux
7 #endif
8 #ifdef LinuxArchitecture
9 PLATFORM = linux
10 #endif
11 #ifdef FreeBSDArchitecture
12 PLATFORM = freebsd
13 #endif
14 #ifdef RsArchitecture
15 PLATFORM = aix
16 #endif
17 #ifdef SunArchitecture
18 PLATFORM = sun
19 .NO_PARALLEL:
20 #endif
21
22 UDBTOANY = $(KORNSHELL) $(TOOL_DIR)/udbToAny.ksh
23 BUILD_UDB_LIST = $(SHELL) ../build_udb_list
24
25
26 all::
27
28 DoUDB_SCRIPT4(configMin,CDE-MIN,$(UDBTOANY),$(BUILD_UDB_LIST))
29 DoUDB_SCRIPT4(configTT,CDE-TT,$(UDBTOANY),$(BUILD_UDB_LIST))
30 DoUDB_SCRIPT4(configRun,CDE-RUN,$(UDBTOANY),$(BUILD_UDB_LIST))
31 DoUDB_SCRIPT4(configShlibs,CDE-SHLIBS,$(UDBTOANY),$(BUILD_UDB_LIST))
32
33
34 LOCAL_CPP_DEFINES = -DCDE_INSTALLATION_TOP=$(CDE_INSTALLATION_TOP) \
35                     -DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP) \
36                     -DCDE_LOGFILES_TOP=$(CDE_LOGFILES_TOP)
37
38 AllTarget(configShlibs configTT configRun configMin)
39
40 CppScriptTarget(configShlibs,configShlibs.src,$(LOCAL_CPP_DEFINES),)
41 CppScriptTarget(configTT,configTT.src,$(LOCAL_CPP_DEFINES),)
42 CppScriptTarget(configRun,configRun.src,$(LOCAL_CPP_DEFINES),)
43 CppScriptTarget(configMin,configMin.src,$(LOCAL_CPP_DEFINES),)
44
45 clean::
46         $(RM) *.lst *.list