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 DEPEND_DEFINES = $(DEPENDDEFINES)
15 DEFINES = $(ARCHITECTURE_DEFINES) -DSUN_TERMINAL_SERVER
18 EXTRA_DEFINES = -DBUILD_HPVUE -DHPVUE
19 #endif /* Build_HpVue */
21 #ifdef SunArchitecture
22 HELPLIB = $(DTSVCLIB) $(TTLIB)
23 DEPHELPLIB = $(DEPDTSVCLIB) $(DEPTTLIB)
25 HELPLIB = $(DTHELPLIB) $(DTSVCLIB) $(TTLIB)
26 DEPHELPLIB = $(DEPDTHELPLIB) $(DEPDTSVCLIB) $(DEPTTLIB)
27 #endif /* SunArchitecture */
30 USE_XHPLIB = $(XHPLIB)
31 #endif /* HPArchitecture */
33 #ifdef BSDArchitecture
35 #endif /* BSDArchitecture */
37 /* DEPLIBS contains the list of library depencies for a client.
38 * LOCAL_LIBRARIES contains the list of libraries on the link line.
39 * Generally, the dependency form of a library has DEP as a prefix.
40 * e.g. put $(XLIB) in LOCAL_LIBRARIES and $(DEPXLIB) in DEPLIBS.
41 * NOTE: if DEPLIBS is not set here, it is by default null and there
42 * are no library dependencies for clients.
43 * You cannot put -Llibpath into DEPLIBS. You must put actual
44 * paths to the library.
46 DEPLIBS = $(DEPDTTERMLIB) $(DEPARCHLIBS) $(DEPXINPUTLIB) $(DEPHELPLIB) \
47 $(DEPXMLIB) $(DEPXTOOLLIB) $(DEPXPLIB) $(DEPXLIB) $(DEPUTILLIB)
48 LOCAL_LIBRARIES = $(DTTERMLIB) $(USE_XHPLIB) $(XINPUTLIB) $(HELPLIB) \
49 $(XMLIB) $(XTOOLLIB) $(XPLIB) $(XLIB) $(UTILLIB)
50 SYS_LIBRARIES = DtClientSysLibs
52 INCLUDES = -I. -I$(DTTERMSRC)/TermPrim -I$(DTTERMSRC)/Term -I$(DTTERMSRC)/TermView
57 DtTermFallBackResources.c \
64 DtTermFallBackResources.o \
70 #endif /* HPArchitecture */
74 LINTLIBS = $(USE_XHPLIB) $(XINPUTLIB) $(HELPLIB) \
75 $(XPMLIB) $(XMLIB) $(XTOOLLIB) $(XLIB)
78 XCOMM Some systems support non-standard tic options.
79 TIC_DEFINES = CdeTicDefines
82 CppSourceFile(Dtterm.ad,Dtterm.ad.src,$(EXTRA_DEFINES),)
83 CppFileTarget(DtTermFallBackResources.c.src,Dtterm.ad.src,$(EXTRA_DEFINES) -DFALLBACK_RESOURCES,)
85 DtTermFallBackResources.c: DtTermFallBackResources.c.src
87 ./mkfallbk < DtTermFallBackResources.c.src > $@
88 includes:: DtTermFallBackResources.c
89 depend:: DtTermFallBackResources.c
91 $(RM) DtTermFallBackResources.c
93 dtterm.ti: terminfoChecklist
95 CPP="$(CPP) $(TIC_DEFINES)" $(SHELL) terminfoCreate < terminfoChecklist > $@
102 ComplexProgramTarget(dtterm)