head 1.37;
access;
symbols
OSSP_RC_0_7_3:1.36
OSSP_RC_0_7_2:1.36
OSSP_RC_0_7_1:1.35
OSSP_RC_ALPHA_06:1.32
OSSP_RC_EXBROKEN:1.32
OSSP_RC_SPEC:1.2;
locks; strict;
comment @# @;
1.37
date 2003.07.11.14.13.16; author ms; state Exp;
branches;
next 1.36;
1.36
date 2003.07.08.11.41.54; author ms; state Exp;
branches;
next 1.35;
1.35
date 2003.07.07.13.30.50; author ms; state Exp;
branches;
next 1.34;
1.34
date 2003.07.07.12.55.42; author ms; state Exp;
branches;
next 1.33;
1.33
date 2003.06.18.14.35.29; author ms; state Exp;
branches;
next 1.32;
1.32
date 2003.05.20.11.45.11; author ms; state Exp;
branches;
next 1.31;
1.31
date 2002.08.02.16.38.09; author ms; state Exp;
branches;
next 1.30;
1.30
date 2002.07.10.19.02.24; author ms; state Exp;
branches;
next 1.29;
1.29
date 2002.06.26.14.11.16; author ms; state Exp;
branches;
next 1.28;
1.28
date 2002.05.28.17.02.56; author ms; state Exp;
branches;
next 1.27;
1.27
date 2002.05.22.13.29.40; author ms; state Exp;
branches;
next 1.26;
1.26
date 2002.04.25.16.17.57; author ms; state Exp;
branches;
next 1.25;
1.25
date 2002.04.24.16.49.08; author ms; state Exp;
branches;
next 1.24;
1.24
date 2002.04.24.16.47.07; author ms; state Exp;
branches;
next 1.23;
1.23
date 2002.04.23.12.30.29; author ms; state Exp;
branches;
next 1.22;
1.22
date 2002.04.22.12.16.39; author ms; state Exp;
branches;
next 1.21;
1.21
date 2002.04.11.16.52.45; author ms; state Exp;
branches;
next 1.20;
1.20
date 2002.04.09.17.06.17; author ms; state Exp;
branches;
next 1.19;
1.19
date 2002.04.09.17.01.54; author ms; state Exp;
branches;
next 1.18;
1.18
date 2002.04.08.15.37.09; author ms; state Exp;
branches;
next 1.17;
1.17
date 2002.03.26.17.11.06; author ms; state Exp;
branches;
next 1.16;
1.16
date 2002.02.28.15.30.04; author ms; state Exp;
branches;
next 1.15;
1.15
date 2002.02.13.19.19.28; author ms; state Exp;
branches;
next 1.14;
1.14
date 2002.02.12.17.59.50; author ms; state Exp;
branches;
next 1.13;
1.13
date 2002.02.08.18.35.03; author ms; state Exp;
branches;
next 1.12;
1.12
date 2002.02.07.15.37.09; author ms; state Exp;
branches;
next 1.11;
1.11
date 2002.02.07.12.38.32; author ms; state Exp;
branches;
next 1.10;
1.10
date 2002.02.06.16.56.33; author ms; state Exp;
branches;
next 1.9;
1.9
date 2002.02.05.20.48.26; author ms; state Exp;
branches;
next 1.8;
1.8
date 2002.02.05.19.11.45; author ms; state Exp;
branches;
next 1.7;
1.7
date 2002.02.05.17.29.17; author ms; state Exp;
branches;
next 1.6;
1.6
date 2002.02.05.14.11.52; author ms; state Exp;
branches;
next 1.5;
1.5
date 2002.02.04.22.35.20; author ms; state Exp;
branches;
next 1.4;
1.4
date 2002.02.04.22.19.29; author ms; state Exp;
branches;
next 1.3;
1.3
date 2002.02.04.21.46.00; author ms; state Exp;
branches;
next 1.2;
1.2
date 2002.01.30.17.29.15; author ms; state Exp;
branches;
next 1.1;
1.1
date 2002.01.24.17.47.47; author ms; state Exp;
branches;
next ;
desc
@@
1.37
log
@Flush of configuration changes before upcoming configuration structure is
completed.
@
text
@##
## OSSP rc - Run-Command Processor
## Copyright (c) 2002-2003 Ralf S. Engelschall
## Copyright (c) 2002-2003 Cable & Wireless Deutschland GmbH
## Copyright (c) 2002-2003 The OSSP Project
##
## This file is part of OSSP rc, a portable run-command processor
## which can be found at http://www.ossp.org/pkg/lib/rc/
##
## Permission to use, copy, modify, and distribute this software for
## any purpose with or without fee is hereby granted, provided that
## the above copyright notice and this permission notice appear in all
## copies.
##
## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
## SUCH DAMAGE.
##
## Makefile.in: make(1) build procedure
##
@@SET_MAKE@@
DESTDIR =
prefix = @@prefix@@
exec_prefix = @@exec_prefix@@
bindir = @@bindir@@
sbindir = @@sbindir@@
libdir = @@libdir@@
includedir = @@includedir@@
mandir = @@mandir@@
CC = @@CC@@
CFLAGS = @@CFLAGS@@ @@DEFS@@
CPPFLAGS = @@CPPFLAGS@@
LDFLAGS = @@LDFLAGS@@
LIBS = @@LIBS@@
RM = rm -f
STRIP = strip
CHMOD = chmod
RMDIR = rmdir
SHTOOL = ./shtool
POD2MAN = pod2man
TRUE = true
PROG_NAME = rc
TARGET = $(TARGET_PROGS) $(TARGET_MANS)
TARGET_PROGS = rc
TARGET_MANS = rc.1 rc-sample.5
SRCS = rc.c rc_error.c rc_list.c rc_script.c rc_file.c rc_sect.c rc_config.c \
rc_filopt.c rc_cliopt.c rc_proc.c rc_version.c rc_pcre.c rc_util.c
OBJS = rc.o rc_error.o rc_list.o rc_script.o rc_file.o rc_sect.o rc_config.o \
rc_filopt.o rc_cliopt.o rc_proc.o rc_version.o rc_pcre.o rc_util.o
SUBDIRS = @@SUBDIR_EX@@ @@SUBDIR_POPT@@
#SUBDIRS = @@SUBDIR_EX@@ @@SUBDIR_VAR@@ @@SUBDIR_VAL@@ @@SUBDIR_STR@@ @@SUBDIR_POPT@@
.SUFFIXES:
.SUFFIXES: .c .cc .cpp .o
.c.o:
$(CC) -c $(CPPFLAGS) $(CFLAGS) $<
all: _SUBDIRS_all $(TARGET)
# Convinience rule calls _SUBDIRS with various make targets
_SUBDIRS_all _SUBDIRS_check _SUBDIRS_install _SUBDIRS_uninstall _SUBDIRS_clean \
_SUBDIRS_distclean _SUBDIRS_realclean _SUBDIRS_depend:
@@$(MAKE) $(MFLAGS) \
_SUBDIRS_TARGET=`echo $@@ | sed -e 's/^_SUBDIRS_//'` \
_SUBDIRS_STEPDOWN
# Nonrecursive rule makes the subdirs
_SUBDIRS_STEPDOWN:
@@for subdir in $(SUBDIRS); do \
test ! -f "$$subdir/Makefile" && continue; \
echo "===> $(_SUBDIRS_DP)$$subdir ($(_SUBDIRS_TARGET))"; \
(cd $$subdir; \
$(MAKE) $(MFLAGS) \
_SUBDIRS_DP="$(_SUBDIRS_DP)$$subdir/" \
$(_SUBDIRS_TARGET) || exit 1) || exit 1; \
echo "<=== $(_SUBDIRS_DP)$$subdir"; \
done
# Build pcre regex library
rc_pcre.o: rc_pcre.tab rc_pcre.c
rc_pcre.tab: rc_pcre.c
# $(CC) $(CFLAGS) -DRC_PCRE_TAB $(LDFLAGS) -o rc_pcre.gen rc_pcre.c $(LIBS)
$(CC) $(CFLAGS) -DRC_PCRE_TAB $(LDFLAGS) -o rc_pcre.gen rc_pcre.c
./rc_pcre.gen >rc_pcre.tab
$(RM) rc_pcre.gen
$(PROG_NAME): $(OBJS)
# $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o $@@ $(OBJS) $(LIBS)
$(CC) $(LDFLAGS) -o $@@ $(OBJS) $(LIBS)
$(CHMOD) 755 rc_test.sh > /dev/null 2>&1
rc.1: rc.pod
VS=`$(SHTOOL) version -lc -dshort rc_version.c`; \
VL=`$(SHTOOL) version -lc -dlong rc_version.c`; \
$(POD2MAN) --section=1 --center="Run-command processor" \
--release="$$VS" --date="$$VL" \
rc.pod >rc.1
rc-sample.5: rc-sample.pod
VS=`$(SHTOOL) version -lc -dshort rc_version.c`; \
VL=`$(SHTOOL) version -lc -dlong rc_version.c`; \
$(POD2MAN) --section=5 --center="Run-command processor samples" \
--release="$$VS" --date="$$VL" \
rc-sample.pod >rc-sample.5
install:
$(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(prefix)
$(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(bindir)
$(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(mandir)/man1
$(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(mandir)/man5
$(SHTOOL) install -s -c -m 755 rc $(DESTDIR)$(bindir)/rc
$(SHTOOL) install -c -m 644 rc.1 $(DESTDIR)$(mandir)/man1/rc.1
$(SHTOOL) install -c -m 644 rc-sample.5 $(DESTDIR)$(mandir)/man5/rc-sample.5
uninstall:
$(RM) $(DESTDIR)$(bindir)/rc
$(RM) $(DESTDIR)$(mandir)/man1/rc.1
$(RM) $(DESTDIR)$(mandir)/man5/rc-sample.5
clean:
$(RM) $(TARGET) $(OBJS) $(PROG_NAME).core rc_pcre.tab
distclean: clean
$(RM) config.log config.status config.cache # Generated by ./configure
$(RM) Makefile ac_config.h # Generated by ./configure
realclean: distclean
$(RM) configure ac_config.h.in # Generated by Autoconf
$(RM) shtool
check: test
test: $(PROG_NAME)
./rc_test.sh
.PHONY: install uninstall clean distclean realclean check test
@
1.36
log
@Install executables with correct modes.
@
text
@d63 1
a63 1
rc_cliopt.c rc_proc.c rc_version.c rc_pcre.c rc_util.c
d66 1
a66 1
rc_cliopt.o rc_proc.o rc_version.o rc_pcre.o rc_util.o
d129 1
a129 1
$(SHTOOL) install -c -m 755 rc $(DESTDIR)$(bindir)/rc
@
1.35
log
@More header corrections and improvements.
@
text
@d129 1
a129 1
$(SHTOOL) install -c -m 644 rc $(DESTDIR)$(bindir)/rc
@
1.34
log
@Correct and update copyrights and source headers.
@
text
@d2 1
a2 1
## OSSP rc - Run-command processor
d7 1
a7 1
## This file is part of OSSP rc, a portable Run-command processor
@
1.33
log
@Removed analyzer class, removed label class, implemented list class,
implemented file class, cleanup and restructure.
@
text
@d3 3
a5 3
## Copyright (c) 2002 Ralf S. Engelschall
## Copyright (c) 2002 Cable & Wireless Deutschland GmbH
## Copyright (c) 2002 The OSSP Project
@
1.32
log
@Added label class to represent a run command label (prefixed by rc. in most
cases).
@
text
@d62 1
a62 1
SRCS = rc.c rc_error.c rc_anal.c rc_script.c rc_lab.c rc_sect.c rc_config.c \
d65 1
a65 1
OBJS = rc.o rc_error.o rc_anal.o rc_script.o rc_lab.o rc_sect.o rc_config.o \
@
1.31
log
@Newly born section class for use in piecing together script fragments.
@
text
@d62 1
a62 1
SRCS = rc.c rc_error.c rc_anal.c rc_script.c rc_sect.c rc_config.c \
d65 1
a65 1
OBJS = rc.o rc_error.o rc_anal.o rc_script.o rc_sect.o rc_config.o \
@
1.30
log
@Make the main source file even smaller by splitting out the error handling
logic into a new rc_error source file.
@
text
@d62 1
a62 1
SRCS = rc.c rc_error.c rc_anal.c rc_script.c rc_config.c \
d65 1
a65 1
OBJS = rc.o rc_error.o rc_anal.o rc_script.o rc_config.o \
@
1.29
log
@Intermediate committal, lots of additions, compiles and works very limited.
@
text
@d62 2
a63 2
SRCS = rc.c rc_anal.c rc_script.c rc_config.c rc_cliopt.c \
rc_proc.c rc_version.c rc_pcre.c rc_util.c
d65 2
a66 2
OBJS = rc.o rc_anal.o rc_script.o rc_config.o rc_cliopt.o \
rc_proc.o rc_version.o rc_pcre.o rc_util.o
@
1.28
log
@Fix stupid cut and paste error.
@
text
@d62 1
a62 1
SRCS = rc.c rc_anal.c rc_config.c rc_cliopt.c \
d65 1
a65 1
OBJS = rc.o rc_anal.o rc_config.o rc_cliopt.o \
@
1.27
log
@Fix the build, comment missing pieces, and synchronize throughout.
@
text
@d134 3
a136 3
$(RM) $(DESTDIR)$(DESTDIR)$(bindir)/rc
$(RM) $(DESTDIR)$(DESTDIR)$(mandir)/man1/rc.1
$(RM) $(DESTDIR)$(DESTDIR)$(mandir)/man5/rc-sample.5
@
1.26
log
@Begin processor pieces.
@
text
@d62 2
a63 2
SRCS = rc.c rc_config.c rc_cliopt.c rc_proc.c \
rc_version.c rc_pcre.c rc_util.c
d65 2
a66 2
OBJS = rc.o rc_config.o rc_cliopt.o rc_proc.o \
rc_version.o rc_pcre.o rc_util.o
@
1.25
log
@Remove OSSP str from build configuration, because it is not used.
@
text
@d62 1
a62 1
SRCS = rc.c rc_config.c rc_cliopt.c \
d65 1
a65 1
OBJS = rc.o rc_config.o rc_cliopt.o \
@
1.24
log
@Command line option configuration and some processor operations.
@
text
@d68 1
a68 1
SUBDIRS = @@SUBDIR_EX@@ @@SUBDIR_STR@@ @@SUBDIR_POPT@@
@
1.23
log
@Added OSSP str back to build configuration, and used it for output formatting.
Added pieces of rc file and section command line parsing logic.
@
text
@d108 1
d150 1
a150 2
test: rc
$(CHMOD) 755 rc_test.sh > /dev/null 2>&1
@
1.22
log
@Configuration string parsing logic.
@
text
@d68 1
a68 1
SUBDIRS = @@SUBDIR_EX@@ @@SUBDIR_POPT@@
@
1.21
log
@Flush the toilet.
@
text
@d112 1
a112 1
$(POD2MAN) --section=5 --center="Run-command processor" \
@
1.20
log
@Remove cut and paste crap.
@
text
@d62 2
a63 2
SRCS = rc.c rc_config.c rc_optimpl.c rc_option.c\
rc_cliopt.c rc_opt.c rc_version.c rc_pcre.c rc_util.c
d65 2
a66 2
OBJS = rc.o rc_config.o rc_optimpl.o rc_option.o\
rc_cliopt.o rc_opt.o rc_version.o rc_pcre.o rc_util.o
@
1.19
log
@Flush configuration changes.
@
text
@d63 1
a63 1
rc_cliopt.c rc_version.c rc_pcre.c rc_util.c
d66 1
a66 1
rc_cliopt.o rc_version.o rc_pcre.o rc_util.o
@
1.18
log
@Bring build back to life and remove val code.
@
text
@d63 1
a63 1
rc_version.c rc_pcre.c rc_util.c
d66 1
a66 1
rc_version.o rc_pcre.o rc_util.o
@
1.17
log
@Vacation flush, mostly build configuration details. Its not building very
clean right now.
@
text
@d68 2
a69 1
SUBDIRS = @@SUBDIR_EX@@ @@SUBDIR_VAR@@ @@SUBDIR_VAL@@ @@SUBDIR_STR@@ @@SUBDIR_POPT@@
@
1.16
log
@Cleanup and structuring.
@
text
@d2 2
a3 1
## rc - OSSP Run-command processor
a5 1
## Copyright (c) 2002 Ralf S. Engelschall
d8 1
a8 1
## which can be found at http://www.ossp.org/pkg/rc/
@
1.15
log
@Small corrections in both logic and build configuration.
PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
@
text
@d62 2
a63 2
SRCS = rc.c rc_config.c rc_option.c rc_version.c\
rc_pcre.c rc_util.c
d65 2
a66 2
OBJS = rc.o rc_config.o rc_option.o rc_version.o\
rc_pcre.o rc_util.o
@
1.14
log
@Cleanup.
PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
@
text
@d105 2
a106 2
# $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o $@@ $+ $(LIBS)
$(CC) $(LDFLAGS) -o $@@ $+ $(LIBS)
@
1.13
log
@Use OSSP val library.
PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
@
text
@d49 1
d105 2
a106 2
# $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o $(PROG_NAME) $(OBJS) $(LIBS)
$(CC) $(LDFLAGS) -o $(PROG_NAME) $(OBJS) $(LIBS)
d122 1
a122 1
install: all
d151 2
@
1.12
log
@Fix build configuration.
PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
@
text
@d61 2
a62 2
SRCS = rc.c rc_option.c rc_version.c rc_pcre.c
OBJS = rc.o rc_option.o rc_version.o rc_pcre.o
d64 4
a67 1
SUBDIRS = @@SUBDIR_EX@@ @@SUBDIR_VAR@@ @@SUBDIR_STR@@ @@SUBDIR_POPT@@
d140 1
a140 1
$(RM) Makefile rc_config.h # Generated by ./configure
d143 1
a143 1
$(RM) configure rc_config.h.in # Generated by Autoconf
@
1.11
log
@Abstract rc's config according to design.
PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
@
text
@d49 1
d145 2
a146 1
./test.sh
@
1.10
log
@Small build configuration changes, including some building with OSSP ex.
PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
@
text
@d60 2
a61 2
SRCS = rc.c rc_version.c rc_pcre.c
OBJS = rc.o rc_version.o rc_pcre.o
d136 1
a136 1
$(RM) Makefile rc_config.h # Generated by ./configure
d139 1
a139 1
$(RM) configure rc_config.h.in # Generated by Autoconf
@
1.9
log
@One last cleaning detail.
PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
@
text
@d122 8
a129 2
$(SHTOOL) install -c -m 644 rc.1 $(mandir)/man1/rc.1
$(SHTOOL) install -c -m 644 rc-sample.5 $(mandir)/man5/rc-sample.5
@
1.8
log
@Rc can build again, at least with static library linking.
PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
@
text
@d126 1
a126 1
$(RM) $(TARGET) $(OBJS) $(PROG_NAME).core
@
1.7
log
@Transition flush.
PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
@
text
@a50 1
LIBTOOL = ./libtool
d61 1
a61 1
OBJS = rc.o rc_version.o rc_pcre.lo
d66 1
a66 1
.SUFFIXES: .c .cc .cpp .o .lo
a68 2
.c.lo:
$(LIBTOOL) --mode=compile --quiet $(CC) -c $(CPPFLAGS) $(CFLAGS) $<
d92 1
a92 1
rc_pcre.lo: rc_pcre.tab rc_pcre.c
d126 1
a126 1
$(RM) $(TARGET) $(OBJS)
d129 2
a130 5
$(RM) config.log config.status config.cache
$(RM) Makefile rc_config.h rc_pcre.tab
$(RM) config.log config.status config.cache
$(RM) Makefile rc_config.h
$(RM) libtool
d133 1
a133 2
$(RM) ltmain.sh libtool.m4 config.guess config.sub
$(RM) configure rc_config.h.in
d138 1
a138 1
@@./test.sh
@
1.6
log
@Remove libtool and fix the build some more.
PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
@
text
@d51 1
d55 2
d67 1
a67 1
.SUFFIXES: .c .cc .cpp .o
d70 2
a93 5
$(TARGET_PROGS): Makefile $(OBJS)
$(CC) $(LDFLAGS) -o $(TARGET_PROGS) $(OBJS) $(LIBS)
$(OBJS): Makefile
d97 2
a98 1
$(CC) $(CFLAGS) -DRC_PCRE_TAB $(LDFLAGS) -o rc_pcre.gen rc_pcre.c $(LIBS)
d102 4
d134 3
d139 1
@
1.5
log
@Fixed copyright.
PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
@
text
@a50 1
LIBTOOL = ./libtool
d58 2
a59 1
PROG_OBJS = rc.o rc_version.o
d63 4
a66 1
all: $(SUBDIRS) $(TARGET)
d68 1
a68 2
.c.o:
$(CC) $(CPPFLAGS) $(CFLAGS) -c $<
d70 30
a99 2
$(PROG): Makefile $(OBJS) $(HDRS)
$(CC) $(LDFLAGS) -o $(PROG) $(OBJS) $(LIBS)
d104 1
a104 1
$(POD2MAN) --section=5 --center="OSSP Run-command processor" \
d111 1
a111 1
$(POD2MAN) --section=5 --center="OSSP Run-command processor samples" \
d118 4
d124 1
a124 2
-$(RM) $(TARGET_PROG) $(PROG_OBJS)
-$(RM) $(TARGET_TST) $(TST_OBJS)
d127 2
a128 3
-$(RM) config.log config.status config.cache
-$(RM) Makefile rc_config.h
-$(RM) libtool
d131 2
a132 3
-$(RM) configure rc_config.h.in
-$(RM) shtool
-$(RM) ltmain.sh libtool.m4 config.guess config.sub
d134 2
a135 1
check: rc
@
1.4
log
@More configuration changes, trying to fix the build.
PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
@
text
@d2 1
a2 1
## rc - OSSP Runcommand processor
d7 1
a7 1
## This file is part of OSSP rc, a portable Runcommand processor
@
1.3
log
@Changed to rc_config.h.in and some other build configuration corrections.
PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
@
text
@d55 1
a55 1
TARGET = $(TARGET_PROGS) $(TARGET_MANS) $(TARGET_TESTS)
d57 1
a57 2
TARGET_MANS = rc.1
TARGET_TESTS = rc_test
d59 1
a59 2
PROG_OBJS = rc.o
TST_OBJS = rc_test.o
d61 1
a61 1
SUBDIRS = @@SUBDIR_EX@@ @@SUBDIR_VAR@@ @@SUBDIR_STR@@
d68 2
a69 2
$(TARGET_TEST): $(TST_OBJS)
@@$(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $(TST_NAME) $(TST_OBJS) $(LIB_NAME) $(LIBS)
d71 13
a83 2
check: $(TARGET_TEST)
@@$(LIBTOOL) --mode=execute ./$(TST_NAME)
d85 1
a85 1
install:
a88 4
uninstall:
-$(RMDIR) $(DESTDIR)$(bindir) >/dev/null 2>&1 || $(TRUE)
-$(RMDIR) $(DESTDIR)$(prefix) >/dev/null 2>&1 || $(TRUE)
d103 2
@
1.2
log
@Refresh current project state, add OSSP ex library, corrections.
PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
@
text
@d90 1
a90 1
-$(RM) Makefile config.h
d94 1
a94 1
-$(RM) configure config.h.in
@
1.1
log
@Buildconf and example files.
PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
@
text
@d63 1
a63 1
SUBDIRS = @@SUBDIR_VAR@@ @@SUBDIR_STR@@
@