diff options
Diffstat (limited to 'src/build-data/makefile/gmake.in')
-rw-r--r-- | src/build-data/makefile/gmake.in | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/build-data/makefile/gmake.in b/src/build-data/makefile/gmake.in index 4eb4b0fe6..d68db271c 100644 --- a/src/build-data/makefile/gmake.in +++ b/src/build-data/makefile/gmake.in @@ -3,7 +3,7 @@ %{gmake_commands_in} # Executable targets -APP = %{out_dir}/botan%{program_suffix} +CLI = %{out_dir}/botan%{program_suffix} TEST = %{out_dir}/botan-test%{program_suffix} # Library targets @@ -16,26 +16,26 @@ INCLUDE_DIR = %{botan_include_dir} LIBOBJS = %{lib_objs} -APPOBJS = %{app_objs} +CLIOBJS = %{cli_objs} TESTOBJS = %{test_objs} # First make target. Will be used by default -all: $(APP) $(TEST) +all: $(CLI) $(TEST) # Build Commands %{lib_build_cmds} -%{app_build_cmds} +%{cli_build_cmds} %{test_build_cmds} # Link Commands %{gmake_dso_in} -$(APP): $(LIBRARIES) $(APPOBJS) - $(APP_LINK_CMD) $(LDFLAGS) $(APPOBJS) -L%{out_dir} -l%{libname} $(APP_LINKS_TO) -o $(APP) - $(APP_POST_LINK_CMD) +$(CLI): $(LIBRARIES) $(CLIOBJS) + $(CLI_LINK_CMD) $(LDFLAGS) $(CLIOBJS) -L%{out_dir} -l%{libname} $(CLI_LINKS_TO) -o $(CLI) + $(CLI_POST_LINK_CMD) $(TEST): $(LIBRARIES) $(TESTOBJS) $(TEST_LINK_CMD) $(LDFLAGS) $(TESTOBJS) -L%{out_dir} -l%{libname} $(TEST_LINKS_TO) -o $(TEST) @@ -57,9 +57,9 @@ SPHINX_OPTS = -b html clean: -$(RM) %{libobj_dir}/* -$(RM) %{testobj_dir}/* - -$(RM) %{appobj_dir}/* + -$(RM) %{cliobj_dir}/* -$(RM) $(SONAME) $(SYMLINK) - -$(RM) $(LIBRARIES) $(APP) $(TEST) + -$(RM) $(LIBRARIES) $(CLI) $(TEST) distclean: clean $(RM) Makefile @@ -72,5 +72,5 @@ valgrind: docs: %{build_doc_commands} -install: $(APP) docs +install: $(CLI) docs $(SCRIPTS_DIR)/install.py --destdir=%{destdir} --build-dir="%{build_dir}" --bindir=%{bindir} --libdir=%{libdir} --docdir=%{docdir} --includedir=%{includedir} |