-
Notifications
You must be signed in to change notification settings - Fork 67
Expand file tree
/
Copy pathMakefile.am
More file actions
102 lines (89 loc) · 3.43 KB
/
Makefile.am
File metadata and controls
102 lines (89 loc) · 3.43 KB
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
## ****************************************************************************
##
## The following code is derived, directly or indirectly, from the SystemC
## source code Copyright (c) 1996-2004 by all Contributors.
## All Rights reserved.
##
## The contents of this file are subject to the restrictions and limitations
## set forth in the SystemC Open Source License Version 2.4 (the "License");
## You may not use this file except in compliance with such restrictions and
## limitations. You may obtain instructions on how to receive a copy of the
## License at http://www.systemc.org/. Software distributed by Contributors
## under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF
## ANY KIND, either express or implied. See the License for the specific
## language governing rights and limitations under the License.
##
## ****************************************************************************
##
## Makefile.am --
## Process this file with automake to produce a Makefile.in file.
##
## Original Author: Martin Janssen, Synopsys, Inc., 2001-05-21
##
## ****************************************************************************
##
## MODIFICATION LOG - modifiers, enter your name, affiliation, date and
## changes you are making here.
##
## Name, Affiliation, Date:
## Description of Modification:
##
## ****************************************************************************
SUBDIRS = \
src \
examples \
.
INST_FILES = \
AUTHORS \
COPYING \
ChangeLog \
INSTALL \
LICENSE \
NEWS \
README \
RELEASENOTES \
docs
opt:
$(MAKE) all AM_CXXFLAGS="$(EXTRA_CXXFLAGS) $(OPT_CXXFLAGS)"
debug:
$(MAKE) all AM_CXXFLAGS="$(EXTRA_CXXFLAGS) $(DEBUG_CXXFLAGS)"
pthreads:
$(MAKE) all CXXFLAGS="$(EXTRA_CXXFLAGS) $(OPT_CXXFLAGS) $(PTHREAD_CFLAGS) -DSC_USE_PTHREADS" QT_ARCH="pthreads" LIBS="$(PTHREAD_LIBS) $(LIBS)" #CC="$(PTHREAD_CC)
pthreads_debug:
$(MAKE) all AM_CXXFLAGS="$(EXTRA_CXXFLAGS) $(DEBUG_CXXFLAGS) $(PTHREAD_CFLAGS) -DSC_USE_PTHREADS" QT_ARCH="pthreads" LIBS="$(PTHREAD_LIBS) $(LIBS)" #CC="$(PTHREAD_CC)"
pthreads_check:
$(MAKE) check AM_CXXFLAGS="$(EXTRA_CXXFLAGS) $(DEBUG_CXXFLAGS) $(PTHREAD_CFLAGS) -DSC_USE_PTHREADS" QT_ARCH="pthreads" LIBS="$(PTHREAD_LIBS) $(LIBS)" #CC="$(PTHREAD_CC)"
async_update:
$(MAKE) all AM_CXXFLAGS="$(EXTRA_CXXFLAGS) $(OPT_CXXFLAGS) $(PTHREAD_CFLAGS) -DSC_INCLUDE_ASYNC_UPDATES" LIBS="$(PTHREAD_LIBS) $(LIBS)" #CC="$(PTHREAD_CC)"
async_update_debug:
$(MAKE) all AM_CXXFLAGS="$(EXTRA_CXXFLAGS) $(DEBUG_CXXFLAGS) $(PTHREAD_CFLAGS) -DSC_INCLUDE_ASYNC_UPDATES" LIBS="$(PTHREAD_LIBS) $(LIBS)" #CC="$(PTHREAD_CC)"
async_update_check:
$(MAKE) check AM_CXXFLAGS="$(EXTRA_CXXFLAGS) $(DEBUG_CXXFLAGS) $(PTHREAD_CFLAGS) -DSC_INCLUDE_ASYNC_UPDATES" LIBS="$(PTHREAD_LIBS) $(LIBS)" #CC="$(PTHREAD_CC)"+
install-data-local:
@$(NORMAL_INSTALL)
for file in $(INST_FILES); do \
d=$(srcdir); \
if test -d $$d/$$file; then \
test -d $(prefix)/$$file \
|| cp -pr $$d/$$file $(prefix) || :; \
else \
test -f $(prefix)/$$file \
|| cp -p $$d/$$file $(prefix)/$$file || :; \
fi; \
done
#@(cd ./examples; $(MAKE) install;)
uninstall-local:
@$(NORMAL_UNINSTALL)
w=`pwd`; cd $(srcdir); s=`pwd`; cd $$w; \
if test $(prefix) != $$s; then \
for file in $(INST_FILES); do \
d=$(srcdir); \
if test -d $$d/$$file; then \
rm -rf $(prefix)/$$file; \
else \
rm -f $(prefix)/$$file; \
fi; \
done; \
fi
@(cd ./examples; $(MAKE) uninstall;)
## Taf!