Skip to content

Commit

Permalink
Makefile.am: Avoid Automake warning for .PHONY inside conditional.
Browse files Browse the repository at this point in the history
Without this change, Automake warns:

    Makefile.am:364: warning: .PHONY was already defined in condition TRUE, which includes condition VSTUDIO_DDK ...
    Makefile.am:201: ... '.PHONY' previously defined here

This fixes the warning (which is harmless anyway).

Reported-by: Justin Pettit <jpettit@ovn.org>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Justin Pettit <jpettit@ovn.org>
  • Loading branch information
blp committed Feb 27, 2016
1 parent b2389ad commit d1bfe63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.am
@@ -1,4 +1,4 @@
# Copyright (C) 2007-2015 Nicira, Inc.
# Copyright (C) 2007-2016 Nicira, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
Expand Down Expand Up @@ -361,8 +361,8 @@ CLEAN_LOCAL += ovsext_clean
ovsext_clean: datapath-windows/ovsext.sln
MSBuild.exe datapath-windows/ovsext.sln /target:Clean /property:Configuration="Win8$(VSTUDIO_CONFIG)"
MSBuild.exe datapath-windows/ovsext.sln /target:Clean /property:Configuration="Win8.1$(VSTUDIO_CONFIG)"
.PHONY: ovsext_make
endif
.PHONY: ovsext_make

dist-hook: $(DIST_HOOKS)
all-local: $(ALL_LOCAL)
Expand Down

0 comments on commit d1bfe63

Please sign in to comment.