1: # Hey emacs this this -*- makefile -*-
2: # Makefile.win: compile the af-arch enviroment under the mingw
3: # Advanced Software Prodution Line, S.L.
4: #
5: # Instructions:
6: #
7: # 1) To compile the project run:
8: #
9: # >> make -f Makefile.win build_axl
10: #
11: # 2) To clean the project run:
12: #
13: # >> make -f Makefile.win clean_axl
14: #
15: # Requirements: mingw, msys, make and gcc
16: #
17:
18: # version
19: axl_version = 0.6.7.b4920.g4922
20:
21: # While especifiying directories do not append the trailing slash
22:
23: # cc compiler to use usually gcc.exe
24: export CC = gcc.exe
25:
26: # general configuration
27: export enable_gcc_debug = -g
28:
29: # axl configuration (enable log: uncomment)
30: # export enable_axl_log = -DSHOW_DEBUG_LOG
31:
32: # compilation mode to use: console, windows. If console is used the
33: # output to the console will be allowed. Other wise, if windows
34: # selected the console output will be disabled. On windows platforms
35: # is prefered the windows mode. For debuging I recomend to use
36: # console.
37: export MODE = windows
38:
39:
40: #############################################
41: # after this line lines shouldn't be edited #
42: #############################################
43: top_srcdir = ../..
44: version_prefix = -MinGW32
45: export search_lib_path =
46:
47:
48: # axl
49: axl = src
50: axl_ns = ns
51: axl_babel = babel
52: axl_test = test
53: axl_knife = knife
54: export axl_dll = libaxl
55:
56: all: build_axl
57:
58: build_axl:
59: @echo
60: @echo "Building libaxl.."
61: @cd $(axl); AXL_VERSION=$(axl_version) make -f Makefile.win; cd $(top_srcdir)
62: @echo "Building libaxl (Namespaces).."
63: @cd $(axl_ns); AXL_VERSION=$(axl_version) make -f Makefile.win; cd $(top_srcdir)
64: @echo "Building libaxl (BABEL).."
65: @cd $(axl_babel); AXL_VERSION=$(axl_version) make -f Makefile.win; cd $(top_srcdir)
66: @echo "Building axl-knife.."
67: @cd $(axl_knife); AXL_VERSION=$(axl_version) make -f Makefile.win; cd $(top_srcdir)
68: @echo "Building libaxl tests.."
69: @cd $(axl_test); AXL_VERSION=$(axl_version) make -f Makefile.win; cd $(top_srcdir)
70:
71: clean_axl:
72: cd $(axl); make -f Makefile.win clean; cd $(top_srcdir)
73: cd $(axl_ns); make -f Makefile.win clean; cd $(top_srcdir)
74: cd $(axl_babel); make -f Makefile.win clean; cd $(top_srcdir)
75: cd $(axl_test); make -f Makefile.win clean; cd $(top_srcdir)
76:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>