summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: acec397873035e896c4f18c4abb435f574ffcabc (plain)
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
AM_CPPFLAGS = -DTEXT_DOMAIN=\"SUNW_OST_OSLIB\"
AM_CPPFLAGS += -DNDEBUG
AM_CPPFLAGS += -I$(top_srcdir)/usr/src/make_src/include
AM_CPPFLAGS += -I$(top_srcdir)/usr/src/make_src/Make/include

AM_CPPFLAGS += $(ARCH_CPPFLAGS)

bin_PROGRAMS = sunmake

lib_LTLIBRARIES = \
libmakestate.la

noinst_LTLIBRARIES = \
libbsd.la \
libmksdmsi18n.la \
libmksh.la \
libvroot.la

libmakestate_la_LDFLAGS = -version-info 1:0:0
libmakestate_la_SOURCES = \
usr/src/make_src/Make/lib/makestate/src/ld_file.c \
usr/src/make_src/Make/lib/makestate/src/lock.c

libbsd_la_LDFLAGS = -static
libbsd_la_SOURCES = \
usr/src/make_src/Make/lib/bsd/src/bsd.cc

libmksdmsi18n_la_LDFLAGS = -static
libmksdmsi18n_la_CPPFLAGS = $(AM_CPPFLAGS) -DI18N_VERSION=1
libmksdmsi18n_la_SOURCES = \
usr/src/make_src/Make/lib/mksdmsi18n/src/libmksdmsi18n_init.cc \
usr/src/make_src/include/avo/intl.h

libmksh_la_LDFLAGS = -static
libmksh_la_SOURCES = \
usr/src/make_src/Make/include/mksdmsi18n/mksdmsi18n.h \
usr/src/make_src/Make/include/mksh/defs.h \
usr/src/make_src/Make/include/mksh/dosys.h \
usr/src/make_src/Make/include/mksh/globals.h \
usr/src/make_src/Make/include/mksh/i18n.h \
usr/src/make_src/Make/include/mksh/libmksh_init.h \
usr/src/make_src/Make/include/mksh/macro.h \
usr/src/make_src/Make/include/mksh/misc.h \
usr/src/make_src/Make/include/mksh/mksh.h \
usr/src/make_src/Make/include/mksh/read.h \
usr/src/make_src/Make/lib/mksh/src/dosys.cc \
usr/src/make_src/Make/lib/mksh/src/globals.cc \
usr/src/make_src/Make/lib/mksh/src/i18n.cc \
usr/src/make_src/Make/lib/mksh/src/macro.cc \
usr/src/make_src/Make/lib/mksh/src/misc.cc \
usr/src/make_src/Make/lib/mksh/src/mksh.cc \
usr/src/make_src/include/avo/avo_alloca.h \
usr/src/make_src/Make/lib/mksh/src/read.cc

libvroot_la_LDFLAGS = -static
libvroot_la_SOURCES = \
usr/src/make_src/Make/include/mk/defs.h \
usr/src/make_src/Make/include/vroot/args.h \
usr/src/make_src/Make/include/vroot/report.h \
usr/src/make_src/Make/include/vroot/vroot.h \
usr/src/make_src/Make/lib/vroot/src/access.cc \
usr/src/make_src/Make/lib/vroot/src/args.cc \
usr/src/make_src/Make/lib/vroot/src/chdir.cc \
usr/src/make_src/Make/lib/vroot/src/chmod.cc \
usr/src/make_src/Make/lib/vroot/src/chown.cc \
usr/src/make_src/Make/lib/vroot/src/chroot.cc \
usr/src/make_src/Make/lib/vroot/src/creat.cc \
usr/src/make_src/Make/lib/vroot/src/execve.cc \
usr/src/make_src/Make/lib/vroot/src/lock.cc \
usr/src/make_src/Make/lib/vroot/src/lstat.cc \
usr/src/make_src/Make/lib/vroot/src/mkdir.cc \
usr/src/make_src/Make/lib/vroot/src/mount.cc \
usr/src/make_src/Make/lib/vroot/src/open.cc \
usr/src/make_src/Make/lib/vroot/src/readlink.cc \
usr/src/make_src/Make/lib/vroot/src/report.cc \
usr/src/make_src/Make/lib/vroot/src/rmdir.cc \
usr/src/make_src/Make/lib/vroot/src/setenv.cc \
usr/src/make_src/Make/lib/vroot/src/stat.cc \
usr/src/make_src/Make/lib/vroot/src/statfs.cc \
usr/src/make_src/Make/lib/vroot/src/truncate.cc \
usr/src/make_src/Make/lib/vroot/src/unlink.cc \
usr/src/make_src/Make/lib/vroot/src/unmount.cc \
usr/src/make_src/Make/lib/vroot/src/utimes.cc \
usr/src/make_src/Make/lib/vroot/src/vroot.cc

sunmake_LDADD = libmksh.la libmksdmsi18n.la libbsd.la libvroot.la
sunmake_SOURCES = \
usr/src/make_src/Make/bin/make/common/ar.cc \
usr/src/make_src/Make/bin/make/common/depvar.cc \
usr/src/make_src/Make/bin/make/common/dist.cc \
usr/src/make_src/Make/bin/make/common/dmake.cc \
usr/src/make_src/Make/bin/make/common/doname.cc \
usr/src/make_src/Make/bin/make/common/dosys.cc \
usr/src/make_src/Make/bin/make/common/files.cc \
usr/src/make_src/Make/bin/make/common/globals.cc \
usr/src/make_src/Make/bin/make/common/implicit.cc \
usr/src/make_src/Make/bin/make/common/macro.cc \
usr/src/make_src/Make/bin/make/common/main.cc \
usr/src/make_src/Make/bin/make/common/make.cc \
usr/src/make_src/Make/bin/make/common/misc.cc \
usr/src/make_src/Make/bin/make/common/nse.cc \
usr/src/make_src/Make/bin/make/common/nse_printdep.cc \
usr/src/make_src/Make/bin/make/common/parallel.cc \
usr/src/make_src/Make/bin/make/common/pmake.cc \
usr/src/make_src/Make/bin/make/common/read.cc \
usr/src/make_src/Make/bin/make/common/read2.cc \
usr/src/make_src/Make/bin/make/common/rep.cc \
usr/src/make_src/Make/include/bsd/bsd.h \
usr/src/make_src/Make/include/mk/copyright.h \
usr/src/make_src/Make/bin/make/common/state.cc

rules = \
usr/src/make_src/Make/bin/make/common/svr4.make.rules \
usr/src/make_src/Make/bin/make/common/make.rules

EXTRA_DIST = \
INSTALL \
ReleaseNotes \
usr/src/OPENSOLARIS.LICENSE \
$(rules)

install-data-hook:
	$(MKDIR_P) $(DESTDIR)$(datadir)/sunmake
	for r in $(rules); do \
		$(INSTALL_DATA) $$r $(DESTDIR)$(datadir)/sunmake ;\
	done
uninstall-hook:
	for r in $(rules); do \
		rm -f $(DESTDIR)$(datadir)/$$r ;\
	done