1 XCOMM $XConsortium: Imakefile /main/7 1996/05/09 17:33:38 drk $
14 #ifdef SunArchitecture
16 #endif /* SunArchitecture */
22 KSHSRC = ./src/cmd/ksh93
25 $(KSHSRC)/../../lib/libcmd/libcmd.a
32 OBJS = $(KSH_OBJS) $(KSH_LIBS)
34 KSHELL?= /usr/local/bin/ksh93
37 -DPROFILEPATH=\"$(CDE_CONFIGURATION_TOP)/config/profile\" \
38 -DSUIDPROFILEPATH=\"$(CDE_CONFIGURATION_TOP)/config/suid_profile\" \
39 -DSUIDEXECPATH=\"$(CDE_INSTALLATION_TOP)/bin/suid_exec\" \
40 -DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\"
42 CCFLAGS = $(CDEBUGFLAGS) $(SUIDEXECDEFINES) $(STD_DEFINES) $(ANSI_DEFINES)
44 all:: ksh93src ksh93.o
47 XCOMM A temporary hack until we get Imakefiles in the base of ksh-93.
49 XCOMM We test for presense of /bin/ksh because on HP/UX there is a
50 XCOMM limitation in the size of environment variables that prevents the
51 XCOMM ksh-93 build scripts from functioning. That will be worked around
52 XCOMM in a near future release of ksh-93 as well, but then again this
53 XCOMM whole target will change anyway.
60 $(RM) $(SHIP_DIR)/$(ALL_SUBS)/$(ALL_SUBS)/BUILT; \
61 SHELL=$(KSHELL) CC=$(CC) CCFLAGS="$(CCFLAGS)" $(KSHELL) ship/shipin $(FORCE_SHIP)
64 $(LD) -r -o $@ $(OBJS)