blob: d7479e75d89c95f266c04909c98103b4b7ac062e (
plain) (
blame)
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
|
#AUTOMAKE_OPTIONS = ../util/ansi2knr no-dependencies
AUTOMAKE_OPTIONS = ../util/ansi2knr
noinst_LIBRARIES = @MAKE_LIBPARSE@ @MAKE_LIBPARSE_KERNEL@
EXTRA_LIBRARIES = libparse.a libparse_kernel.a
EXTRA_PROGRAMS = parsestreams parsesolaris
noinst_PROGRAMS = @MAKE_PARSEKMODULE@
CLEANFILES = libparse.a libparse_kernel.a
libparse_a_SOURCES = parse.c \
parse_conf.c \
clk_meinberg.c \
clk_schmid.c \
clk_rawdcf.c \
clk_trimtsip.c \
clk_dcf7000.c \
clk_trimtaip.c \
clk_rcc8000.c \
clk_hopf6021.c \
clk_computime.c \
clk_wharton.c \
clk_varitext.c \
data_mbg.c \
info_trimble.c \
trim_info.c
libparse_kernel_a_SOURCES =
libparse_kernel_a_LIBADD = kparse$U.o \
kparse_conf$U.o \
kclk_computime$U.o \
kclk_dcf7000$U.o \
kclk_hopf6021$U.o \
kclk_meinberg$U.o \
kclk_rawdcf$U.o \
kclk_rcc8000$U.o \
kclk_schmid$U.o \
kclk_trimtaip$U.o \
kclk_trimtsip$U.o \
kclk_varitext$U.o \
kclk_wharton$U.o
INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/kernel
ETAGS_ARGS = Makefile.am
EXTRA_DIST = parsesolaris.c parsestreams.c mkinfo_scmd.sed mkinfo_rcmd.sed info_trimble.c
#
# create info_trimble.c
#
info_trimble.c: $(top_srcdir)/include/trimble.h mkinfo_rcmd.sed mkinfo_scmd.sed
@rm -f info_trimble.c
sed -n -f mkinfo_scmd.sed $(top_srcdir)/include/trimble.h > info_trimble.c || rm -f info_trimble.c
sed -n -f mkinfo_rcmd.sed $(top_srcdir)/include/trimble.h >> info_trimble.c || rm -f info_trimble.c
kclk_computime$U.o: clk_computime$U.c
$(COMPILE) -DPARSESTREAM -c $< -o $@
kclk_dcf7000$U.o: clk_dcf7000$U.c
$(COMPILE) -DPARSESTREAM -c $< -o $@
kclk_hopf6021$U.o: clk_hopf6021$U.c
$(COMPILE) -DPARSESTREAM -c $< -o $@
kclk_meinberg$U.o: clk_meinberg$U.c
$(COMPILE) -DPARSESTREAM -c $< -o $@
kclk_rawdcf$U.o: clk_rawdcf$U.c
$(COMPILE) -DPARSESTREAM -c $< -o $@
kclk_rcc8000$U.o: clk_rcc8000$U.c
$(COMPILE) -DPARSESTREAM -c $< -o $@
kclk_schmid$U.o: clk_schmid$U.c
$(COMPILE) -DPARSESTREAM -c $< -o $@
kclk_trimtaip$U.o: clk_trimtaip$U.c
$(COMPILE) -DPARSESTREAM -c $< -o $@
kclk_trimtsip$U.o: clk_trimtsip$U.c
$(COMPILE) -DPARSESTREAM -c $< -o $@
kclk_varitext$U.o: clk_varitext$U.c
$(COMPILE) -DPARSESTREAM -c $< -o $@
kclk_wharton$U.o: clk_wharton$U.c
$(COMPILE) -DPARSESTREAM -c $< -o $@
kparse$U.o: parse$U.c
$(COMPILE) -DPARSESTREAM -c $< -o $@
kparse_conf$U.o: parse_conf$U.c
$(COMPILE) -DPARSESTREAM -c $< -o $@
parsestreams.loadable_module.o: $(parsestreams_OBJECTS) libparse_kernel.a ../libntp/libntp.a
$(LD) -r -o $@ $(parsestreams_OBJECTS) libparse_kernel.a ../libntp/libntp.a
parse: $(parsesolaris_OBJECTS) libparse_kernel.a ../libntp/libntp.a
$(LD) -r -o $@ $(parsesolaris_OBJECTS) libparse_kernel.a ../libntp/libntp.a
../libntp/libntp.a:
cd ../libntp && $(MAKE)
parsesolaris.o: sys/systm.h
sys/systm.h:
mkdir sys && \
sed -e 's/ffs(long)/ffs(int)/' < /usr/include/sys/systm.h > sys/systm.h
|