*** ./Makefile.ORIG Wed Mar 3 10:58:22 2010 --- ./Makefile Wed Mar 3 16:58:21 2010 *************** *** 37,42 **** --- 37,45 ---- # You can use the -DSTUPID_COMPILER to circumvent some compilers' # static limits regarding the number of subexpressions in a statement. + CC = cc -qcpluscmt + CCFLAGS = -c -O -DNeedFunctionPrototypes=1 + # CC = cc # CCFLAGS = -c -DSTUPID_COMPILER *************** *** 43,55 **** # CC = /usr/lang/acc # CCFLAGS = -c -O ! CC = gcc -ansi -pedantic ! CCFLAGS = -c -O2 -DNeedFunctionPrototypes=1 LD = $(CC) # LD = gcc ! # LDFLAGS = # If your compiler needs additional flags/libraries, regardless of --- 46,58 ---- # CC = /usr/lang/acc # CCFLAGS = -c -O ! # CC = gcc -ansi -pedantic ! # CCFLAGS = -c -O2 -DNeedFunctionPrototypes=1 LD = $(CC) # LD = gcc ! LDFLAGS = -L/opt/freeware/lib -Wl,-bmaxdata:0x80000000 -Wl,-blibpath:/opt/freeware/lib:/usr/lib:/lib # If your compiler needs additional flags/libraries, regardless of *************** *** 56,64 **** --- 59,69 ---- # the source compiled, configure them here. # CCINC = -I/usr/gnu/lib/gcc-2.1/gcc-lib/sparc-sun-sunos4.1.2/2.1/include + CCINC = -I/opt/freeware/include ######### Includes needed by $(CC) # LDINC = -L/usr/gnu/lib/gcc-2.1/gcc-lib/sparc-sun-sunos4.1.2/2.1 + LDINC = -L/opt/freeware/lib ######### Library paths needed by $(LD) # LDLIB = -lgcc *************** *** 96,102 **** # Other tools SHELL = /bin/sh ! LN = ln BASENAME = basename AR = ar ARFLAGS = cr --- 101,107 ---- # Other tools SHELL = /bin/sh ! LN = ln -s BASENAME = basename AR = ar ARFLAGS = cr *************** *** 308,314 **** # Toast, Untoast and Tcat -- the compress-like frontends to gsm. $(TOAST): $(BIN) $(TOAST_OBJECTS) $(LIBGSM) ! $(LD) $(LFLAGS) -o $(TOAST) $(TOAST_OBJECTS) $(LIBGSM) $(LDLIB) $(UNTOAST): $(BIN) $(TOAST) -rm $(RMFLAGS) $(UNTOAST) --- 313,319 ---- # Toast, Untoast and Tcat -- the compress-like frontends to gsm. $(TOAST): $(BIN) $(TOAST_OBJECTS) $(LIBGSM) ! $(LD) $(LFLAGS) -o $(TOAST) $(TOAST_OBJECTS) -Llib -lgsm $(LDLIB) $(UNTOAST): $(BIN) $(TOAST) -rm $(RMFLAGS) $(UNTOAST) *************** *** 357,367 **** $(TOAST_INSTALL_BIN)/untoast: $(TOAST_INSTALL_BIN)/toast -rm $@ ! ln $? $@ $(TOAST_INSTALL_BIN)/tcat: $(TOAST_INSTALL_BIN)/toast -rm $@ ! ln $? $@ $(TOAST_INSTALL_MAN)/toast.1: $(MAN)/toast.1 -rm $@ --- 362,372 ---- $(TOAST_INSTALL_BIN)/untoast: $(TOAST_INSTALL_BIN)/toast -rm $@ ! $(LN) $? $@ $(TOAST_INSTALL_BIN)/tcat: $(TOAST_INSTALL_BIN)/toast -rm $@ ! $(LN) $? $@ $(TOAST_INSTALL_MAN)/toast.1: $(MAN)/toast.1 -rm $@