Commit 833c877f authored by Christian Beer's avatar Christian Beer

BUILD: add example apps into the build process

- By default apps won't be built. In order to build the example apps use --enable-apps as option to ./configure. Not all apps are supported as some need further external libraries.
- Also fix a copy/paste error in the vboxmonitor Makefile
parent 0c6c295a
......@@ -34,9 +34,13 @@ if BUILD_X11_SCREENSAVER
endif
endif
if ENABLE_APPS
APPS_SUBDIRS = samples
endif
# ORDER MATTERS below. One must build dependencies FIRST, then things
# that depend on them later
SUBDIRS = m4 $(API_SUBDIRS) $(SERVER_SUBDIRS) $(CLIENT_SUBDIRS) $(CLIENTGUI_SUBDIRS) doc
SUBDIRS = m4 $(API_SUBDIRS) $(SERVER_SUBDIRS) $(CLIENT_SUBDIRS) $(CLIENTGUI_SUBDIRS) $(APPS_SUBDIRS) doc
# Putting a directory name recursively copies the entire contents - the
# dist-hook below gets rid of CVS directories.
......
This diff is collapsed.
## -*- mode: makefile; tab-width: 4 -*-
include $(top_srcdir)/Makefile.incl
## list the apps that should be build
SUBDIRS = condor example_app multi_thread sleeper vboxmonitor vboxwrapper worker wrapper
## NOTE: nvcuda and wrappture need external libraries
......@@ -26,5 +26,5 @@ clean: distclean
distclean:
/bin/rm -f $(PROGS) *.o libstdc++.a
vboxwrapper: vboxmonitor.o libstdc++.a $(BOINC_LIB_DIR)/libboinc.a $(BOINC_API_DIR)/libboinc_api.a
vboxmonitor: vboxmonitor.o libstdc++.a $(BOINC_LIB_DIR)/libboinc.a $(BOINC_API_DIR)/libboinc_api.a
g++ $(CXXFLAGS) -o vboxmonitor vboxmonitor.o libstdc++.a -pthread -lboinc_api -lboinc
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment