Remove UXPDS support
[oweals/cde.git] / cde / programs / dtinfo / mmdb / HardCopy / Imakefile
1 XCOMM $TOG: Imakefile /main/2 1997/12/23 11:41:20 bill $
2
3 XCOMM                         ** WARNING **
4 XCOMM 
5 XCOMM The files named here may appear in many different Imakefiles.
6 XCOMM If you add or remove a file, be sure to update all locations.
7 XCOMM It's unfortunate, but all this redundancy serves a purpose.
8 XCOMM
9 XCOMM Other possible locations are:
10 XCOMM           .../lib/DtMmdb/Imakefile
11 XCOMM           .../lib/DtMmdb/<subdir>/Imakefile
12 XCOMM           .../programs/dtinfo/mmdb/Imakefile
13 XCOMM           .../programs/dtinfo/mmdb/<subdir>/Imakefile
14
15 #define DoNormalLib     YES
16 #define DoSharedLib     NO
17 #define DoDebugLib      NO
18 #define DoProfileLib    NO
19 #define LibName         MMDB
20 #define LibHeaders      NO
21 #define LibCreate       NO
22
23 #define CplusplusSource YES
24 DEPEND_DEFINES = $(DEPENDDEFINES)
25 CXXEXTRA_DEFINES = -DEXPAND_TEMPLATES
26
27 XCOMM Do not put any -g here, will cause the generation of MasterTemplate.c.c
28 XCOMM to use centerline_new, which cannot be linked on HP  
29 XCOMM darwinl 6/27/95
30
31 #ifdef DtinfoClient
32 DEFINES=-DCDE_NEXT
33 #else
34 DEFINES=
35 #endif
36
37 INCLUDES = $(CXXDEPENDINCLUDES) -I$(DTMMDBSRC)/HardCopy $(EXCEPTIONS_INCLUDES) $(COMMON_CLASS_INCLUDES) -I$(DTMMDBSRC)
38
39 #if defined(CplusplusCompilerMajorVersion) && \
40     (CplusplusCompilerMajorVersion == 4) && !defined(SunArchitecture)
41 XCOMM need the ptr repository
42 CXXEXTRA_DEFINES = -ptr../templates
43 #endif
44
45 #if defined(USLArchitecture)
46 CXXEXTRA_DEFINES = -Xo
47 #endif
48
49 #if defined(HPArchitecture) || defined(LinuxArchitecture) || defined(BSDArchitecture) || !defined(CplusplusCompilerMajorVersion) || (CplusplusCompilerMajorVersion != 4)
50 LinkSourceFile(TemplatesAutoNumber.C,$(DTMMDBSRC)/HardCopy)
51
52 EXTRA_SRCS = TemplatesAutoNumber.C
53 #endif
54
55 LinkSourceFile(FPset.C,$(DTMMDBSRC)/HardCopy)
56 LinkSourceFile(HardCopyFP.C,$(DTMMDBSRC)/HardCopy)
57 LinkSourceFile(autoNumber.C,$(DTMMDBSRC)/HardCopy)
58 LinkSourceFile(autoNumberFP.C,$(DTMMDBSRC)/HardCopy)
59
60 BASE_SRCS = FPset.C HardCopyFP.C autoNumber.C autoNumberFP.C
61
62 SRCS = $(BASE_SRCS)       $(EXTRA_SRCS)
63 OBJS = $(BASE_SRCS:.C=.o) $(EXTRA_SRCS:.C=.o)
64
65 #include <Library.tmpl>
66
67 #ifdef HPArchitecture
68 LinkSourceFile(all_tmpls,$(DTMMDBSRC)/HardCopy)
69 SpecialCPlusPlusObjectRule(TemplatesAutoNumber.o,,+pti all_tmpls -DEXPAND_TEMPLATES)
70 #elif defined(SunArchitecture) && CplusplusCompilerMajorVersion < 4
71 LinkSourceFile(all_tmpls,$(DTMMDBSRC)/HardCopy)
72 SpecialCPlusPlusObjectRule(TemplatesAutoNumber.o,,+Tall_tmpls -DEXPAND_TEMPLATES)
73 #elif defined(AlphaArchitecture)        
74 SpecialCPlusPlusObjectRule(TemplatesAutoNumber.o,,-ptf -DEXPAND_TEMPLATES)
75 #elif defined(LinuxArchitecture) || defined(BSDArchitecture) || \
76       defined(SunArchitecture)
77 SpecialCPlusPlusObjectRule(TemplatesAutoNumber.o,,-DEXPAND_TEMPLATES)
78 SpecialCPlusPlusExpandRule(TemplatesAutoNumber..c,TemplatesAutoNumber.C,-DEXPAND_TEMPLATES)
79 #else
80 SpecialCPlusPlusObjectRule(TemplatesAutoNumber.o,,-ptf -DEXPAND_TEMPLATES)
81 SpecialCPlusPlusExpandRule(TemplatesAutoNumber..c,TemplatesAutoNumber.C,-ptf -DEXPAND_TEMPLATES)
82 #endif
83
84 SubdirLibraryRule($(OBJS))
85
86 DependTarget()