123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175 |
- XCOMM $TOG: Imakefile /main/22 1998/04/06 13:33:41 mgreess $
- DEPEND_DEFINES = $(DEPENDDEFINES)
- DEFINES = -DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" \
- -DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\"
- #if defined(SunArchitecture)
- DEPLIBS = $(DEPDTWIDGETLIB) $(DEPDTSVCLIB) $(DEPTTLIB) \
- $(DEPXMLIB) $(DEPXTOOLLIB) $(DEPXLIB)
- LOCAL_LIBRARIES = $(DTWIDGETLIB) $(DTSVCLIB) $(TTLIB) \
- $(XMLIB) $(XTOOLLIB) $(USE_XHPLIB) $(XLIB)
- #else
- DEPLIBS = $(DEPDTHELPLIB) $(DEPDTWIDGETLIB) $(DEPDTSVCLIB) $(DEPTTLIB) \
- $(DEPXMLIB) $(DEPXTOOLLIB) $(DEPXLIB)
- LOCAL_LIBRARIES = $(DTHELPLIB) $(DTWIDGETLIB) $(DTSVCLIB) $(TTLIB) \
- $(XMLIB) $(XTOOLLIB) $(USE_XHPLIB) $(XLIB)
- #endif /* SunArchitecture */
- SYS_LIBRARIES = -lm
- #if CDE_USEXINERAMA
- XINOPT = -DUSE_XINERAMA
- XINLIB = -lDtXinerama -lXinerama
- #endif
- #ifdef AlphaArchitecture
- SYS_LIBRARIES = -lm
- EXTRA_DEFINES = -DMULTIBYTE -DXLIB_ILLEGAL_ACCESS -DSIA
- #endif
- #ifdef HPArchitecture
- EXTRA_DEFINES = -DMULTIBYTE -DUSE_HPSSEXT
- USE_XHPLIB = $(XHPLIB)
- #endif
- #if defined(RsArchitecture)
- EXTRA_DEFINES = -D_ILS_MACROS -DSBSTDINC_H_NO_REDEFINE
- SYS_LIBRARIES = -lm -lbsd -ls -liconv
- #if (OSMajorVersion == 3)
- EXTRA_SRC = SmHftRing.c SmMigResources.c
- EXTRA_OBJS = $(ALTDIRECTORY)SmHftRing.o $(ALTDIRECTORY)SmMigResources.o
- #else
- EXTRA_SRC = SmMigResources.c
- EXTRA_OBJS = $(ALTDIRECTORY)SmMigResources.o
- #endif
- #endif
- #if defined(SunArchitecture)
- EXTRA_SRC = OWsync.c
- EXTRA_OBJS = $(ALTDIRECTORY)OWsync.o
- EXTRA_DEFINES = -D${PROGRAMS}
- SYS_LIBRARIES = -lelf -lm -ldl
- #endif
- #if defined(LinuxArchitecture)
- EXTRA_DEFINES = -D${PROGRAMS} $(XINOPT) -DUSE_X11SSEXT
- SYS_LIBRARIES = $(XINLIB) $(TIRPCLIB) -lXss -ldl -lcrypt -lm
- INCLUDES = $(TIRPCINC)
- #endif
- #if defined(FreeBSDArchitecture) || defined(NetBSDArchitecture)
- EXTRA_DEFINES = -D${PROGRAMS} $(XINOPT) -DUSE_X11SSEXT
- SYS_LIBRARIES = $(XINLIB) -lXss -lcrypt -lm
- #endif
- PROGRAMS=dtsession
- /**** Every .o except version.o may only be built in a remote
- **** directory as we do with rgy -> $(ALTDIRECTORY)
- ****/
- OBJS= $(ALTDIRECTORY)SmMain.o \
- $(ALTDIRECTORY)SmGlobals.o \
- $(ALTDIRECTORY)SmHelp.o \
- $(ALTDIRECTORY)SmCommun.o \
- $(ALTDIRECTORY)SmError.o \
- $(ALTDIRECTORY)SmProperty.o \
- $(ALTDIRECTORY)SmProtocol.o \
- $(ALTDIRECTORY)SmSave.o \
- $(ALTDIRECTORY)SmScreen.o \
- $(ALTDIRECTORY)SmRestore.o \
- $(ALTDIRECTORY)SmUI.o \
- $(ALTDIRECTORY)SmWindow.o \
- $(ALTDIRECTORY)SmLock.o \
- $(ALTDIRECTORY)SrvPalette.o\
- $(ALTDIRECTORY)SrvFile_io.o\
- $(ALTDIRECTORY)SmStrDefs.o \
- $(ALTDIRECTORY)SmConMgmt.o \
- $(EXTRA_OBJS) \
- $(ALTDIRECTORY)SmXSMP.o \
- $(ALTDIRECTORY)SmAuth.o \
- $(ALTDIRECTORY)SmWatch.o \
- $(ALTDIRECTORY)SmProp.o \
- $(ALTDIRECTORY)SmDB.o
- SRCS= SmMain.c \
- SmHelp.c \
- SmGlobals.c \
- SmCommun.c \
- SmError.c \
- SmProperty.c \
- SmProtocol.c \
- SmSave.c \
- SmScreen.c \
- SmRestore.c \
- SmUI.c \
- SmWindow.c \
- SmLock.c \
- SrvPalette.c\
- SrvFile_io.c\
- SmStrDefs.c \
- SmConMgmt.c \
- $(EXTRA_SRC) \
- SmXSMP.c \
- SmAuth.c \
- SmWatch.c \
- SmProp.c \
- SmDB.c
- /**************************************************************************
- *
- * Extra things for the Passwd Etc. version
- *
- **************************************************************************/
- #ifdef USE_RGY
- EXTRA_DEFINES = -DMULTIBYTE -DUSE_HPSSEXT -D__PASSWD_ETC +e
- EXTRA_LIBRARIES = $(RGYLIB) $(NCKLIB) -lndbm -lBSD ExtraLibraries
- #endif
- /******* RGY or KRB CASE *******************************/
- #if (defined(USE_KRB) || defined(USE_RGY)) && defined(HPArchitecture)
- /*******************************************************/
- /* don't build other .o's */
- .c.o:
- ComplexProgramTarget($(PROGRAMS))
- /******* NORMAL NON-RGY CASE *******************************/
- #else
- /***************************************************/
- ComplexProgramTarget($(PROGRAMS))
- DTSM_CMD1 = $(CDE_INSTALLATION_TOP)/bin/dtaction OpenHomeDir
- DTSM_CMD2 = $(CDE_INSTALLATION_TOP)/bin/dtfile -dir ~ -geometry +700+0
- DTSM_CMD4 = $(CDE_INSTALLATION_TOP)/bin/dthelpview -helpVolume Intromgr
- DTSM_CMD5 = $(CDE_INSTALLATION_TOP)/bin/dtaction Dthelpgen_delay
- LOCAL_CPP_DEFINES = -DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP) \
- -DCDE_INSTALLATION_TOP=$(CDE_INSTALLATION_TOP) \
- -DXBINDIR=$(XPROJECTROOT)/bin \
- -DKORNSHELL=$(KORNSHELL) \
- -DDTSM_CMD1="\"$(DTSM_CMD1)\"" \
- -DDTSM_CMD2="\"$(DTSM_CMD2)\"" \
- -DDTSM_CMD4="\"$(DTSM_CMD4)\"" \
- -DDTSM_CMD5="\"$(DTSM_CMD5)\""
- CPP_TARGETS = Dtsession dtloadresources dtsession.msg \
- sys.font sys.resources sys.resources.ive sys.session sys.session.ive
- AllTarget($(CPP_TARGETS))
- CppSourceFile(Dtsession,Dtsession.src,$(LOCAL_CPP_DEFINES),)
- CppScriptTarget(dtloadresources,dtloadresources.src,$(LOCAL_CPP_DEFINES),)
- CppSourceFile(dtsession.msg,dtsession.msg.src,$(LOCAL_CPP_DEFINES),)
- CppSourceFile(sys.font,sys.font.src,$(LOCAL_CPP_DEFINES),)
- CppSourceFile(sys.resources,sys.resources.src,$(LOCAL_CPP_DEFINES),)
- CppSourceFile(sys.resources.ive,sys.resources.src,-DIVE $(LOCAL_CPP_DEFINES),)
- CppSourceFile(sys.session,sys.session.src,$(LOCAL_CPP_DEFINES),)
- CppSourceFile(sys.session.ive,sys.session.src,-DIVE $(LOCAL_CPP_DEFINES),)
- #endif /* KRB || RGY */
- /* These headers are for using installed build. dthello uses these files */
- HEADERS = Srv.h SrvFile_io.h SrvPalette.h
|