Made the shared library makefile changes not apply to the PC
authorKeith Vetter <keithv@fusion.com>
Sat, 3 Jun 1995 02:46:46 +0000 (02:46 +0000)
committerKeith Vetter <keithv@fusion.com>
Sat, 3 Jun 1995 02:46:46 +0000 (02:46 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5938 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/crypto/crc32/Makefile.in
src/lib/crypto/des/Makefile.in
src/lib/crypto/md4/Makefile.in
src/lib/crypto/md5/Makefile.in
src/lib/crypto/os/Makefile.in

index 84e9052179e88a40aaeb7dd433a6b46c75964ab2..615ed586c36c4d72ee68245ee1d9f91f6edf1b00 100644 (file)
@@ -12,7 +12,11 @@ OBJS=        crc.$(OBJEXT)
 
 SRCS=  $(srcdir)/crc.c $(srcdir)/crctest.c
 
-all:: shared $(OBJS)
+all:: all-$(WHAT) $(OBJS)
+
+all-unix:: shared
+all-mac:: shared
+all-windows::
 
 shared:
        mkdir shared
@@ -27,6 +31,11 @@ crctest.exe:
 check:: crctest$(EXEEXT)
        $(C)crctest$(EXEEXT) < $(srcdir)$(S)crc-test
 
-clean::
+clean:: clean-$(WHAT)
        $(RM) crctest$(EXEEXT) crctest.$(OBJEXT)
+
+clean-unix::
+       $(RM) shared/*
+clean-mac::
        $(RM) shared/*
+clean-windows::
index 45f91ec52cedd64296beeb790408f5cb087fe1e9..b50f30e01154c8a1a00fc70409a24e771a44f437 100644 (file)
@@ -45,7 +45,11 @@ SRCS=        $(srcdir)/cs_entry.c    \
        $(srcdir)/weak_key.c    \
        $(OTHERSRCS)
 
-all:: shared $(OBJS)
+all:: all-$(WHAT) $(OBJS)
+
+all-unix:: shared
+all-mac:: shared
+all-windows::
 
 shared:
        mkdir shared
@@ -76,6 +80,11 @@ check-unix:: destest verify
 
 check-windows::
 
-clean::
+clean:: clean-$(what)
        $(RM) destest$(EXEEXT) verify$(EXEEXT) destest.$(OBJEXT) verify.$(OBJEXT)
+
+clean-unix::
+       $(RM) shared/*
+clean-mac::
        $(RM) shared/*
+clean-windows::
index 50f2b847046d50af03c2cd23d6d95d32f509938a..3fbe4869082d8fcfd2ec45a29153dd023ba99ba2 100644 (file)
@@ -13,7 +13,11 @@ OBJS=        md4.$(OBJEXT) md4glue.$(OBJEXT) md4crypto.$(OBJEXT)
 
 SRCS=  $(srcdir)/md4.c $(srcdir)/md4glue.c $(srcdir)/md4crypto.c
 
-all:: shared $(OBJS)
+all:: all-$(WHAT) $(OBJS)
+
+all-unix:: shared
+all-mac:: shared
+all-windows::
 
 shared:
        mkdir shared
@@ -35,6 +39,11 @@ t_mddriver.exe:
 check:: t_mddriver$(EXEEXT)
        $(C)t_mddriver$(EXEEXT) -x
 
-clean::
+clean:: clean-$(WHAT)
        $(RM) t_mddriver$(EXEEXT) t_mddriver.$(OBJEXT) t_mddriver.c
+
+clean-unix::
+       $(RM) shared/*
+clean-mac::
        $(RM) shared/*
+clean-windows::
index 4a72f33c0bf3834ae0e57b218b5637c687c9293b..f5829d9639ab7cf29aeb242720330fa9526f09a7 100644 (file)
@@ -12,7 +12,11 @@ OBJS=        md5.$(OBJEXT) md5glue.$(OBJEXT) md5crypto.$(OBJEXT)
 
 SRCS=  $(srcdir)/md5.c $(srcdir)/md5glue.c $(srcdir)/md5crypto.c
 
-all:: shared $(OBJS) 
+all:: all-$(WHAT) $(OBJS) 
+
+all-unix:: shared
+all-mac:: shared
+all-windows::
 
 shared:
        mkdir shared
@@ -26,6 +30,11 @@ t_mddriver.exe:
 check:: t_mddriver$(EXEEXT)
        $(C)t_mddriver$(EXEEXT) -x
 
-clean::
+clean:: clean-$(WHAT)
        $(RM) t_mddriver$(EXEEXT) t_mddriver.$(OBJEXT)
+
+clean-unix::
+       $(RM) shared/*
+clean-mac::
        $(RM) shared/*
+clean-windows::
index 9c63c79768e0bd74f8606e68eb99b73c56a0b2b8..0640b3986c742579757501eed2f63b2e3de50354 100644 (file)
@@ -48,6 +48,11 @@ memmove.o: memmove.c
 @SHARED_RULE_LOCAL@
        
 
-clean::
+clean:: clean-$(WHAT)
        $(RM) ustime.c localaddr.c memmove.c
+
+clean-unix::
+       $(RM) shared/*
+clean-mac::
        $(RM) shared/*
+clean-windows::