mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
When doing parallel builds, we currently get the following error for iucvterm: ~/s390-tools/iucvterm (bb/holzheu/install-configs)# make install -j INSTALL iucvterm CC iucvterm/src/iucvconn.o INSTALL iucvterm/src CC iucvterm/src/getopt.o install: cannot stat 'iucvconn': No such file or directory install: cannot stat 'iucvtty': No such file or directory Makefile:19: recipe for target 'install' failed Fix this and "all" as explicit dependency to the install target. Reviewed-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com> Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com> Signed-off-by: Stefan Haberland <sth@linux.vnet.ibm.com>
38 lines
815 B
Makefile
38 lines
815 B
Makefile
#! /usr/bin/make -f
|
|
|
|
include ../../common.mak
|
|
|
|
ifndef GETTEXT_TEXTDOMAIN
|
|
GETTEXT_TEXTDOMAIN = iucvterm
|
|
endif
|
|
|
|
ALL_CPPFLAGS += -I../include
|
|
ALL_CPPFLAGS += -DUSE_NLS -DGETTEXT_TEXTDOMAIN=\"$(GETTEXT_TEXTDOMAIN)\"
|
|
#ALL_CPPFLAGS += -D__DEBUG__
|
|
|
|
PROGRAMS = iucvconn iucvtty
|
|
SYSTOOLS = ttyrun
|
|
|
|
all: $(PROGRAMS) $(SYSTOOLS)
|
|
check:
|
|
install: all
|
|
for prg in $(PROGRAMS); do \
|
|
$(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 $$prg $(DESTDIR)$(USRBINDIR) ; \
|
|
done
|
|
for prg in $(SYSTOOLS); do \
|
|
$(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 $$prg $(DESTDIR)$(BINDIR) ; \
|
|
done
|
|
|
|
clean:
|
|
-rm -f *.o $(PROGRAMS) $(SYSTOOLS)
|
|
|
|
iucvconn: iucvconn.o getopt.o auditlog.o functions.o
|
|
|
|
iucvtty: LDLIBS = -lutil
|
|
iucvtty: iucvtty.o getopt.o auditlog.o functions.o
|
|
|
|
ttyrun: GETTEXT_TEXTDOMAIN = ttyrun
|
|
ttyrun: ttyrun.o
|
|
|
|
.PHONY: install clean
|