Add support for Linux shared libraries.

Make distclean target should now work.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@151 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Björn Groenvall
1995-10-16 11:35:13 +00:00
parent dd5567759d
commit 494e0b2da2
8 changed files with 44 additions and 14 deletions

View File

@@ -73,6 +73,6 @@ dist: $(DISTFILES)
done
kpopper: $(OBJECTS)
$(CC) $(LDFLAGS) -o $@ $(OBJECTS) ../../lib/krb/libkrb.a ../../lib/des/libdes.a $(LIBS)
$(CC) $(LDFLAGS) -o $@ $(OBJECTS) -L../../lib/krb -lkrb -L../../lib/des -ldes -L../util/et -lcom_err $(LIBS)
$(OBJECTS): ../../config.h

View File

@@ -35,3 +35,7 @@ clean cleandir:
for i in $(SUBDIRS); \
do (cd $$i; $(MAKE) $(MFLAGS) clean); done
distclean:
for i in $(SUBDIRS); \
do (cd $$i; $(MAKE) $(MFLAGS) distclean); done
rm -f Makefile config.status config.cache config.log config.h stamp-configure

View File

@@ -45,3 +45,6 @@ install:
clean cleandir:
rm -f *.o *.a \#* *~ core
distclean: clean
rm -f Makefile

View File

@@ -29,7 +29,7 @@ OBJECTS=authenc.o commands.o main.o network.o ring.o sys_bsd.o \
libtop=../../../lib
KLIB=$(libtop)/krb/libkrb.a $(libtop)/des/libdes.a
KLIB=-L$(libtop)/krb -lkrb -L$(libtop)/des -ldes -L../../../util/et -lcom_err
all: telnet
@@ -47,3 +47,6 @@ install: all
clean cleandir:
rm -f *.o *.a telnet \#* *~ core
distclean: clean
rm -f Makefile

View File

@@ -30,7 +30,7 @@ OBJECTS=telnetd.o state.o termstat.o slc.o sys_term.o \
libtop=../../../lib
KLIB=$(libtop)/kafs/libkafs.a $(libtop)/krb/libkrb.a $(libtop)/des/libdes.a
KLIB=-L$(libtop)/kafs -lkafs -L$(libtop)/krb -lkrb -L$(libtop)/des -ldes -L../../../util/et -lcom_err
all: telnetd
@@ -51,4 +51,6 @@ install: all
clean cleandir:
rm -f *.o *.a telnetd \#* *~ core
distclean: clean
rm -f Makefile

View File

@@ -68,6 +68,6 @@ dist: $(DISTFILES)
xnlock: xnlock.o
$(CC) $(LDFLAGS) -o $@ xnlock.o ../../lib/kafs/libkafs.a ../../lib/krb/libkrb.a ../../lib/des/libdes.a $(LIBS)
$(CC) $(LDFLAGS) -o $@ xnlock.o -L../../lib/kafs -lkafs -L../../lib/krb -lkrb -L../../lib/des -ldes $(LIBS)
$(OBJECTS): ../../config.h