blob: 2548b11b76895ccb73de6680da37b43af3b6b88f (
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
|
--- Makefile.orig Sat Apr 10 02:47:19 1999
+++ Makefile Fri Aug 20 14:51:05 1999
@@ -1,7 +1,7 @@
# Uptime Client Makefile
# Location of config file (for example /etc/upclient.conf)
-CONFIGFILE = upclient.conf
+CONFIGFILE = $(PREFIX)/etc/upclient.conf
################
@@ -29,10 +29,8 @@
upclient
bsd:
- $(MAKE) CC=gcc \
- LDFLAGS= \
- OBJECTS= \
- CFLAGS='-DPLAT_xxxBSD -DCONFIGFILE=\"$(CONFIGFILE)\"' \
+ $(MAKE) OBJECTS= \
+ CFLAGS='$(CFLAGS) -DPLAT_xxxBSD -DCONFIGFILE=\"$(CONFIGFILE)\"' \
upclient
solaris:
@@ -88,3 +86,5 @@
install: prepared-for-install
strip $(BINNAME)
chmod 755 $(BINNAME)
+ $(INSTALL) $(BINNAME) $(PREFIX)/bin
+ $(CP) upclient.conf $(PREFIX)/etc
|