Skip to content

Commit

Permalink
lib/main.mk: move some build rules to liboperation.mk
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKellermann committed Sep 2, 2021
1 parent 0a82e75 commit 550a3c7
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 99 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ include $(topdir)/build/libcomputer.mk
include $(topdir)/build/libos.mk
include $(topdir)/build/libtime.mk
include $(topdir)/build/libprofile.mk
include $(topdir)/build/liboperation.mk
include $(topdir)/build/libnet.mk
include $(topdir)/build/libhttp.mk
include $(topdir)/build/libcoroutines.mk
Expand Down
7 changes: 7 additions & 0 deletions build/liboperation.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
OPERATION_SOURCES := \
$(SRC)/Operation/Operation.cpp \
$(SRC)/Operation/ProxyOperationEnvironment.cpp \
$(SRC)/Operation/NoCancelOperationEnvironment.cpp \
$(SRC)/Operation/ThreadedOperationEnvironment.cpp

$(eval $(call link-library,liboperation,OPERATION))
5 changes: 1 addition & 4 deletions build/main.mk
Original file line number Diff line number Diff line change
Expand Up @@ -219,12 +219,8 @@ XCSOAR_SOURCES := \
$(SRC)/Renderer/AirspaceRendererSettings.cpp \
$(SRC)/Renderer/GeoBitmapRenderer.cpp \
\
$(SRC)/Operation/Operation.cpp \
$(SRC)/Operation/ProxyOperationEnvironment.cpp \
$(SRC)/Operation/NoCancelOperationEnvironment.cpp \
$(SRC)/Operation/PopupOperationEnvironment.cpp \
$(SRC)/Operation/MessageOperationEnvironment.cpp \
$(SRC)/Operation/ThreadedOperationEnvironment.cpp \
$(SRC)/Operation/VerboseOperationEnvironment.cpp \
$(SRC)/Atmosphere/Pressure.cpp \
$(SRC)/Atmosphere/AirDensity.cpp \
Expand Down Expand Up @@ -687,6 +683,7 @@ XCSOAR_DEPENDS = \
LIBHTTP CO IO ASYNC TASK CONTEST ROUTE GLIDE WAYPOINT AIRSPACE \
LUA \
SHAPELIB ZZIP \
OPERATION \
LIBNET TIME OS THREAD \
UTIL GEO MATH

Expand Down
Loading

0 comments on commit 550a3c7

Please sign in to comment.