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)
36 -DPROFILEPATH=\"$(CDE_CONFIGURATION_TOP)/config/profile\" \
37 -DSUIDPROFILEPATH=\"$(CDE_CONFIGURATION_TOP)/config/suid_profile\" \
38 -DSUIDEXECPATH=\"$(CDE_INSTALLATION_TOP)/bin/suid_exec\" \
39 -DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\"
41 CCFLAGS = $(CDEBUGFLAGS) $(SUIDEXECDEFINES) $(STD_DEFINES) $(ANSI_DEFINES)
43 all:: ksh93src ksh93.o
46 XCOMM A temporary hack until we get Imakefiles in the base of ksh-93.
48 XCOMM We test for presense of /bin/ksh because on HP/UX there is a
49 XCOMM limitation in the size of environment variables that prevents the
50 XCOMM ksh-93 build scripts from functioning. That will be worked around
51 XCOMM in a near future release of ksh-93 as well, but then again this
52 XCOMM whole target will change anyway.
59 $(RM) $(SHIP_DIR)/$(ALL_SUBS)/$(ALL_SUBS)/BUILT; \
62 SHELL=/bin/ksh CC=$(CC) CCFLAGS="$(CCFLAGS)" /bin/ksh ship/shipin $(FORCE_SHIP); \
63 elif [ -f /bin/sh ]; \
65 SHELL=/bin/sh CC=$(CC) CCFLAGS="$(CCFLAGS)" /bin/sh ship/shipin $(FORCE_SHIP); \
67 SHELL="" CC=$(CC) CCFLAGS="$(CCFLAGS)" ship/shipin $(FORCE_SHIP); \
71 $(LD) -r -o $@ $(OBJS)