File: Makefile.am

package info (click to toggle)
nescc 1.3.5-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 11,604 kB
  • sloc: ansic: 72,471; sh: 4,474; yacc: 2,171; perl: 2,109; java: 1,699; makefile: 1,535; lisp: 693; xml: 182; lex: 95; cpp: 28
file content (78 lines) | stat: -rw-r--r-- 2,059 bytes parent folder | download | duplicates (2)
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
# This file is part of the nesC compiler.
#    Copyright (C) 2002 Intel Corporation
# 
# The attached "nesC" software is provided to you under the terms and
# conditions of the GNU General Public License Version 2 as published by the
# Free Software Foundation.
# 
# nesC is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with nesC; see the file COPYING.  If not, write to
# the Free Software Foundation, 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.

AUTOMAKE_OPTIONS = foreign

SUBDIRS = java

ncclibdir=$(libdir)/ncc
nccdatadir=$(datadir)/ncc
editordir=$(nccdatadir)/editor-modes
emacsdir=$(editordir)/emacs
vimdir=$(editordir)/vim
kdedir=$(editordir)/kde
geditdir=$(editordir)/gedit

bin_SCRIPTS = nescc-mig nescc-ncg nescc nescc-wiring

ncclib_DATA = deputy_nodeputy.h			\
	      deputy_stage1.h			\
	      deputy_stage2.h			\
	      genjava.pm 			\
	      gencstjava.pm 			\
	      gencsharp.pm			\
	      genc.pm				\
	      gencstc.pm			\
	      genpython.pm			\
	      gencstpython.pm			\
	      migdecode.pm			\
	      nesc_nx.h

nodist_ncclib_DATA = nesc.jar

emacs_DATA =					\
	editor-modes/emacs/nesc.el 		\
	editor-modes/emacs/new-nesc.el		\
	editor-modes/emacs/old-nesc.el		\
	editor-modes/emacs/readme.txt
vim_DATA =					\
	editor-modes/vim/nesc.vim		\
	editor-modes/vim/filetype.vim		\
        editor-modes/emacs/readme.txt
kde_DATA = 					\
	editor-modes/kde/nesc.xml		\
	editor-modes/kde/readme.txt
gedit_DATA = 					\
	editor-modes/gedit/ncc.lang		\
	editor-modes/gedit/readme.txt

EXTRA_DIST =					\
	$(ncclib_DATA)				\
	$(emacs_DATA)				\
	$(vim_DATA)				\
	$(kde_DATA)				\
	$(gedit_DATA)

NESC_JAR_DEPS = $(shell find java -name '*.java')

nesc.jar: $(NESC_JAR_DEPS)
	(cd java && $(MAKE))
	(cd java && jar cf ../$@ `find . -name '*.class'`)

FORCE:

.phony: FORCE