Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
e2d662aa
Commit
e2d662aa
authored
Mar 06, 1994
by
Per Cederqvist
Browse files
(doinstall): Install $(PROGRAMS).
(PROGRAMS): Added updateLysKOM. (updateLysKOM, updateLysKOM.o): New targets.
parent
91c1f397
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server/Makefile.src
View file @
e2d662aa
#
# $Id: Makefile.src,v 1.1
4
1994/03/0
5
2
2:13:35
ceder Exp $
# $Id: Makefile.src,v 1.1
5
1994/03/0
6
2
0: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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment