ソースを参照

sun makefile fixes

Andrei Pelinescu-Onciul 23 年 前
コミット
2d9c6d804f
2 ファイル変更4 行追加3 行削除
  1. 3 3
      Makefile.defs
  2. 1 0
      Makefile.rules

+ 3 - 3
Makefile.defs

@@ -78,9 +78,6 @@ endif
 
 ifeq ($(ARCH), sparc64)
 	DEFS+= -DFAST_LOCK
-ifeq($(OS), SunOs)
-	CFLAGS+= -mv8 -Wa,-xarch=v8plus
-endif
 endif
 
 
@@ -141,6 +138,9 @@ ifeq  ($(OS), SunOS)
 		LDFLAGS=-g $(PROFILE)
 		MOD_LDFLAGS=-g -G
 	endif
+	ifeq ($(ARCH), sparc64)
+		CFLAGS+= -mv8 -Wa,-xarch=v8plus
+	endif
 
 YACC=yacc
 LIBS+=-L/usr/local/lib -lxnet -lrt # or -lnsl -lsocket or -lglibc ?

+ 1 - 0
Makefile.rules

@@ -41,6 +41,7 @@ static: $(objs)
 clean:
 	-@rm -f $(objs) $(NAME) 2>/dev/null
 	-@for r in $(modules) $(static_modules_path); do \
+		echo "module $$r" ; \
 		$(MAKE) -C $$r clean ; \
 	done