Lines 17-23
Link Here
|
17 |
MCS = mcs |
17 |
MCS = mcs |
18 |
MONO = mono |
18 |
MONO = mono |
19 |
REFERENCES = -pkg:gapi-2.0,glade-sharp-2.0 -r:Mono.Posix -r:System.Drawing -r:NPlot.dll |
19 |
REFERENCES = -pkg:gapi-2.0,glade-sharp-2.0 -r:Mono.Posix -r:System.Drawing -r:NPlot.dll |
20 |
TEST_REFERENCES = -r:nunit2/nunit.framework.dll -r ./$(APP_NAME) |
20 |
TEST_REFERENCES = -r:nunit2/nunit.framework.dll -r:./$(APP_NAME) |
21 |
NUNIT_CONSOLE = nunit2/nunit-console.exe |
21 |
NUNIT_CONSOLE = nunit2/nunit-console.exe |
22 |
|
22 |
|
23 |
# list of source files |
23 |
# list of source files |
Lines 80-90
Link Here
|
80 |
|
80 |
|
81 |
# build the application (whenever sources / resources / XML files were changed) |
81 |
# build the application (whenever sources / resources / XML files were changed) |
82 |
$(APP_NAME): $(SOURCES) $(RES_DIR)/* $(XML_DIR)/* |
82 |
$(APP_NAME): $(SOURCES) $(RES_DIR)/* $(XML_DIR)/* |
83 |
$(MCS) $(RESOURCES) $(REFERENCES) -o $(APP_NAME) $(SOURCES) |
83 |
$(MCS) $(RESOURCES) $(REFERENCES) -out:$(APP_NAME) $(SOURCES) |
84 |
|
84 |
|
85 |
# build the test library (whenever test sources were changed) |
85 |
# build the test library (whenever test sources were changed) |
86 |
$(TESTLIB_NAME): $(APP_NAME) $(TESTS) |
86 |
$(TESTLIB_NAME): $(APP_NAME) $(TESTS) |
87 |
$(MCS) -debug -t:library $(TEST_REFERENCES) -o $(TESTLIB_NAME) $(TESTS) |
87 |
$(MCS) -debug -t:library $(TEST_REFERENCES) -out:$(TESTLIB_NAME) $(TESTS) |
88 |
|
88 |
|
89 |
# run unit tests (results are written to TestResult.xml) |
89 |
# run unit tests (results are written to TestResult.xml) |
90 |
# (MONO_PATH variable needs to point to project directory) |
90 |
# (MONO_PATH variable needs to point to project directory) |
Lines 97-102
Link Here
|
97 |
install -m 755 $(APP_NAME) $(PREFIX)/bin/$(APP_NAME) |
97 |
install -m 755 $(APP_NAME) $(PREFIX)/bin/$(APP_NAME) |
98 |
install -m 755 NPlot.dll $(PREFIX)/bin/NPlot.dll |
98 |
install -m 755 NPlot.dll $(PREFIX)/bin/NPlot.dll |
99 |
mkdir -p $(PREFIX_I18N)/de/LC_MESSAGES |
99 |
mkdir -p $(PREFIX_I18N)/de/LC_MESSAGES |
|
|
100 |
mkdir -p $(PREFIX_I18N)/es/LC_MESSAGES |
100 |
mkdir -p $(PREFIX_I18N)/it/LC_MESSAGES |
101 |
mkdir -p $(PREFIX_I18N)/it/LC_MESSAGES |
101 |
install -m 644 $(PO_DIR)/de.gmo $(PREFIX_I18N)/de/LC_MESSAGES/$(PO_NAME).mo |
102 |
install -m 644 $(PO_DIR)/de.gmo $(PREFIX_I18N)/de/LC_MESSAGES/$(PO_NAME).mo |
102 |
install -m 644 $(PO_DIR)/es.gmo $(PREFIX_I18N)/es/LC_MESSAGES/$(PO_NAME).mo |
103 |
install -m 644 $(PO_DIR)/es.gmo $(PREFIX_I18N)/es/LC_MESSAGES/$(PO_NAME).mo |