GNUmakefile
650 Bytes
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
#
# Makefile for multigen database conversion tools
#
DEPTH=../..
include $(DEPTH)/PRdefs
OPTIMIZER = -g
#TARGETS= logtest plog
TARGETS= plog
LC++INCS = -I. -I$(ROOT)/usr/include/PR
LCINCS = -I. -I$(ROOT)/usr/include/PR
LCOPTS =-Wall
LLDLIBS= -lm
.SUFFIXES: .c++
GLDOPTS=
default: $(TARGETS)
include $(COMMONRULES)
getlog: getlog.o
$(C++F) getlog.o $(LDFLAGS) -o $@
logtest: logtest.o ultralog.o
$(C++F) logtest.o ultralog.o $(LDFLAGS) -o $@
plog: plog.o log.o
$(C++F) plog.o log.o $(LDFLAGS) -o $@
install exports: default
$(INSTALL) -F /usr/sbin $(TARGETS)
.c++.o:
$(HOST_CXX) -I$(ROOT)/host_include -D_LANGUAGE_C_PLUS_PLUS -c $<