[1009] in BarnOwl Developers

home help back first fref pref prev next nref lref last post

[D-O-H] r994 - trunk/owl

daemon@ATHENA.MIT.EDU (nelhage@MIT.EDU)
Thu Oct 29 18:12:06 2009

Resent-From: nelhage@mit.edu
Resent-To: barnowl-dev-mtg@charon.mit.edu
X-Original-To: nelhage@nelhage.com
To: dirty-owl-hackers@MIT.EDU
From: nelhage@MIT.EDU
Reply-to: dirty-owl-hackers@MIT.EDU
Date: Sat, 29 Mar 2008 17:02:05 -0400 (EDT)

Author: nelhage
Date: 2008-03-29 17:02:05 -0400 (Sat, 29 Mar 2008)
New Revision: 994

Modified:
   trunk/owl/Makefile.in
Log:
Compile zcrypt.c with -w so I don't get all these warnings in my
compile output whenever I change any headers


Modified: trunk/owl/Makefile.in
===================================================================
--- trunk/owl/Makefile.in	2008-03-27 02:32:11 UTC (rev 993)
+++ trunk/owl/Makefile.in	2008-03-29 21:02:05 UTC (rev 994)
@@ -46,15 +46,20 @@
 
 HEADERS=$(GEN_H) owl.h config.h test.h
 
-%.o: %.c $(HEADERS)
-	$(CC) -c $(CFLAGS) $< -o $@
-
 $(EXE): $(AUTOGEN) $(OBJS) owl.o libfaim
 	$(ATHSTATIC) $(CC) -o $(EXE) owl.o $(OBJS) $(LDFLAGS) $(LIBS)
 
 tester: $(AUTOGEN) $(OBJS) tester.o
 	$(ATHSTATIC) $(CC) -o tester tester.o $(OBJS) $(LDFLAGS) $(LIBS)
 
+%.o: %.c $(HEADERS)
+	$(CC) -c $(CFLAGS) $< -o $@
+
+# zcrypt is old crufty DES code I don't want to touch
+# Disable all warnings when compiling it
+zcrypt.o: zcrypt.c $(HEADERS)
+	$(CC) -c $(CFLAGS) $< -w -o $@
+
 test: tester
 	./tester reg
 
@@ -105,8 +110,7 @@
 TAGS: $(BASE_SRCS) $(OWL_SRC) $(TESTER_SRC) $(GEN_C) owl.h $(GEN_H)
 	etags $(BASE_SRCS) $(OWL_SRC) $(TESTER_SRC) $(GEN_C) owl.h $(GEN_H)
 
-$(BASE_OBJS) varstubs.h:: owl.h config.h owl_prototypes.h
-#$(BASE_OBJS) varstubs.h:: owl.h config.h
+$(BASE_OBJS) varstubs.h: owl.h config.h owl_prototypes.h
 
 libfaim: libfaim/libfaim.a
 


home help back first fref pref prev next nref lref last post