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 /* DEPLIBS contains the list of library depencies for a client.
33 * LOCAL_LIBRARIES contains the list of libraries on the link line.
34 * Generally, the dependency form of a library has DEP as a prefix.
35 * e.g. put $(XLIB) in LOCAL_LIBRARIES and $(DEPXLIB) in DEPLIBS.
36 * NOTE: if DEPLIBS is not set here, it is by default null and there
37 * are no library dependencies for clients.
38 * You cannot put -Llibpath into DEPLIBS. You must put actual
39 * paths to the library.
41 DEPLIBS = $(DEPDTTERMLIB) $(DEPARCHLIBS) $(DEPXINPUTLIB) $(DEPHELPLIB) \
42 $(DEPXMLIB) $(DEPXTOOLLIB) $(DEPXPLIB) $(DEPXLIB)
43 LOCAL_LIBRARIES = $(DTTERMLIB) $(USE_XHPLIB) $(XINPUTLIB) $(HELPLIB) \
44 $(XMLIB) $(XTOOLLIB) $(XPLIB) $(XLIB)
45 SYS_LIBRARIES = DtClientSysLibs
47 INCLUDES = -I. -I$(DTTERMSRC)/TermPrim -I$(DTTERMSRC)/Term -I$(DTTERMSRC)/TermView
52 DtTermFallBackResources.c \
59 DtTermFallBackResources.o \
65 #endif /* HPArchitecture */
69 LINTLIBS = $(USE_XHPLIB) $(XINPUTLIB) $(HELPLIB) \
70 $(XPMLIB) $(XMLIB) $(XTOOLLIB) $(XLIB)
73 XCOMM Some systems support non-standard tic options.
74 TIC_DEFINES = CdeTicDefines
77 CppSourceFile(Dtterm.ad,Dtterm.ad.src,$(EXTRA_DEFINES),)
78 CppFileTarget(DtTermFallBackResources.c.src,Dtterm.ad.src,$(EXTRA_DEFINES) -DFALLBACK_RESOURCES,)
80 DtTermFallBackResources.c: DtTermFallBackResources.c.src
82 ./mkfallbk < DtTermFallBackResources.c.src > $@
83 includes:: DtTermFallBackResources.c
84 depend:: DtTermFallBackResources.c
86 $(RM) DtTermFallBackResources.c
88 dtterm.ti: terminfoChecklist
90 CPP="$(CPP) $(TIC_DEFINES)" $(SHELL) terminfoCreate < terminfoChecklist > $@
97 ComplexProgramTarget(dtterm)