summaryrefslogtreecommitdiffstats
path: root/crypto/Makefile.ssl
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/Makefile.ssl')
-rw-r--r--crypto/Makefile.ssl13
1 files changed, 7 insertions, 6 deletions
diff --git a/crypto/Makefile.ssl b/crypto/Makefile.ssl
index c27a69d5e1..930dd02a9b 100644
--- a/crypto/Makefile.ssl
+++ b/crypto/Makefile.ssl
@@ -50,11 +50,12 @@ top:
all: buildinf.h lib subdirs
buildinf.h: ../Makefile.ssl
- ( echo "/* auto-generated by crypto/Makefile.ssl for crypto/cversion.c */"; \
- echo "/* (mk1mf builds use mk1mfinf.h instead) */"; \
- echo "#define CFLAGS \"$(CC) $(CFLAG)\""; \
- echo "#define PLATFORM \"$(PLATFORM)\""; \
- echo "#define DATE \"`date`\"" ) >buildinf.h
+ ( echo "#ifndef MK1MF_BUILD"; \
+ echo " /* auto-generated by crypto/Makefile.ssl for crypto/cversion.c */"; \
+ echo " #define CFLAGS \"$(CC) $(CFLAG)\""; \
+ echo " #define PLATFORM \"$(PLATFORM)\""; \
+ echo " #define DATE \"`date`\""; \
+ echo "#endif" ) >buildinf.h
subdirs:
@for i in $(SDIRS) ;\
@@ -129,7 +130,7 @@ depend:
done;
clean:
- rm -f buildinf.h mk1mfinf.h *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
+ rm -f buildinf.h *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
@for i in $(SDIRS) ;\
do \
(cd $$i; echo "making clean in crypto/$$i..."; \