Commit e2d662aa authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(doinstall): Install $(PROGRAMS).

(PROGRAMS): Added updateLysKOM.
(updateLysKOM, updateLysKOM.o): New targets.
parent 91c1f397
#
# $Id: Makefile.src,v 1.14 1994/03/05 22:13:35 ceder Exp $
# $Id: Makefile.src,v 1.15 1994/03/06 20:02:01 ceder Exp $
# Copyright (C) 1991 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
......@@ -74,13 +74,16 @@ SPECIALS = call-switch.incl com.h fnc-def-init.incl \
prot-a-parse-arg.h fncdef-no-str-limit.txt .gdbinit \
$(C_SPECIALS)
PROGRAMS = lyskomd dbck
PROGRAMS = lyskomd dbck updateLysKOM
all binaries: $(PROGRAMS)
lyskomd: $(DISKOBJS) $(GENOBJS)
$(CC) $(LDFLAGS) -o lyskomd $(DISKOBJS) $(GENOBJS) $(LIBS)
updateLysKOM: updateLysKOM.o
$(CC) $(LDFLAGS) -o updateLysKOM updateLysKOM.o $(LIBS)
encrypt: $(ENCRYPT)
$(CC) $(LDFLAGS) -o enrypt $(ENCRYPT) $(LIBS)
......@@ -131,14 +134,16 @@ tags:
server-config.o: Makefile
$(CC) -c $(CPPFLAGS) -DDEFAULT_PREFIX='"$(prefix)"' $(ALL_CFLAGS) \
$(srcdir)/server-config.c
updateLysKOM.o: Makefile
$(CC) -c $(CPPFLAGS) -DDEFAULT_PREFIX='"$(prefix)"' $(ALL_CFLAGS) \
$(srcdir)/updateLysKOM.c
]
define([preinstall],[[$(PROGRAMS)]])dnl
define([doinstall],
[[ echo Server not installed.
# cp lyskomd $(DESTDIR)/ramkomd # The utilites wants ramkomd.
# cp dbck $(DESTDIR)/
# strip $(DESTDIR)/dbck
# Don't strip ramkomd - we want debugging info!
[[ for i in $(PROGRAMS); do \
$(INSTALL_PROGRAM) $$i $(bindir)/$$i; \
done
]])dnl end of doinstall
dnl
define([prebinaries],[[$(PROGRAMS)]])dnl
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment