From 4c10a9c445e825886c658d67f5e44fdae37ffea3 Mon Sep 17 00:00:00 2001 From: cypherpunks Date: Fri, 8 Jan 2016 13:05:46 +0100 Subject: Simplify micro-revision dependency rules The Automake variable OBJEXT is automatically adjusted to the correct object file extension for the target platform. --- src/common/include.am | 6 ++---- src/or/include.am | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/src/common/include.am b/src/common/include.am index d82c093d1e..5afb30da6a 100644 --- a/src/common/include.am +++ b/src/common/include.am @@ -78,10 +78,8 @@ LIBOR_A_SOURCES = \ $(threads_impl_source) \ $(readpassphrase_source) -src/common/src_common_libor_testing_a-log.o \ - src/common/src_common_libor_testing_a-log.obj \ - src/common/log.o \ - src/common/log.obj : micro-revision.i +src/common/src_common_libor_testing_a-log.$(OBJEXT) \ + src/common/log.$(OBJEXT): micro-revision.i LIBOR_CRYPTO_A_SOURCES = \ src/common/aes.c \ diff --git a/src/or/include.am b/src/or/include.am index 14ad05b3e9..712ae18406 100644 --- a/src/or/include.am +++ b/src/or/include.am @@ -93,10 +93,8 @@ src_or_libtor_testing_a_SOURCES = $(LIBTOR_A_SOURCES) src_or_tor_SOURCES = src/or/tor_main.c AM_CPPFLAGS += -I$(srcdir)/src/or -Isrc/or -src/or/tor_main.o \ - src/or/tor_main.obj \ - src/or/src_or_tor_cov-tor_main.o \ - src/or/src_or_tor_cov-tor_main.obj : micro-revision.i +src/or/tor_main.$(OBJEXT) \ + src/or/src_or_tor_cov-tor_main.$(OBJEXT): micro-revision.i AM_CPPFLAGS += -DSHARE_DATADIR="\"$(datadir)\"" \ -DLOCALSTATEDIR="\"$(localstatedir)\"" \ -- cgit v1.2.3-54-g00ecf