1997-12-17 10:43:31 +00:00
|
|
|
#
|
|
|
|
# Makefile for XI/X Motif source on Sun Sparc
|
|
|
|
# Orca Software distributes these makefiles for convenience. Having a
|
|
|
|
# makefile for a particular platform does not imply that you have a
|
|
|
|
# license to use the source code on that platform. Before using the
|
|
|
|
# source code on any given platform, make sure that you have purchased
|
|
|
|
# the appropriate license.
|
|
|
|
|
|
|
|
# Macros for system utilities.
|
|
|
|
|
|
|
|
SHELL = /usr/bin/sh
|
|
|
|
MAKE = /usr/bin/make
|
|
|
|
CC = acc
|
|
|
|
AR = /usr/bin/ar
|
|
|
|
ARFLAGS = cru
|
|
|
|
LD = acc
|
|
|
|
LDFLAGS = -O
|
|
|
|
CD = cd
|
|
|
|
SED = /usr/bin/sed
|
|
|
|
YACC = /usr/lang/yacc -vd
|
|
|
|
CP = /usr/bin/cp
|
|
|
|
LN = /usr/bin/ln -s
|
|
|
|
MKDIR = /usr/bin/mkdir -p
|
|
|
|
MV = /usr/bin/mv -f
|
|
|
|
RM = /usr/bin/rm -f
|
|
|
|
TOUCH = /usr/bin/touch -f
|
|
|
|
|
|
|
|
RANLIB = /usr/bin/ranlib
|
|
|
|
|
|
|
|
UIL = $(MOTIFHOME)/bin/uil -I$(ROOTP)/include -o
|
|
|
|
|
|
|
|
# Macro for 'makedepend' makefile utility.
|
|
|
|
|
|
|
|
MKDEP = $(OPENWINHOME)/bin/makedepend
|
|
|
|
|
|
|
|
# Miscellaneous macros.
|
|
|
|
|
|
|
|
STAR = *
|
|
|
|
SHRSUFF = .so.4.0
|
|
|
|
LSUFF = .a
|
|
|
|
RSUFF = .uid
|
|
|
|
|
|
|
|
BTAG =
|
|
|
|
LTAG =
|
|
|
|
LIBUI = $(PRODUCT)ui$(LTAG)
|
|
|
|
LIBTK = $(PRODUCT)tk$(LTAG)
|
|
|
|
LIBHLP = $(PRODUCT)help$(LTAG)
|
|
|
|
LIBHLPCS = $(PRODUCT)help_cs$(LTAG)
|
|
|
|
|
|
|
|
XVTBINP = $(ROOTP)/bin
|
|
|
|
XVTLIBP = $(ROOTP)/lib
|
|
|
|
|
|
|
|
XVTLIBS = $(XVTLIBP)/lib$(LIBUI)$(LSUFF) $(XVTLIBP)/lib$(LIBHLP)$(SHRSUFF) $(XVTLIBP)/lib$(LIBTK)$(SHRSUFF)
|
|
|
|
TKLDLIBS = -L$(XVTLIBP) -l$(LIBUI) -l$(LIBHLP) -l$(LIBTK) -L$(MOTIFHOME)/lib -L$(OPENWINHOME)/lib -lMrm -lXm -lXt -lX11
|
|
|
|
|
|
|
|
ROOTP = ../../xvtdsc2/sun/ptk
|
|
|
|
SRCP = .
|
|
|
|
OBJP = ./sxm
|
|
|
|
BINP = $(OBJP)
|
|
|
|
|
|
|
|
IDIRS = -I$(ROOTP)/include -I../include -I/d3/include -I/d3/ericw/motif/include
|
1997-12-17 12:57:49 +00:00
|
|
|
CFLAGS = -c -O -DXTFUNCPROTO -DXI_USE_XVT -DXI_R4_API $(IDIRS) -temp=/usr/temp
|
1997-12-17 10:43:31 +00:00
|
|
|
LDLIBS = $(TKLDLIBS) -lm
|
|
|
|
|
|
|
|
CURL = $(XVTBINP)/curl$(BTAG) -r mtf11 -s -o
|
|
|
|
HELPC = $(XVTBINP)/helpc$(BTAG) -f xvt -I$(ROOTP)/include -o
|
|
|
|
|
|
|
|
XILIB = ../lib/libxisxm.a
|
|
|
|
SRC = .
|
|
|
|
|
1997-12-17 12:57:49 +00:00
|
|
|
$(XILIB): $(OBJP)/xiheap.o $(OBJP)/xitree.o $(OBJP)/xicf.o $(OBJP)/xitext.o $(OBJP)/xistx.o $(OBJP)/xi.o $(OBJP)/xi2.o $(OBJP)/xidbg.o $(OBJP)/xilm.o $(OBJP)/xilm2.o $(OBJP)/xilm3.o $(OBJP)/xiutils.o $(OBJP)/xierr.o $(OBJP)/xilmst.o $(OBJP)/xiport.o $(OBJP)/xibitmap.o
|
|
|
|
$(AR) $(ARFLAGS) $(XILIB) $(OBJP)/xiheap.o $(OBJP)/xitree.o $(OBJP)/xicf.o $(OBJP)/xitext.o $(OBJP)/xilm.o $(OBJP)/xilm2.o $(OBJP)/xilm3.o $(OBJP)/xistx.o $(OBJP)/xiutils.o $(OBJP)/xi.o $(OBJP)/xi2.o $(OBJP)/xidbg.o $(OBJP)/xierr.o $(OBJP)/xilmst.o $(OBJP)xiport.o $(OBJP)/xibitmap.o
|
1997-12-17 10:43:31 +00:00
|
|
|
ranlib $(XILIB)
|
|
|
|
|
|
|
|
$(OBJP)/xiheap.o: $(SRC)/xiheap.c
|
|
|
|
$(CC) -c $(CFLAGS) $(SRC)/xiheap.c -o $(OBJP)/xiheap.o
|
|
|
|
|
|
|
|
$(OBJP)/xitext.o: $(SRC)/xitext.c
|
|
|
|
$(CC) -c $(CFLAGS) $(SRC)/xitext.c -o $(OBJP)/xitext.o
|
|
|
|
|
|
|
|
$(OBJP)/xilm.o: $(SRC)/xilm.c
|
|
|
|
$(CC) -c $(CFLAGS) $(SRC)/xilm.c -o $(OBJP)/xilm.o
|
|
|
|
|
|
|
|
$(OBJP)/xilm2.o: $(SRC)/xilm2.c
|
|
|
|
$(CC) -c $(CFLAGS) $(SRC)/xilm2.c -o $(OBJP)/xilm2.o
|
|
|
|
|
1997-12-17 12:57:49 +00:00
|
|
|
$(OBJP)/xilm3.o: $(SRC)/xilm3.c
|
|
|
|
$(CC) -c $(CFLAGS) $(SRC)/xilm3.c -o $(OBJP)/xilm3.o
|
|
|
|
|
1997-12-17 10:43:31 +00:00
|
|
|
$(OBJP)/xistx.o: $(SRC)/xistx.c
|
|
|
|
$(CC) -c $(CFLAGS) $(SRC)/xistx.c -o $(OBJP)/xistx.o
|
|
|
|
|
|
|
|
$(OBJP)/xiutils.o: $(SRC)/xiutils.c
|
|
|
|
$(CC) -c $(CFLAGS) $(SRC)/xiutils.c -o $(OBJP)/xiutils.o
|
|
|
|
|
|
|
|
$(OBJP)/xi.o: $(SRC)/xi.c
|
|
|
|
$(CC) -c $(CFLAGS) $(SRC)/xi.c -o $(OBJP)/xi.o
|
|
|
|
|
|
|
|
$(OBJP)/xi2.o: $(SRC)/xi2.c
|
|
|
|
$(CC) -c $(CFLAGS) $(SRC)/xi2.c -o $(OBJP)/xi2.o
|
|
|
|
|
|
|
|
$(OBJP)/xitree.o: $(SRC)/xitree.c
|
|
|
|
$(CC) -c $(CFLAGS) $(SRC)/xitree.c -o $(OBJP)/xitree.o
|
|
|
|
|
|
|
|
$(OBJP)/xicf.o: $(SRC)/xicf.c
|
|
|
|
$(CC) -c $(CFLAGS) $(SRC)/xicf.c -o $(OBJP)/xicf.o
|
|
|
|
|
|
|
|
$(OBJP)/xidbg.o: $(SRC)/xidbg.c
|
|
|
|
$(CC) -c $(CFLAGS) $(SRC)/xidbg.c -o $(OBJP)/xidbg.o
|
|
|
|
|
1997-12-17 12:57:49 +00:00
|
|
|
$(OBJP)/xierr.o: $(SRC)/xierr.c
|
|
|
|
$(CC) -c $(CFLAGS) $(SRC)/xierr.c -o $(OBJP)/xierr.o
|
|
|
|
|
|
|
|
$(OBJP)/xilmst.o: $(SRC)/xilmst.c
|
|
|
|
$(CC) -c $(CFLAGS) $(SRC)/xilmst.c -o $(OBJP)/xilmst.o
|
|
|
|
|
|
|
|
$(OBJP)/xiport.o: $(SRC)/xiport.c
|
|
|
|
$(CC) -c $(CFLAGS) $(SRC)/xiport.c -o $(OBJP)/xiport.o
|
|
|
|
|
|
|
|
$(OBJP)/xibitmap.o: $(SRC)/xibitmap.c
|
|
|
|
$(CC) -c $(CFLAGS) $(SRC)/xibitmap.c -o $(OBJP)/xibitmap.o
|
|
|
|
|
1997-12-17 10:43:31 +00:00
|
|
|
|