1 XCOMM $XConsortium: Imakefile /main/17 1996/07/23 17:10:41 drk $
3 #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'
11 MakeSubdirs($(SUBDIRS))
12 DependSubdirs($(SUBDIRS))
14 DEFINES = $(ARCHITECTURE_DEFINES) -DSUN_TERMINAL_SERVER
17 EXTRA_DEFINES = -DBUILD_HPVUE -DHPVUE
18 #endif /* Build_HpVue */
20 #ifdef SunArchitecture
21 HELPLIB = $(DTSVCLIB) $(TTLIB)
22 DEPHELPLIB = $(DEPDTSVCLIB) $(DEPTTLIB)
24 HELPLIB = $(DTHELPLIB) $(DTSVCLIB) $(TTLIB)
25 DEPHELPLIB = $(DEPDTHELPLIB) $(DEPDTSVCLIB) $(DEPTTLIB)
26 #endif /* SunArchitecture */
29 USE_XHPLIB = $(XHPLIB)
30 #endif /* HPArchitecture */
32 XCOMM On Linux once you link against a C++ library the whole program
33 XCOMM has to be linked with the C++ linker
34 #if defined(LinuxDistribution)
38 /* DEPLIBS contains the list of library depencies for a client.
39 * LOCAL_LIBRARIES contains the list of libraries on the link line.
40 * Generally, the dependency form of a library has DEP as a prefix.
41 * e.g. put $(XLIB) in LOCAL_LIBRARIES and $(DEPXLIB) in DEPLIBS.
42 * NOTE: if DEPLIBS is not set here, it is by default null and there
43 * are no library dependencies for clients.
44 * You cannot put -Llibpath into DEPLIBS. You must put actual
45 * paths to the library.
47 DEPLIBS = $(DEPDTTERMLIB) $(DEPARCHLIBS) $(DEPXINPUTLIB) $(DEPHELPLIB) \
48 $(DEPXMLIB) $(DEPXTOOLLIB) $(DEPXPLIB) $(DEPXLIB)
49 LOCAL_LIBRARIES = $(DTTERMLIB) $(USE_XHPLIB) $(XINPUTLIB) $(HELPLIB) \
50 $(XMLIB) $(XTOOLLIB) $(XPLIB) $(XLIB)
51 SYS_LIBRARIES = DtClientSysLibs
53 INCLUDES = -I. -I$(DTTERMSRC)/TermPrim -I$(DTTERMSRC)/Term -I$(DTTERMSRC)/TermView
58 DtTermFallBackResources.c \
65 DtTermFallBackResources.o \
71 #endif /* HPArchitecture */
75 LINTLIBS = $(USE_XHPLIB) $(XINPUTLIB) $(HELPLIB) \
76 $(XPMLIB) $(XMLIB) $(XTOOLLIB) $(XLIB)
79 XCOMM Some systems support non-standard tic options.
80 TIC_DEFINES = CdeTicDefines
83 CppSourceFile(Dtterm.ad,Dtterm.ad.src,$(EXTRA_DEFINES),)
84 CppFileTarget(DtTermFallBackResources.c.src,Dtterm.ad.src,$(EXTRA_DEFINES) -DFALLBACK_RESOURCES,)
86 DtTermFallBackResources.c: DtTermFallBackResources.c.src
88 ./mkfallbk < DtTermFallBackResources.c.src > $@
89 includes:: DtTermFallBackResources.c
90 depend:: DtTermFallBackResources.c
92 $(RM) DtTermFallBackResources.c
94 dtterm.ti: terminfoChecklist
96 CPP="$(CPP) $(TIC_DEFINES)" ./terminfoCreate < terminfoChecklist > $@
103 ComplexProgramTarget(dtterm)