objects may now be separated from sources M.Z.

SKIPPED:
	psi/make_gen
	psi/makefile
	psi/makefile_alpha
	psi/makefile_linux
	psi/hardsup/make_gen
	psi/hardsup/makefile
	psi/hardsup/makefile_alpha
	psi/hardsup/makefile_linux
	psi/tecs/make_gen
	psi/tecs/makefile
	psi/tecs/makefile_linux
This commit is contained in:
cvs
2003-08-25 14:28:19 +00:00
parent acf5634ef7
commit e1839599f3
21 changed files with 181 additions and 96 deletions

View File

@ -5,6 +5,8 @@
# Markus Zolliker March 2003
#---------------------------------------------------------------------------
VPATH=$(SRC)
COBJ = Sclient.o network.o ifile.o intcli.o $(FORTIFYOBJ)
SOBJ = network.o ifile.o conman.o SCinter.o splitter.o passwd.o \
servlog.o sicvar.o nserver.o SICSmain.o \
@ -38,23 +40,17 @@ VELOOBJ = velo.o velosim.o
.SUFFIXES:
.SUFFIXES: .tcl .htm .c .o
# the following lines are not compatible with GNUmake using VPATH
# they are not needed, as they are defined by default
#.c.o:
# $(CC) $(CFLAGS) -c $*.c
all: SICServer
all: $(BINTARGET)/SICServer
full: matrix/libmatrix.a psi/hardsup/libhlib.a psi/tecs/libtecsl.a \
psi/libpsi.a $(BINTARGET)/SICServer
psi/libpsi.a SICServer
$(BINTARGET)/SICServer: $(SOBJ) $(MOTOROBJ) $(COUNTEROBJ) \
SICServer: $(SOBJ) $(MOTOROBJ) $(COUNTEROBJ) \
$(VELOOBJ) $(DIFIL) $(EXTRA) \
$(SUBLIBS)
$(CC) -g -o SICServer \
$(SOBJ) $(MOTOROBJ) $(COUNTEROBJ) \
$(VELOOBJ) $(DIFOBJ) $(EXTRA) $(LIBS)
cp SICServer $(BINTARGET)/
matrix/libmatrix.a:
cd matrix; make $(MFLAGS) libmatrix.a
@ -67,8 +63,9 @@ psi/tecs/libtecsl.a:
psi/libpsi.a:
cd psi; make $(MFLAGS) libpsi.a
clean:
rm -f *.o SICServer $(BINTARGET)/SICServer
rm -f *.o SICServer
cd psi/hardsup; make $(MFLAGS) clean
cd matrix; make $(MFLAGS) clean
cd psi/tecs; make $(MFLAGS) clean