-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathGNUmakefile
89 lines (69 loc) · 2.29 KB
/
GNUmakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# copyright 2002-2003 Alexander Malmberg <[email protected]>
# copyright 2008-2009 Riccardo Mottola
#
# This file is a part of Terminal.app. Terminal.app is free software; you
# can redistribute it and/or modify it under the terms of the GNU General
# Public License as published by the Free Software Foundation; version 2
# of the License. See COPYING or main.m for more information.
ifeq ($(GNUSTEP_MAKEFILES),)
GNUSTEP_MAKEFILES := $(shell gnustep-config --variable=GNUSTEP_MAKEFILES 2>/dev/null)
ifeq ($(GNUSTEP_MAKEFILES),)
$(warning )
$(warning Unable to obtain GNUSTEP_MAKEFILES setting from gnustep-config!)
$(warning Perhaps gnustep-make is not properly installed,)
$(warning so gnustep-config is not in your PATH.)
$(warning )
$(warning Your PATH is currently $(PATH))
$(warning )
endif
endif
ifeq ($(GNUSTEP_MAKEFILES),)
$(error You need to set GNUSTEP_MAKEFILES before compiling!)
endif
include $(GNUSTEP_MAKEFILES)/common.make
APP_NAME = Terminal
PACKAGE_NAME = Terminal
VERSION = 0.9.8
# Useful warnings:
# -W -Wformat=2 -Wno-sign-compare -Wpointer-arith \
# -Wbad-function-cast -Wcast-align -Wwrite-strings -Wstrict-prototypes \
# -Wmissing-prototypes -Wmissing-declarations \
# -Wnested-externs -Wno-unused-parameter
Terminal_OBJC_FILES = \
main.m \
\
Services.m \
ServicesPrefs.m \
ServicesParameterWindowController.m \
\
TerminalWindow.m \
TerminalWindowPrefs.m \
\
TerminalView.m \
TerminalViewPrefs.m \
\
TerminalParser_Linux.m \
TerminalParser_LinuxPrefs.m \
\
PreferencesWindowController.m \
autokeyviewchain.m \
\
Label.m
ifeq ($(findstring solaris, $(GNUSTEP_TARGET_OS)), solaris)
Terminal_TOOL_LIBS += -liconv
else
ifeq ($(findstring freebsd, $(GNUSTEP_TARGET_OS)), freebsd)
Terminal_TOOL_LIBS += -liconv
endif
Terminal_TOOL_LIBS += -lutil
endif
Terminal_LOCALIZED_RESOURCE_FILES = Localizable.strings
Terminal_LANGUAGES = English Swedish German French Spanish Hungarian Turkish \
Norwegian Russian Italian
Terminal_APPLICATION_ICON = Terminal.tiff
Terminal_RESOURCE_FILES = \
Terminal.tiff DefaultTerminalServices.svcs \
cursor_line.tiff cursor_stroked.tiff cursor_filled.tiff \
cursor_inverted.tiff TerminalInfo.plist
MAKE_STRINGS_OPTIONS = --aggressive-match --aggressive-remove
include $(GNUSTEP_MAKEFILES)/application.make