head 1.158; access; symbols PTH_2_0_7:1.156 PTH_2_0_6:1.155 PTH_2_0_5:1.155 PTH_2_0_4:1.155 PTH_2_0_3:1.153 PTH_2_0_2:1.151 PTH_2_0_1:1.151 PTH_2_0_0:1.150 PTH_2_0b2:1.149 PTH_2_0b1:1.148 PTH_2_0b0:1.148 PTH_1_4:1.144.0.2 PTH_1_4_1:1.144 PTH_1_4_0:1.143 PTH_1_3_7:1.135.2.2 PTH_1_4a3:1.140 PTH_1_3_6:1.135.2.1 PTH_1_4a2:1.140 PTH_1_3_5:1.135.2.1 PTH_1_4a1:1.139 PTH_1_3_4:1.135.2.1 PTH_1_3:1.135.0.2 PTH_1_3_3:1.135 PTH_1_3_2:1.133 PTH_1_3_1:1.133 PTH_1_3_0:1.133 PTH_1_3b3:1.128 PTH_1_2_3:1.114.2.2 PTH_1_3b2:1.128 PTH_1_3b1:1.126 PTH_1_3a5:1.125 PTH_1_3a4:1.123 PTH_1_3a3:1.123 PTH_1_2_2:1.114.2.1 PTH_1_3a2:1.122 PTH_1_2_1:1.114.2.1 PTH_1_3a1:1.118 PTH_1_2:1.114.0.2 PTH_1_2_0:1.114 PTH_1_2b8:1.112 PTH_1_2b7:1.107 PTH_1_1_6:1.95 PTH_1_2b6:1.106 PTH_1_2b5:1.103 PTH_1_2b4:1.103 PTH_1_2b3:1.102 PTH_1_2b2:1.97 PTH_1_2b1:1.96 PTH_1_1_5:1.95 PTH_1_0_6:1.88 PTH_1_0_5:1.88 PTH_1_0:1.88.0.2 PTH_1_1:1.95.0.2 PTH_1_1_4:1.95 PTH_1_1_3:1.95 PTH_1_1_2:1.93 PTH_1_1_1:1.92 PTH_1_1_0:1.92 PTH_1_1b7:1.92 PTH_1_1b6:1.92 PTH_1_1b5:1.92 PTH_1_1b4:1.91 PTH_1_1b3:1.91 PTH_1_1b2:1.91 PTH_1_1b1:1.91 PTH_1_0_4:1.88 PTH_1_0_3:1.86 PTH_1_0_2:1.85 PTH_1_0_1:1.76 PTH_1_0_0:1.73 PTH_1_0b8:1.69 PTH_1_0b7:1.68 PTH_1_0b6:1.67 PTH_1_0b5:1.67 PTH_1_0b4:1.65 PTH_1_0b3:1.61 PTH_1_0b2:1.59 PTH_1_0b1:1.54 PTH_0_9_21:1.47 PTH_0_9_20:1.47 PTH_0_9_19:1.44 PTH_0_9_18:1.43 PTH_0_9_17:1.39 PTH_0_9_16:1.36 PTH_0_9_15:1.34 PTH_0_9_14:1.32 PTH_0_9_13:1.32 PTH_0_9_12:1.28 PTH_0_9_11:1.28 PTH_0_9_10:1.27 PTH_0_9_9:1.20 PTH_0_9_8:1.17 PTH_0_9_7:1.12 PTH_0_9_6:1.10 PTH_0_9_5:1.9 PTH_0_9_4:1.9 PTH_0_9_3:1.7 PTH_0_9_2:1.5 PTH_0_9_1:1.4 PTH_0_9_0:1.1.1.1 RSE:1.1.1; locks; strict; comment @# @; 1.158 date 2007.01.01.18.23.52; author rse; state Exp; branches; next 1.157; commitid 9DhdiirNzQPBIP0s; 1.157 date 2006.06.12.18.02.52; author rse; state Exp; branches; next 1.156; commitid lF669ffNur3U7KAr; 1.156 date 2006.06.08.17.54.51; author rse; state Exp; branches; next 1.155; commitid x8N3mLVdQgkbdeAr; 1.155 date 2004.12.31.19.34.44; author rse; state Exp; branches; next 1.154; 1.154 date 2004.12.06.19.47.38; author rse; state Exp; branches; next 1.153; 1.153 date 2004.12.03.17.03.30; author rse; state Exp; branches; next 1.152; 1.152 date 2004.10.08.18.31.14; author rse; state Exp; branches; next 1.151; 1.151 date 2004.07.13.10.50.49; author rse; state Exp; branches; next 1.150; 1.150 date 2003.01.01.15.49.11; author rse; state Exp; branches; next 1.149; 1.149 date 2002.11.30.20.16.00; author rse; state Exp; branches; next 1.148; 1.148 date 2002.11.03.09.59.32; author rse; state Exp; branches; next 1.147; 1.147 date 2002.10.15.20.34.22; author rse; state Exp; branches; next 1.146; 1.146 date 2002.01.30.13.15.33; author rse; state Exp; branches; next 1.145; 1.145 date 2002.01.30.12.54.21; author rse; state Exp; branches; next 1.144; 1.144 date 2002.01.27.11.03.39; author rse; state Exp; branches; next 1.143; 1.143 date 2001.03.24.15.00.11; author rse; state Exp; branches; next 1.142; 1.142 date 2001.03.24.14.51.03; author rse; state Exp; branches; next 1.141; 1.141 date 2000.10.05.12.28.06; author rse; state Exp; branches; next 1.140; 1.140 date 2000.07.01.12.40.50; author rse; state Exp; branches; next 1.139; 1.139 date 2000.03.22.08.23.20; author rse; state Exp; branches; next 1.138; 1.138 date 2000.03.14.19.59.57; author rse; state Exp; branches; next 1.137; 1.137 date 2000.03.14.17.27.11; author rse; state Exp; branches; next 1.136; 1.136 date 2000.03.12.16.47.39; author rse; state Exp; branches; next 1.135; 1.135 date 2000.02.28.16.19.55; author rse; state Exp; branches 1.135.2.1; next 1.134; 1.134 date 2000.02.24.20.03.20; author rse; state Exp; branches; next 1.133; 1.133 date 2000.02.19.16.41.09; author rse; state Exp; branches; next 1.132; 1.132 date 2000.02.19.16.39.08; author rse; state Exp; branches; next 1.131; 1.131 date 2000.02.19.16.04.00; author rse; state Exp; branches; next 1.130; 1.130 date 2000.02.19.16.01.13; author rse; state Exp; branches; next 1.129; 1.129 date 2000.02.19.15.59.29; author rse; state Exp; branches; next 1.128; 1.128 date 2000.01.27.19.13.36; author rse; state Exp; branches; next 1.127; 1.127 date 2000.01.27.17.59.22; author rse; state Exp; branches; next 1.126; 1.126 date 2000.01.26.10.10.49; author rse; state Exp; branches; next 1.125; 1.125 date 2000.01.15.15.34.57; author rse; state Exp; branches; next 1.124; 1.124 date 2000.01.15.15.28.39; author rse; state Exp; branches; next 1.123; 1.123 date 2000.01.06.15.37.37; author rse; state Exp; branches; next 1.122; 1.122 date 99.12.30.21.58.58; author rse; state Exp; branches; next 1.121; 1.121 date 99.12.24.17.11.13; author rse; state Exp; branches; next 1.120; 1.120 date 99.12.14.17.31.48; author rse; state Exp; branches; next 1.119; 1.119 date 99.11.09.08.11.30; author rse; state Exp; branches; next 1.118; 1.118 date 99.11.02.14.15.06; author rse; state Exp; branches; next 1.117; 1.117 date 99.11.01.19.03.49; author rse; state Exp; branches; next 1.116; 1.116 date 99.11.01.11.54.30; author rse; state Exp; branches; next 1.115; 1.115 date 99.11.01.10.27.17; author rse; state Exp; branches; next 1.114; 1.114 date 99.10.31.11.46.11; author rse; state Exp; branches 1.114.2.1; next 1.113; 1.113 date 99.10.27.06.03.37; author rse; state Exp; branches; next 1.112; 1.112 date 99.10.26.14.57.16; author rse; state Exp; branches; next 1.111; 1.111 date 99.10.26.14.53.13; author rse; state Exp; branches; next 1.110; 1.110 date 99.10.26.10.15.42; author rse; state Exp; branches; next 1.109; 1.109 date 99.10.26.09.50.53; author rse; state Exp; branches; next 1.108; 1.108 date 99.10.26.08.56.09; author rse; state Exp; branches; next 1.107; 1.107 date 99.10.22.10.20.36; author rse; state Exp; branches; next 1.106; 1.106 date 99.09.28.08.12.24; author rse; state Exp; branches; next 1.105; 1.105 date 99.09.24.21.44.19; author rse; state Exp; branches; next 1.104; 1.104 date 99.09.24.21.14.20; author rse; state Exp; branches; next 1.103; 1.103 date 99.09.17.16.29.33; author rse; state Exp; branches; next 1.102; 1.102 date 99.09.17.09.39.12; author rse; state Exp; branches; next 1.101; 1.101 date 99.09.17.09.37.21; author rse; state Exp; branches; next 1.100; 1.100 date 99.09.17.09.34.15; author rse; state Exp; branches; next 1.99; 1.99 date 99.09.17.09.29.54; author rse; state Exp; branches; next 1.98; 1.98 date 99.09.17.08.01.54; author rse; state Exp; branches; next 1.97; 1.97 date 99.09.04.12.32.40; author rse; state Exp; branches; next 1.96; 1.96 date 99.08.31.10.56.13; author rse; state Exp; branches; next 1.95; 1.95 date 99.08.26.16.29.13; author rse; state Exp; branches; next 1.94; 1.94 date 99.08.26.16.18.29; author rse; state Exp; branches; next 1.93; 1.93 date 99.08.23.12.00.53; author rse; state Exp; branches; next 1.92; 1.92 date 99.08.15.15.20.35; author rse; state Exp; branches; next 1.91; 1.91 date 99.08.07.13.47.50; author rse; state Exp; branches; next 1.90; 1.90 date 99.08.07.12.05.25; author rse; state Exp; branches; next 1.89; 1.89 date 99.08.03.12.56.34; author rse; state Exp; branches; next 1.88; 1.88 date 99.07.31.17.49.17; author rse; state Exp; branches; next 1.87; 1.87 date 99.07.30.12.14.42; author rse; state Exp; branches; next 1.86; 1.86 date 99.07.30.10.39.43; author rse; state Exp; branches; next 1.85; 1.85 date 99.07.28.07.08.24; author rse; state Exp; branches; next 1.84; 1.84 date 99.07.28.07.00.43; author rse; state Exp; branches; next 1.83; 1.83 date 99.07.24.14.39.03; author rse; state Exp; branches; next 1.82; 1.82 date 99.07.24.14.22.40; author rse; state Exp; branches; next 1.81; 1.81 date 99.07.24.14.21.02; author rse; state Exp; branches; next 1.80; 1.80 date 99.07.24.14.13.00; author rse; state Exp; branches; next 1.79; 1.79 date 99.07.24.13.53.50; author rse; state Exp; branches; next 1.78; 1.78 date 99.07.24.13.30.40; author rse; state Exp; branches; next 1.77; 1.77 date 99.07.24.13.25.16; author rse; state Exp; branches; next 1.76; 1.76 date 99.07.19.08.10.05; author rse; state Exp; branches; next 1.75; 1.75 date 99.07.18.09.15.59; author rse; state Exp; branches; next 1.74; 1.74 date 99.07.17.14.54.44; author rse; state Exp; branches; next 1.73; 1.73 date 99.07.16.11.24.48; author rse; state Exp; branches; next 1.72; 1.72 date 99.07.16.11.16.49; author rse; state Exp; branches; next 1.71; 1.71 date 99.07.16.11.15.09; author rse; state Exp; branches; next 1.70; 1.70 date 99.07.16.09.44.24; author rse; state Exp; branches; next 1.69; 1.69 date 99.07.16.08.33.27; author rse; state Exp; branches; next 1.68; 1.68 date 99.07.14.18.28.10; author rse; state Exp; branches; next 1.67; 1.67 date 99.07.11.15.19.11; author rse; state Exp; branches; next 1.66; 1.66 date 99.07.10.14.21.16; author rse; state Exp; branches; next 1.65; 1.65 date 99.07.08.10.34.50; author rse; state Exp; branches; next 1.64; 1.64 date 99.07.08.10.27.47; author rse; state Exp; branches; next 1.63; 1.63 date 99.07.08.10.19.10; author rse; state Exp; branches; next 1.62; 1.62 date 99.07.08.09.40.59; author rse; state Exp; branches; next 1.61; 1.61 date 99.07.07.19.01.21; author rse; state Exp; branches; next 1.60; 1.60 date 99.07.07.06.48.20; author rse; state Exp; branches; next 1.59; 1.59 date 99.07.04.14.13.17; author rse; state Exp; branches; next 1.58; 1.58 date 99.07.04.13.13.10; author rse; state Exp; branches; next 1.57; 1.57 date 99.07.04.12.17.31; author rse; state Exp; branches; next 1.56; 1.56 date 99.07.04.12.05.34; author rse; state Exp; branches; next 1.55; 1.55 date 99.07.04.12.01.42; author rse; state Exp; branches; next 1.54; 1.54 date 99.06.28.11.49.04; author rse; state Exp; branches; next 1.53; 1.53 date 99.06.28.11.37.31; author rse; state Exp; branches; next 1.52; 1.52 date 99.06.28.11.36.26; author rse; state Exp; branches; next 1.51; 1.51 date 99.06.28.10.25.00; author rse; state Exp; branches; next 1.50; 1.50 date 99.06.28.10.24.24; author rse; state Exp; branches; next 1.49; 1.49 date 99.06.27.15.38.03; author rse; state Exp; branches; next 1.48; 1.48 date 99.06.26.14.06.07; author rse; state Exp; branches; next 1.47; 1.47 date 99.06.25.15.14.35; author rse; state Exp; branches; next 1.46; 1.46 date 99.06.25.09.03.35; author rse; state Exp; branches; next 1.45; 1.45 date 99.06.24.11.25.07; author rse; state Exp; branches; next 1.44; 1.44 date 99.06.21.09.42.57; author rse; state Exp; branches; next 1.43; 1.43 date 99.06.20.09.25.30; author rse; state Exp; branches; next 1.42; 1.42 date 99.06.20.09.23.46; author rse; state Exp; branches; next 1.41; 1.41 date 99.06.19.15.59.53; author rse; state Exp; branches; next 1.40; 1.40 date 99.06.19.13.00.13; author rse; state Exp; branches; next 1.39; 1.39 date 99.06.18.09.29.21; author rse; state Exp; branches; next 1.38; 1.38 date 99.06.16.11.49.03; author rse; state Exp; branches; next 1.37; 1.37 date 99.06.12.16.47.12; author rse; state Exp; branches; next 1.36; 1.36 date 99.06.04.21.26.10; author rse; state Exp; branches; next 1.35; 1.35 date 99.06.04.11.14.36; author rse; state Exp; branches; next 1.34; 1.34 date 99.06.02.14.39.51; author rse; state Exp; branches; next 1.33; 1.33 date 99.06.02.14.38.45; author rse; state Exp; branches; next 1.32; 1.32 date 99.06.01.09.55.25; author rse; state Exp; branches; next 1.31; 1.31 date 99.06.01.07.56.34; author rse; state Exp; branches; next 1.30; 1.30 date 99.05.30.15.04.03; author rse; state Exp; branches; next 1.29; 1.29 date 99.05.30.15.00.18; author rse; state Exp; branches; next 1.28; 1.28 date 99.05.28.16.26.32; author rse; state Exp; branches; next 1.27; 1.27 date 99.05.28.10.28.42; author rse; state Exp; branches; next 1.26; 1.26 date 99.05.28.10.27.36; author rse; state Exp; branches; next 1.25; 1.25 date 99.05.28.10.16.17; author rse; state Exp; branches; next 1.24; 1.24 date 99.05.28.10.11.37; author rse; state Exp; branches; next 1.23; 1.23 date 99.05.28.09.05.11; author rse; state Exp; branches; next 1.22; 1.22 date 99.05.25.17.36.52; author rse; state Exp; branches; next 1.21; 1.21 date 99.05.25.17.34.01; author rse; state Exp; branches; next 1.20; 1.20 date 99.05.25.15.50.24; author rse; state Exp; branches; next 1.19; 1.19 date 99.05.25.15.46.06; author rse; state Exp; branches; next 1.18; 1.18 date 99.05.25.15.31.50; author rse; state Exp; branches; next 1.17; 1.17 date 99.05.24.13.08.34; author rse; state Exp; branches; next 1.16; 1.16 date 99.05.24.12.25.07; author rse; state Exp; branches; next 1.15; 1.15 date 99.05.24.10.54.27; author rse; state Exp; branches; next 1.14; 1.14 date 99.05.24.07.58.12; author rse; state Exp; branches; next 1.13; 1.13 date 99.05.24.07.45.56; author rse; state Exp; branches; next 1.12; 1.12 date 99.05.23.14.32.54; author rse; state Exp; branches; next 1.11; 1.11 date 99.05.23.12.37.55; author rse; state Exp; branches; next 1.10; 1.10 date 99.05.22.14.37.52; author rse; state Exp; branches; next 1.9; 1.9 date 99.05.21.09.46.05; author rse; state Exp; branches; next 1.8; 1.8 date 99.05.21.09.44.10; author rse; state Exp; branches; next 1.7; 1.7 date 99.05.14.19.33.37; author rse; state Exp; branches; next 1.6; 1.6 date 99.05.14.16.29.08; author rse; state Exp; branches; next 1.5; 1.5 date 99.05.14.13.47.58; author rse; state Exp; branches; next 1.4; 1.4 date 99.05.13.12.40.15; author rse; state Exp; branches; next 1.3; 1.3 date 99.05.13.12.33.16; author rse; state Exp; branches; next 1.2; 1.2 date 99.05.13.12.32.52; author rse; state Exp; branches; next 1.1; 1.1 date 99.05.13.12.18.16; author rse; state Exp; branches 1.1.1.1; next ; 1.135.2.1 date 2000.03.23.19.44.57; author rse; state Exp; branches; next 1.135.2.2; 1.135.2.2 date 2000.07.29.15.04.34; author rse; state Exp; branches; next ; 1.114.2.1 date 99.11.01.10.24.57; author rse; state Exp; branches; next 1.114.2.2; 1.114.2.2 date 2000.02.04.22.07.17; author rse; state Exp; branches; next ; 1.1.1.1 date 99.05.13.12.18.16; author rse; state Exp; branches; next ; desc @@ 1.158 log @Adjusted all copyright messages for new year 2007. @ text @## ## GNU Pth - The GNU Portable Threads ## Copyright (c) 1999-2007 Ralf S. Engelschall ## ## This file is part of GNU Pth, a non-preemptive thread scheduling ## library which can be found at http://www.gnu.org/software/pth/. ## ## This library is free software; you can redistribute it and/or ## modify it under the terms of the GNU Lesser General Public ## License as published by the Free Software Foundation; either ## version 2.1 of the License, or (at your option) any later version. ## ## This library is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ## Lesser General Public License for more details. ## ## You should have received a copy of the GNU Lesser General Public ## License along with this library; if not, write to the Free Software ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 ## USA, or contact Ralf S. Engelschall . ## ## Makefile.in: Pth Makefile input ## # ``UNIX -- where you can do anything # in two keystrokes, or less...'' @@SET_MAKE@@ ## ## ____ PATH DEFINITIONS ___________________________________________ ## VPATH = @@srcdir@@ srcdir = @@srcdir@@ top_srcdir = @@top_srcdir@@ S = @@srcdir_prefix@@ C = ./ prefix = @@prefix@@ exec_prefix = @@exec_prefix@@ bindir = @@bindir@@ libdir = @@libdir@@ includedir = @@includedir@@ mandir = @@mandir@@ datadir = @@datadir@@ DESTDIR = ## ## ____ TOOL DEFINITIONS ___________________________________________ ## SHELL = /bin/sh CC = @@CC@@ CPPFLAGS = @@CPPFLAGS@@ -I. CFLAGS = @@CFLAGS@@ LDFLAGS = @@LDFLAGS@@ MKFLAGS = $(MFLAGS) DESTDIR=$(DESTDIR) LIBS = @@LIBS@@ SHTOOL = $(srcdir)/shtool LIBTOOL = $(C)libtool RM = rm -f RMDIR = rmdir TRUE = true CAT = cat CP = cp SED = sed ECHO = echo GZIP = gzip GTAR = gtar TARDY = tardy POD2MAN = pod2man GDB = gdb PERL = perl FIG2DEV = fig2dev LATEX = latex DVIPS = dvips GS = gs ## ## ____ TARGET DEFINITIONS _________________________________________ ## BATCH = @@BATCH@@ PLATFORM = @@PLATFORM@@ PTH_MCTX_ID = @@PTH_MCTX_ID@@ PTH_STACK_GROWTH = @@PTH_STACK_GROWTH@@ TARGET_ALL = @@TARGET_ALL@@ TARGET_PREQ = pth_p.h TARGET_LIBS = libpth.la @@LIBPTHREAD_LA@@ TARGET_MANS = $(S)pth-config.1 $(S)pth.3 @@PTHREAD_CONFIG_1@@ @@PTHREAD_3@@ TARGET_TEST = test_std test_mp test_misc test_philo test_sig \ test_select test_httpd test_sfio test_uctx @@TEST_PTHREAD@@ # object files for library generation # (order is just aesthetically important) LOBJS = pth_debug.lo pth_ring.lo pth_pqueue.lo pth_time.lo pth_errno.lo pth_mctx.lo \ pth_uctx.lo pth_tcb.lo pth_sched.lo pth_attr.lo pth_lib.lo pth_event.lo \ pth_data.lo pth_clean.lo pth_cancel.lo pth_msg.lo pth_sync.lo pth_fork.lo \ pth_util.lo pth_high.lo pth_syscall.lo pth_ext.lo pth_compat.lo pth_string.lo # source files for header generation # (order is important and has to follow dependencies in pth_p.h) HSRCS = $(S)pth_compat.c $(S)pth_debug.c $(S)pth_syscall.c $(S)pth_errno.c $(S)pth_ring.c $(S)pth_mctx.c \ $(S)pth_uctx.c $(S)pth_clean.c $(S)pth_time.c $(S)pth_tcb.c $(S)pth_util.c $(S)pth_pqueue.c $(S)pth_event.c \ $(S)pth_sched.c $(S)pth_data.c $(S)pth_msg.c $(S)pth_cancel.c $(S)pth_sync.c $(S)pth_attr.c $(S)pth_lib.c \ $(S)pth_fork.c $(S)pth_high.c $(S)pth_ext.c $(S)pth_string.c $(S)pthread.c ## ## ____ UTILITY DEFINITIONS _________________________________________ ## _VERSION_FILE = \ $(S)pth_vers.c _VERSION = \ echo "updating package version"; \ $(SHTOOL) version -lc -n 'GNU Pth' -p pth_internal_ $$OPT $(_VERSION_FILE); \ V=`$(SHTOOL) version -lc -dlong $(_VERSION_FILE)`; \ $(SED) -e "s/Version .*(.*)/Version $$V/g" README.n && mv README.n README; \ V=`$(SHTOOL) version -lc -dshort $(_VERSION_FILE)`; \ $(SED) -e "s/%define ver .*/%define ver $$V/g" pth.spec.n && mv pth.spec.n pth.spec _TARBALL = \ $(SHTOOL) tarball -o $${NAME}.tar.gz -d $${NAME} -u gnu -g pth \ -e 'CVS,\.cvsignore,\.configure,\.\#.*,\.[ao]$$' -c 'gzip --best' . _MANPAGE = \ echo "Formatting $${BASENAME}.pod into $${BASENAME}.$${SEC} via $(POD2MAN)"; \ V1=`$(SHTOOL) version -lc -dshort $(_VERSION_FILE)`; \ V2=`$(SHTOOL) version -lc -dlong $(_VERSION_FILE)`; \ D=`$(SHTOOL) version -lc -dlong $(_VERSION_FILE) |\ $(SED) -e 's;.*(;;' -e 's;).*;;'`; \ $(POD2MAN) --section=$${SEC} --center="$${ONELINE}" \ --release="$$D" --date="$${NAME} $$V1" $(S)$${BASENAME}.pod |\ $(SED) -e "s;PTH_VERSION_STR;$$V2;" >$${BASENAME}.$${SEC} _DEBUG = \ core=""; \ if [ -f $$TEST.core ]; then \ core="$$TEST.core"; \ elif [ -f core ]; then \ core="core"; \ fi; \ $(LIBTOOL) --mode=execute $(GDB) $$TEST $$core ## ## ____ END USER TARGETS ____________________________________________ ## # be aware of libtool when building the objects .SUFFIXES: .SUFFIXES: .c .o .lo .c.o: $(CC) -c $(CPPFLAGS) $(CFLAGS) $< .c.lo: $(LIBTOOL) --mode=compile --quiet $(CC) -c $(CPPFLAGS) $(CFLAGS) $< # the default target all: all-normal all-normal: $(TARGET_ALL) @@touch .done-all >/dev/null 2>&1 || $(TRUE) @@$(MAKE) $(MKFLAGS) what-next all-for-install: $(TARGET_ALL) @@touch .done-all >/dev/null 2>&1 || $(TRUE) # build the private shared header file pth_p.h: $(S)pth_p.h.in $(SHTOOL) scpp -o pth_p.h -t $(S)pth_p.h.in -Dcpp -Cintern -M '==#==' $(HSRCS) # build the static and possibly shared libraries libpth.la: $(LOBJS) $(LIBTOOL) --mode=link --quiet $(CC) -o libpth.la $(LOBJS) \ -rpath $(libdir) -version-info `$(SHTOOL) version -lc -dlibtool $(_VERSION_FILE)` libpthread.la: pthread.lo $(LOBJS) $(LIBTOOL) --mode=link --quiet $(CC) -o libpthread.la pthread.lo $(LOBJS) \ -rpath $(libdir) -version-info `$(SHTOOL) version -lc -dlibtool $(_VERSION_FILE)` # build the manual pages $(S)pth-config.1: $(S)pth-config.pod $(_VERSION_FILE) @@BASENAME="pth-config"; SEC=1; \ NAME="GNU Pth"; ONELINE="GNU Portable Threads"; \ $(_MANPAGE) $(S)pth.3: $(S)pth.pod $(_VERSION_FILE) @@BASENAME="pth"; SEC=3; \ NAME="GNU Pth"; ONELINE="GNU Portable Threads"; \ $(_MANPAGE) $(S)pthread-config.1: $(S)pthread-config.pod $(_VERSION_FILE) @@BASENAME="pthread-config"; SEC=1; \ NAME="GNU Pth"; ONELINE="POSIX Threading API of GNU Pth"; \ $(_MANPAGE) $(S)pthread.3: $(S)pthread.pod $(_VERSION_FILE) @@BASENAME="pthread"; SEC=3; \ NAME="GNU Pth"; ONELINE="POSIX Threading API of GNU Pth"; \ $(_MANPAGE) # build test program test_std: test_std.o test_common.o libpth.la $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o test_std test_std.o test_common.o libpth.la $(LIBS) test_httpd: test_httpd.o test_common.o libpth.la $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o test_httpd test_httpd.o test_common.o libpth.la $(LIBS) test_misc: test_misc.o test_common.o libpth.la $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o test_misc test_misc.o test_common.o libpth.la $(LIBS) test_mp: test_mp.o test_common.o libpth.la $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o test_mp test_mp.o test_common.o libpth.la $(LIBS) test_philo: test_philo.o test_common.o libpth.la $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o test_philo test_philo.o test_common.o libpth.la $(LIBS) test_sig: test_sig.o test_common.o libpth.la $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o test_sig test_sig.o test_common.o libpth.la $(LIBS) test_select: test_select.o test_common.o libpth.la $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o test_select test_select.o test_common.o libpth.la $(LIBS) test_sfio: test_sfio.o test_common.o libpth.la $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o test_sfio test_sfio.o test_common.o libpth.la $(LIBS) test_uctx: test_uctx.o test_common.o libpth.la $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o test_uctx test_uctx.o test_common.o libpth.la $(LIBS) test_pthread: test_pthread.o test_common.o libpthread.la $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o test_pthread test_pthread.o test_common.o libpthread.la $(LIBS) # build paper rse-pmt.eps: rse-pmt.fig $(FIG2DEV) -L eps -F rse-pmt.fig rse-pmt.eps rse-pmt.aux: rse-pmt.tex rse-pmt.eps $(LATEX) rse-pmt.tex rse-pmt.dvi: rse-pmt.tex rse-pmt.eps rse-pmt.aux $(LATEX) rse-pmt.tex rse-pmt.ps: rse-pmt.dvi $(DVIPS) -o rse-pmt.ps rse-pmt.dvi rse-pmt.pdf: rse-pmt.ps $(GS) -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 \ -sOutputFile=rse-pmt.pdf -c .setpdfwrite -f rse-pmt.ps # install the package install: all-for-install @@$(MAKE) $(MKFLAGS) install-dirs install-pth @@INSTALL_PTHREAD@@ @@touch .done-install >/dev/null 2>&1 || $(TRUE) @@$(MAKE) $(MKFLAGS) what-next install-dirs: $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(prefix) $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(bindir) $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(includedir) $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(libdir) $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(mandir)/man1 $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(mandir)/man3 $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(datadir)/aclocal install-pth: $(SHTOOL) install -c -m 755 pth-config $(DESTDIR)$(bindir)/pth-config $(SHTOOL) install -c -m 644 $(S)pth-config.1 $(DESTDIR)$(mandir)/man1/pth-config.1 $(SHTOOL) install -c -m 644 $(S)pth.3 $(DESTDIR)$(mandir)/man3/pth.3 $(SHTOOL) install -c -m 644 $(S)pth.m4 $(DESTDIR)$(datadir)/aclocal/pth.m4 $(SHTOOL) install -c -m 644 pth.h $(DESTDIR)$(includedir)/pth.h @@umask 022; $(LIBTOOL) --mode=install \ $(SHTOOL) install -c libpth.la $(DESTDIR)$(libdir)/libpth.la install-pthread: $(SHTOOL) install -c -m 755 pthread-config $(DESTDIR)$(bindir)/pthread-config $(SHTOOL) install -c -m 644 $(S)pthread-config.1 $(DESTDIR)$(mandir)/man1/pthread-config.1 $(SHTOOL) install -c -m 644 pthread.h $(DESTDIR)$(includedir)/pthread.h $(SHTOOL) install -c -m 644 $(S)pthread.3 $(DESTDIR)$(mandir)/man3/pthread.3 @@umask 022; $(LIBTOOL) --mode=install \ $(SHTOOL) install -c libpthread.la $(DESTDIR)$(libdir)/libpthread.la # uninstall the package uninstall: @@$(MAKE) $(MKFLAGS) @@UNINSTALL_PTHREAD@@ uninstall-pth uninstall-dirs @@touch .done-uninstall >/dev/null 2>&1 || $(TRUE) @@$(MAKE) $(MKFLAGS) what-next uninstall-pthread: $(RM) $(DESTDIR)$(bindir)/pthread-config $(RM) $(DESTDIR)$(mandir)/man1/pthread-config.1 $(RM) $(DESTDIR)$(includedir)/pthread.h $(RM) $(DESTDIR)$(mandir)/man3/pthread.3 @@$(LIBTOOL) --mode=uninstall $(RM) $(DESTDIR)$(libdir)/libpthread.la uninstall-pth: $(RM) $(DESTDIR)$(bindir)/pth-config $(RM) $(DESTDIR)$(mandir)/man1/pth-config.1 $(RM) $(DESTDIR)$(mandir)/man3/pth.3 $(RM) $(DESTDIR)$(datadir)/aclocal/pth.m4 $(RM) $(DESTDIR)$(includedir)/pth.h @@$(LIBTOOL) --mode=uninstall $(RM) $(DESTDIR)$(libdir)/libpth.la uninstall-dirs: -$(RMDIR) $(DESTDIR)$(datadir)/aclocal >/dev/null 2>&1 || $(TRUE) -$(RMDIR) $(DESTDIR)$(datadir) >/dev/null 2>&1 || $(TRUE) -$(RMDIR) $(DESTDIR)$(mandir)/man1 >/dev/null 2>&1 || $(TRUE) -$(RMDIR) $(DESTDIR)$(mandir)/man3 >/dev/null 2>&1 || $(TRUE) -$(RMDIR) $(DESTDIR)$(mandir) >/dev/null 2>&1 || $(TRUE) -$(RMDIR) $(DESTDIR)$(libdir) >/dev/null 2>&1 || $(TRUE) -$(RMDIR) $(DESTDIR)$(includedir) >/dev/null 2>&1 || $(TRUE) -$(RMDIR) $(DESTDIR)$(bindir) >/dev/null 2>&1 || $(TRUE) -$(RMDIR) $(DESTDIR)$(prefix) >/dev/null 2>&1 || $(TRUE) # strip down the source tree to its minimum striptease: @@PERL=`which perl`; if [ ".$$PERL" = . ]; then \ echo "make:ERROR: command \"$(MAKE) striptease\" requires \"perl\"" 1>&2; \ exit 1; \ fi; \ $$PERL striptease.pl # clean the source tree for re-building clean: $(RM) $(TARGET_PREQ) $(RM) $(TARGET_TEST) $(RM) $(TARGET_LIBS) $(RM) *.o *.lo $(RM) .libs/* -$(RMDIR) .libs >/dev/null 2>&1 || $(TRUE) $(RM) core *.core $(RM) .done-* # clean the source tree for re-configuring and re-building distclean: clean $(RM) Makefile $(RM) pth-config pth_acdef.h pth_acmac.h pth.h $(RM) pthread-config pthread.h $(RM) config.log config.cache config.status $(RM) libtool $(RM) rse-pmt.aux rse-pmt.log $(RM) rse-pmt.eps rse-pmt.dvi $(RM) *.bak *~ # clean the source tree by removing really all generate stuff realclean: distclean $(RM) $(TARGET_MANS) $(RM) rse-pmt.ps ./devtool autoclean # give hints what to do as the next step what-next: -@@if [ ".$(BATCH)" != .yes ]; then \ if [ ".$(WHEN)" != . ]; then \ when="$(WHEN)"; \ else \ when="Now"; \ fi; \ echo ""; \ if [ ! -f .done-all ]; then \ cmd=`$(SHTOOL) echo -e "%Bmake%b"`; \ echo "$$when please type \`$$cmd' to compile. Good luck."; \ elif [ ! -f .done-test ]; then \ cmd=`$(SHTOOL) echo -e "%Bmake test%b"`; \ echo "$$when please type \`$$cmd' to run a quick test suite. Hope it works."; \ elif [ ! -f .done-install ]; then \ cmd=`$(SHTOOL) echo -e "%Bmake install%b"`; \ echo "$$when please type \`$$cmd' to install the package."; \ elif [ ! -f .done-uninstall ]; then \ cmd=`$(SHTOOL) echo -e "%Bmake uninstall%b"`; \ echo "$$when use the package (you can remove it later via \`$$cmd')."; \ cmd=`$(SHTOOL) echo -e "%Becho \"subscribe pth-users\" | mail pth-users-request@@gnu.org%b"`; \ echo "Additionally you should consider subscribing to the GNU Pth support"; \ echo "mailing list pth-users@@gnu.org by running the following command:"; \ echo "\`$$cmd'"; \ else \ echo "$$when there is nothing more you can do here... ;)"; \ echo "There is just \`make clean' left for you."; \ fi; \ echo ""; \ fi # execute and debug one of the test programs test: test-std test-std: test_std -@@./test_std; \ if [ $$? -eq 0 ]; then \ touch .done-test >/dev/null 2>&1 || $(TRUE); \ if [ ".`grep $(PLATFORM) $(S)PORTING`" = . ]; then \ VERSION=`$(SHTOOL) version -lc -dshort $(_VERSION_FILE)`; \ echo "Please send the following summary line via Email to the author"; \ echo "Ralf S. Engelschall for inclusion into"; \ echo "the list of successfully tested platforms (see PORTING file):"; \ echo ""; \ $(SHTOOL) echo -e "Pth: %BOK%b: %B$(PLATFORM)%b | %B$(PTH_MCTX_ID)%b | %B$(PTH_STACK_GROWTH)%b | %B$$VERSION%b"; \ $(MAKE) $(MKFLAGS) what-next WHEN="Then"; \ else \ $(MAKE) $(MKFLAGS) what-next WHEN="Now"; \ fi; \ exit 0; \ else \ VERSION=`$(SHTOOL) version -lc -dshort $(_VERSION_FILE)`; \ echo "Please send the following summary line together with details about"; \ $(SHTOOL) echo -e "the configuration (%Bpth_acdef.h%b, %Bpth_acmac.h%b, %Bconfig.status%b, %Bconfig.log%b)"; \ echo "and build/test steps (output of 'make' and 'make test') to the author"; \ echo "Ralf S. Engelschall to help him in tracking"; \ echo "down your platform problem."; \ echo ""; \ $(SHTOOL) echo -e "Pth: %BFAILED%b: %B$(PLATFORM)%b | %B$(PTH_MCTX_ID)%b | %B$(PTH_STACK_GROWTH)%b | %B$$VERSION%b"; \ echo ""; \ exit 1; \ fi test-httpd: test_httpd ./test_httpd test-mp: test_mp ./test_mp test-misc: test_misc ./test_misc test-philo: test_philo ./test_philo test-sig: test_sig ./test_sig test-select: test_select ./test_select test-sfio: test_sfio ./test_sfio test-uctx: test_uctx ./test_uctx test-pthread: test_pthread ./test_pthread debug: debug-std debug-std: test_std TEST=test_std && $(_DEBUG) debug-httpd: test_httpd TEST=test_httpd && $(_DEBUG) debug-mp: test_mp TEST=test_mp && $(_DEBUG) debug-misc: test_misc TEST=test_misc && $(_DEBUG) debug-philo: test_philo TEST=test_philo && $(_DEBUG) debug-sig: test_sig TEST=test_sig && $(_DEBUG) debug-select: test_select TEST=test_select && $(_DEBUG) debug-sfio: test_sfio TEST=test_sfio && $(_DEBUG) debug-uctx: test_uctx TEST=test_uctx && $(_DEBUG) debug-pthread: test_pthread TEST=test_pthread && $(_DEBUG) # GNU compat targets check: test installcheck: installdirs: install-dirs install-strip: install mostlyclean: clean maintainer-clean: realclean info: dvi: TAGS: ## ## ____ DEPENDENCY AREA ____________________________________________ ## (AUTOMATICALLY UPDATED - DO NOT EDIT) ## $(LOBJS): Makefile # DO NOT REMOVE pth_attr.lo: pth_attr.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_cancel.lo: pth_cancel.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_clean.lo: pth_clean.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_compat.lo: pth_compat.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_data.lo: pth_data.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_debug.lo: pth_debug.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_errno.lo: pth_errno.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_event.lo: pth_event.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_ext.lo: pth_ext.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_fork.lo: pth_fork.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_high.lo: pth_high.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_lib.lo: pth_lib.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_mctx.lo: pth_mctx.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_msg.lo: pth_msg.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_pqueue.lo: pth_pqueue.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_ring.lo: pth_ring.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_sched.lo: pth_sched.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_string.lo: pth_string.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_sync.lo: pth_sync.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_syscall.lo: pth_syscall.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_tcb.lo: pth_tcb.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_time.lo: pth_time.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_util.lo: pth_util.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_vers.lo: pth_vers.c pth_vers.c pthread.o: pthread.c pthread.h pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h test_common.o: test_common.c pth.h test_common.h test_httpd.o: test_httpd.c pth.h test_common.h test_misc.o: test_misc.c pth.h test_mp.o: test_mp.c pth.h test_common.h test_philo.o: test_philo.c pth.h test_common.h test_pthread.o: test_pthread.c pthread.h test_select.o: test_select.c pth.h test_sfio.o: test_sfio.c pth.h test_uctx.o: test_uctx.c pth.h test_sig.o: test_sig.c pth.h test_std.o: test_std.c pth.h @ 1.157 log @Added LaTeX sources of USENIX paper (rse-pmt.tex, rse-pmt.fig) to source tree and add Makefile targets for re-generating outputs (rse-pmt.ps, rse-pmt.pdf). This way all GNU Pth related material is finally part of the same distribution. @ text @d3 1 a3 1 ## Copyright (c) 1999-2006 Ralf S. Engelschall @ 1.156 log @Adjusted all copyright messages for new year 2006 @ text @d76 4 d221 13 d318 2 d325 1 @ 1.155 log @Adjusted all copyright messages for new year 2005. @ text @d3 1 a3 1 ## Copyright (c) 1999-2005 Ralf S. Engelschall @ 1.154 log @Do not insist on writing to the source directory on "make install" in order to more closely follow GNU standards. Remove "*.bak" and "*~" files under "make distclean" instead of "make clean". Submitted by: Bruno Haible @ text @d3 1 a3 1 ## Copyright (c) 1999-2004 Ralf S. Engelschall @ 1.153 log @Resurrect the old "make striptease" command by fixing the configure run-time in the stripped down source tree and fixing the list of source files. @ text @d160 1 a160 1 @@touch .done-all d163 1 a163 1 @@touch .done-all d220 1 a220 1 @@touch .done-install d249 1 a249 1 @@touch .done-uninstall a287 1 $(RM) core *.core *.bak *~ d291 1 d301 1 d345 1 a345 1 touch .done-test; \ @ 1.152 log @stylistic cleanup: add pthread.c to list of C files @ text @d275 8 a299 1 $(RM) -r striptease.dir @ 1.151 log @Adjusted all copyright messages for new year 2004. @ text @d105 1 a105 1 $(S)pth_fork.c $(S)pth_high.c $(S)pth_ext.c $(S)pth_string.c @ 1.150 log @Adjusted all copyright messages for new year 2003. @ text @d3 1 a3 1 ## Copyright (c) 1999-2003 Ralf S. Engelschall @ 1.149 log @fix typo @ text @d3 1 a3 1 ## Copyright (c) 1999-2002 Ralf S. Engelschall @ 1.148 log @Added a stand-alone sub-API for manual user-space context switching. It is somewhat modeled after the POSIX ucontext(3) facility and consists of an opaque data type pth_uctx_t and the management functions pth_uctx_create(), pth_uctx_make(), pth_uctx_save(), pth_uctx_restore(), pth_uctx_switch() and pth_uctx_destroy(). These functions are based on the same underlying machine context switching facility (pth_mctx) the threads in GNU Pth are using. This facility can be used to implement co-routines without a full real multithreading environment or even to implement an own multithreading environment. @ text @d94 1 a94 1 # (order is just aesthically important) @ 1.147 log @remove trailing whitespaces @ text @d91 1 a91 1 test_select test_httpd test_sfio @@TEST_PTHREAD@@ d95 2 a96 2 LOBJS = pth_debug.lo pth_ring.lo pth_pqueue.lo pth_time.lo pth_errno.lo \ pth_mctx.lo pth_tcb.lo pth_sched.lo pth_attr.lo pth_lib.lo pth_event.lo \ d103 1 a103 1 $(S)pth_clean.c $(S)pth_time.c $(S)pth_tcb.c $(S)pth_util.c $(S)pth_pqueue.c $(S)pth_event.c \ d212 2 d376 2 d397 2 d454 1 @ 1.146 log @fix dependency generation and defaults @ text @d48 1 a48 1 DESTDIR = @ 1.145 log @Woohhooo! Major GNU Pth source tree overhauling: - Removed all generated files from CVS. - Use OSSP devtool stuff to re-generate files on demand. - Switched to Autoconf 2.52 and Libtool 1.4.2 environment. @ text @d416 24 a439 24 pth_cancel.o: pth_cancel.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_clean.o: pth_clean.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_compat.o: pth_compat.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_data.o: pth_data.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_debug.o: pth_debug.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_errno.o: pth_errno.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_event.o: pth_event.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_ext.o: pth_ext.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_fork.o: pth_fork.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_high.o: pth_high.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_lib.o: pth_lib.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_mctx.o: pth_mctx.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_msg.o: pth_msg.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_pqueue.o: pth_pqueue.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_ring.o: pth_ring.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_sched.o: pth_sched.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_string.o: pth_string.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_sync.o: pth_sync.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_syscall.o: pth_syscall.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_tcb.o: pth_tcb.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_time.o: pth_time.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_util.o: pth_util.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_vers.o: pth_vers.c pth_vers.c pthread.o: pthread.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h d445 2 a446 1 test_pthread.o: test_pthread.c test_select.o: test_select.c pth.h @ 1.144 log @bump copyright year @ text @d296 1 a375 48 # GNU compat targets check: test installcheck: installdirs: install-dirs install-strip: install mostlyclean: clean maintainer-clean: realclean info: dvi: TAGS: ## ## ____ DEVELOPER TARGETS ___________________________________________ ## (THIS IS NOT INTENDED TO BE RUN BY END USERS) ## # fixup the permissions in the source tree fixperm: @@echo "Fixing permissions in source tree" @@$(SHTOOL) fixperm * # update Autoconf files update-autoconf: configure pth_acdef.h.in configure: configure.in $(RM) configure autoconf pth_acdef.h.in: configure.in acconfig.h acheader.m4 $(RM) pth_acdef.h.in cat acheader.m4 configure.in | autoheader - >pth_acdef.h.in # update build tools update-tools: @@$(RM) shtool ltmain.sh ltconfig @@$(MAKE) $(MKFLAGS) shtool ltmain.sh ltconfig shtool: shtoolize -o shtool echo version scpp mkdir install fixperm tarball ltmain.sh: @@F=`libtoolize -n -c -f | grep 'cp.*ltmain.sh' |\ $(SED) -e 's;[^/]*;;' -e 's; .*;;'`; \ $(ECHO) "ltmain.sh <-- $$F"; cat $$F |\ $(SED) -e 's:/bin/sh; then:/bin/sh || test ".`$(ECHO) $$nonopt | grep shtool`" != .;then:' \ -e 's:exec \$$SHELL \$$0 --finish:exit 0 #:' >ltmain.sh ltconfig: @@F=`libtoolize -n -c -f | grep 'cp.*ltconfig' | $(SED) -e 's;[^/]*;;' -e 's; .*;;'`; \ $(ECHO) "ltconfig <-- $$F"; $(CAT) $$F >ltconfig # debug the test programs d396 10 a405 32 # roll the release or snapshot tarball dist: distclean fixperm @@V=`$(SHTOOL) version -l c -d short $(_VERSION_FILE)`; NAME="pth-$$V"; \ $(ECHO) "Rolling RELEASE tarball $$NAME.tar.gz"; $(_TARBALL) snap: distclean fixperm @@V=`$(SHTOOL) version -l c -d short $(_VERSION_FILE)`; NAME="pth-$$V-SNAP"; \ $(ECHO) "Rolling SNAPSHOT tarball $$NAME.tar.gz"; $(_TARBALL) # increase or update version information new-version: @@V="$(VERSION)"; \ if [ ".$$V" != . ]; then \ OPT="-s$$V"; \ else \ OPT="-e"; \ fi; \ $(_VERSION) update-version: @@OPT="-s`$(SHTOOL) version -lc -dshort $(_VERSION_FILE)`" && $(_VERSION) # make a striptease striptease: @@$(PERL) striptease.pl # create dependencies depend: $(CP) Makefile.in Makefile.in.bak \ && $(SED) -ne '1,/^# DO NOT REMOVE/p' Makefile.in > Makefile.new \ && $(CC) -MM $(CPPFLAGS) $(CFLAGS) *.c |\ $(SED) -e 's/^\(pth_.*\)\.o:/\1.lo:/' >> Makefile.new \ && $(CP) Makefile.new Makefile.in \ && $(RM) Makefile.new d415 25 a439 45 pth_attr.lo: pth_attr.c pth_p.h pth_vers.c pth.h pth_acdef.h \ pth_acmac.h pth_cancel.lo: pth_cancel.c pth_p.h pth_vers.c pth.h pth_acdef.h \ pth_acmac.h pth_clean.lo: pth_clean.c pth_p.h pth_vers.c pth.h pth_acdef.h \ pth_acmac.h pth_compat.lo: pth_compat.c pth_p.h pth_vers.c pth.h pth_acdef.h \ pth_acmac.h pth_data.lo: pth_data.c pth_p.h pth_vers.c pth.h pth_acdef.h \ pth_acmac.h pth_debug.lo: pth_debug.c pth_p.h pth_vers.c pth.h pth_acdef.h \ pth_acmac.h pth_errno.lo: pth_errno.c pth_p.h pth_vers.c pth.h pth_acdef.h \ pth_acmac.h pth_event.lo: pth_event.c pth_p.h pth_vers.c pth.h pth_acdef.h \ pth_acmac.h pth_ext.lo: pth_ext.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_fork.lo: pth_fork.c pth_p.h pth_vers.c pth.h pth_acdef.h \ pth_acmac.h pth_high.lo: pth_high.c pth_p.h pth_vers.c pth.h pth_acdef.h \ pth_acmac.h pth_lib.lo: pth_lib.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_mctx.lo: pth_mctx.c pth_p.h pth_vers.c pth.h pth_acdef.h \ pth_acmac.h pth_msg.lo: pth_msg.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_pqueue.lo: pth_pqueue.c pth_p.h pth_vers.c pth.h pth_acdef.h \ pth_acmac.h pth_ring.lo: pth_ring.c pth_p.h pth_vers.c pth.h pth_acdef.h \ pth_acmac.h pth_sched.lo: pth_sched.c pth_p.h pth_vers.c pth.h pth_acdef.h \ pth_acmac.h pth_string.lo: pth_string.c pth_p.h pth_vers.c pth.h pth_acdef.h \ pth_acmac.h pth_sync.lo: pth_sync.c pth_p.h pth_vers.c pth.h pth_acdef.h \ pth_acmac.h pth_syscall.lo: pth_syscall.c pth_p.h pth_vers.c pth.h pth_acdef.h \ pth_acmac.h pth_tcb.lo: pth_tcb.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h pth_time.lo: pth_time.c pth_p.h pth_vers.c pth.h pth_acdef.h \ pth_acmac.h pth_util.lo: pth_util.c pth_p.h pth_vers.c pth.h pth_acdef.h \ pth_acmac.h pth_vers.lo: pth_vers.c pthread.o: pthread.c pthread.h pth_p.h pth_vers.c pth.h pth_acdef.h \ pth_acmac.h d445 1 a445 2 test_pthread.o: test_pthread.c pthread.h test_select.o: test_select.c pth.h @ 1.143 log @*** empty log message *** @ text @d3 1 a3 1 ## Copyright (c) 1999-2001 Ralf S. Engelschall @ 1.142 log @*** empty log message *** @ text @d515 2 @ 1.141 log @*** empty log message *** @ text @d3 1 a3 1 ## Copyright (c) 1999-2000 Ralf S. Engelschall @ 1.140 log @*** empty log message *** @ text @d48 2 d59 1 d161 1 a161 1 @@$(MAKE) $(MFLAGS) what-next d217 1 a217 1 @@$(MAKE) $(MFLAGS) install-dirs install-pth @@INSTALL_PTHREAD@@ d219 1 a219 1 @@$(MAKE) $(MFLAGS) what-next d221 7 a227 7 $(SHTOOL) mkdir -f -p -m 755 $(prefix) $(SHTOOL) mkdir -f -p -m 755 $(bindir) $(SHTOOL) mkdir -f -p -m 755 $(includedir) $(SHTOOL) mkdir -f -p -m 755 $(libdir) $(SHTOOL) mkdir -f -p -m 755 $(mandir)/man1 $(SHTOOL) mkdir -f -p -m 755 $(mandir)/man3 $(SHTOOL) mkdir -f -p -m 755 $(datadir)/aclocal d229 5 a233 5 $(SHTOOL) install -c -m 755 pth-config $(bindir)/pth-config $(SHTOOL) install -c -m 644 $(S)pth-config.1 $(mandir)/man1/pth-config.1 $(SHTOOL) install -c -m 644 $(S)pth.3 $(mandir)/man3/pth.3 $(SHTOOL) install -c -m 644 $(S)pth.m4 $(datadir)/aclocal/pth.m4 $(SHTOOL) install -c -m 644 pth.h $(includedir)/pth.h d235 1 a235 1 $(SHTOOL) install -c libpth.la $(libdir)/libpth.la d237 4 a240 4 $(SHTOOL) install -c -m 755 pthread-config $(bindir)/pthread-config $(SHTOOL) install -c -m 644 $(S)pthread-config.1 $(mandir)/man1/pthread-config.1 $(SHTOOL) install -c -m 644 pthread.h $(includedir)/pthread.h $(SHTOOL) install -c -m 644 $(S)pthread.3 $(mandir)/man3/pthread.3 d242 1 a242 1 $(SHTOOL) install -c libpthread.la $(libdir)/libpthread.la d246 1 a246 1 @@$(MAKE) $(MFLAGS) @@UNINSTALL_PTHREAD@@ uninstall-pth uninstall-dirs d248 1 a248 1 @@$(MAKE) $(MFLAGS) what-next d250 5 a254 5 $(RM) $(bindir)/pthread-config $(RM) $(mandir)/man1/pthread-config.1 $(RM) $(includedir)/pthread.h $(RM) $(mandir)/man3/pthread.3 @@$(LIBTOOL) --mode=uninstall $(RM) $(libdir)/libpthread.la d256 6 a261 6 $(RM) $(bindir)/pth-config $(RM) $(mandir)/man1/pth-config.1 $(RM) $(mandir)/man3/pth.3 $(RM) $(datadir)/aclocal/pth.m4 $(RM) $(includedir)/pth.h @@$(LIBTOOL) --mode=uninstall $(RM) $(libdir)/libpth.la d263 9 a271 9 -$(RMDIR) $(datadir)/aclocal >/dev/null 2>&1 || $(TRUE) -$(RMDIR) $(datadir) >/dev/null 2>&1 || $(TRUE) -$(RMDIR) $(mandir)/man1 >/dev/null 2>&1 || $(TRUE) -$(RMDIR) $(mandir)/man3 >/dev/null 2>&1 || $(TRUE) -$(RMDIR) $(mandir) >/dev/null 2>&1 || $(TRUE) -$(RMDIR) $(libdir) >/dev/null 2>&1 || $(TRUE) -$(RMDIR) $(includedir) >/dev/null 2>&1 || $(TRUE) -$(RMDIR) $(bindir) >/dev/null 2>&1 || $(TRUE) -$(RMDIR) $(prefix) >/dev/null 2>&1 || $(TRUE) d342 1 a342 1 $(MAKE) $(MFLAGS) what-next WHEN="Then"; \ d344 1 a344 1 $(MAKE) $(MFLAGS) what-next WHEN="Now"; \ d409 1 a409 1 @@$(MAKE) $(MFLAGS) shtool ltmain.sh ltconfig @ 1.139 log @*** empty log message *** @ text @d113 2 a114 2 $(SHTOOL) version -l c -n 'GNU Pth' -p PTH $$OPT $(_VERSION_FILE); \ V=`$(SHTOOL) version -l c -d long $(_VERSION_FILE)`; \ d116 1 a116 1 V=`$(SHTOOL) version -l c -d short $(_VERSION_FILE)`; \ d125 3 a127 3 V1=`$(SHTOOL) version -l c -d short $(_VERSION_FILE)`; \ V2=`$(SHTOOL) version -l c -d long $(_VERSION_FILE)`; \ D=`$(SHTOOL) version -l c -d long $(_VERSION_FILE) |\ d169 1 a169 1 -rpath $(libdir) -version-info `$(SHTOOL) version -l c -d libtool $(_VERSION_FILE)` d172 1 a172 1 -rpath $(libdir) -version-info `$(SHTOOL) version -l c -d libtool $(_VERSION_FILE)` d450 7 a456 13 @@OPT=-iv && $(_VERSION) new-revision: @@OPT=-ir && $(_VERSION) new-patchlevel: @@OPT=-iP && $(_VERSION) new-betalevel: @@OPT=-ib && $(_VERSION) new-alphalevel: @@OPT=-ia && $(_VERSION) new-snaplevel: @@OPT=-is && $(_VERSION) new-release: @@OPT=-s$(R) && $(_VERSION) d458 1 a458 1 @@OPT="-s`$(SHTOOL) version -l c -d short $(_VERSION_FILE)`" && $(_VERSION) @ 1.138 log @*** empty log message *** @ text @d56 1 a56 1 LDFLAGS = @@LDFLAGS@@ -L. @ 1.137 log @*** empty log message *** @ text @d115 3 a117 1 $(SED) -e "s/Version .*(.*)/Version $$V/g" README.n && mv README.n README @ 1.136 log @*** empty log message *** @ text @d229 2 a230 1 @@$(LIBTOOL) --mode=install $(SHTOOL) install -c -m 644 libpth.la $(libdir)/libpth.la d236 2 a237 1 @@$(LIBTOOL) --mode=install $(SHTOOL) install -c -m 644 libpthread.la $(libdir)/libpthread.la @ 1.135 log @*** empty log message *** @ text @d95 1 a95 1 pth_util.lo pth_high.lo pth_syscall.lo pth_ext.lo pth_compat.lo d102 1 a102 1 $(S)pth_fork.c $(S)pth_high.c $(S)pth_ext.c @ 1.135.2.1 log @*** empty log message *** @ text @d56 1 a56 1 LDFLAGS = @@LDFLAGS@@ d229 1 a229 2 @@umask 022; $(LIBTOOL) --mode=install \ $(SHTOOL) install -c libpth.la $(libdir)/libpth.la d235 1 a235 2 @@umask 022; $(LIBTOOL) --mode=install \ $(SHTOOL) install -c libpthread.la $(libdir)/libpthread.la @ 1.135.2.2 log @*** empty log message *** @ text @d113 1 a113 1 $(SHTOOL) version -l c -n 'GNU Pth' -p pth_internal_ $$OPT $(_VERSION_FILE); \ d448 13 a460 7 @@V="$(VERSION)"; \ if [ ".$$V" != . ]; then \ OPT="-s$$V"; \ else \ OPT="-e"; \ fi; \ $(_VERSION) d462 1 a462 1 @@OPT="-s`$(SHTOOL) version -lc -dshort $(_VERSION_FILE)`" && $(_VERSION) @ 1.134 log @*** empty log message *** @ text @d472 1 a472 1 && $(CP) Makefile.new Makefile.in @ 1.133 log @*** empty log message *** @ text @d227 1 a227 1 $(SHTOOL) install -c -m 644 pth.m4 $(datadir)/aclocal/pth.m4 @ 1.132 log @*** empty log message *** @ text @d312 1 a312 1 echo "Additionally you could consider subscribing to the GNU Pth support"; \ @ 1.131 log @*** empty log message *** @ text @d317 1 @ 1.130 log @*** empty log message *** @ text @a64 1 LS = ls d119 1 a119 2 -e 'CVS,\.cvsignore,\.configure,\.\#.*,\.[ao]$$' \ -c 'gzip --best' .; $(LS) -l $${NAME}.tar.gz @ 1.129 log @*** empty log message *** @ text @d120 2 a121 2 -e 'CVS,\.cvsignore,\.configure,\.\#.*,\.[ao]$$' -c 'gzip --best' .; \ $(LS) -l $${NAME}.tar.gz @ 1.128 log @*** empty log message *** @ text @d114 2 a115 2 $(SHTOOL) version -l c -n 'GNU Pth' -p PTH $$OPT $(_VERSION_FILE);\ V=`$(SHTOOL) version -l c -d long $(_VERSION_FILE)`;\ @ 1.127 log @*** empty log message *** @ text @d113 1 d447 1 a447 1 OPT=-iv && $(_VERSION) d449 1 a449 1 OPT=-ir && $(_VERSION) d451 1 a451 1 OPT=-iP && $(_VERSION) d453 1 a453 1 OPT=-ib && $(_VERSION) d455 1 a455 1 OPT=-ia && $(_VERSION) d457 1 a457 1 OPT=-is && $(_VERSION) d459 1 a459 1 OPT=-s$(R) && $(_VERSION) d461 1 a461 1 OPT="-s`$(SHTOOL) version -l c -d short $(_VERSION_FILE)`" && $(_VERSION) @ 1.126 log @*** empty log message *** @ text @d123 1 d175 1 a175 1 BASENAME="pth-config"; SEC=1; \ d179 1 a179 1 BASENAME="pth"; SEC=3; \ d183 1 a183 1 BASENAME="pthread-config"; SEC=1; \ d187 1 a187 1 BASENAME="pthread"; SEC=3; \ @ 1.125 log @*** empty log message *** @ text @d342 1 a342 1 echo "the configuration (files pth_acdef.h, pth_acmac.h, config.status, config.log)"; \ @ 1.124 log @*** empty log message *** @ text @d274 1 a274 1 $(RMDIR) .libs @ 1.123 log @*** empty log message *** @ text @d273 2 a274 1 $(RM) -r .libs @ 1.122 log @*** empty log message *** @ text @d388 2 a389 4 # upgrade the build tools in the source tree update-tools: @@$(RM) shtool ltmain.sh ltconfig @@$(MAKE) $(MFLAGS) shtool ltmain.sh ltconfig configure pth_acdef.h.in d396 5 @ 1.121 log @*** empty log message *** @ text @d3 1 a3 1 ## Copyright (c) 1999 Ralf S. Engelschall @ 1.120 log @*** empty log message *** @ text @d395 1 a395 1 pth_acdef.h.in: configure.in acconfig.h @ 1.119 log @*** empty log message *** @ text @d404 1 a404 1 $(SED) -e 's:/bin/sh; then:/bin/sh || test ".`echo $$nonopt | grep shtool`" != .;then:' \ d434 1 a434 1 echo "Rolling RELEASE tarball $$NAME.tar.gz"; $(_TARBALL) d437 1 a437 1 echo "Rolling SNAPSHOT tarball $$NAME.tar.gz"; $(_TARBALL) @ 1.118 log @*** empty log message *** @ text @d25 1 a25 1 # ``UNIX -- where you can do anything d98 1 a98 1 # source files for header generation d239 1 a239 1 @@$(MAKE) $(MFLAGS) @@UNINSTALL_PTHREAD@@ uninstall-pth uninstall-dirs d269 1 a269 1 $(RM) $(TARGET_TEST) d279 1 a279 1 $(RM) pth-config pth_acdef.h pth_acmac.h pth.h d399 1 a399 1 shtoolize -o shtool echo version scpp mkdir install fixperm tarball @ 1.117 log @*** empty log message *** @ text @d46 1 d222 1 d227 1 d252 1 d256 2 a257 3 -$(RMDIR) $(bindir) >/dev/null 2>&1 || $(TRUE) -$(RMDIR) $(includedir) >/dev/null 2>&1 || $(TRUE) -$(RMDIR) $(libdir) >/dev/null 2>&1 || $(TRUE) d261 3 @ 1.116 log @*** empty log message *** @ text @d25 2 @ 1.115 log @*** empty log message *** @ text @d70 1 d274 1 d448 4 @ 1.114 log @*** empty log message *** @ text @d2 1 a2 2 ## Makefile.in -- Pth Makefile ## d22 2 @ 1.114.2.1 log @*** empty log message *** @ text @d2 2 a3 1 ## GNU Pth - The GNU Portable Threads a22 2 ## ## Makefile.in: Pth Makefile input @ 1.114.2.2 log @*** empty log message *** @ text @d264 1 a264 2 $(RM) .libs/* -$(RMDIR) .libs >/dev/null 2>&1 || $(TRUE) d331 1 a331 1 $(SHTOOL) echo -e "the configuration (%Bpth_acdef.h%b, %Bpth_acmac.h%b, %Bconfig.status%b, %Bconfig.log%b)"; \ @ 1.113 log @*** empty log message *** @ text @d12 1 a12 1 ## version 2 of the License, or (at your option) any later version. @ 1.112 log @*** empty log message *** @ text @d321 1 a321 1 $(SHTOOL) echo -e "%BOK%b: %B$(PLATFORM)%b | %B$(PTH_MCTX_ID)%b | %B$(PTH_STACK_GROWTH)%b | %B$$VERSION%b"; \ d335 1 a335 1 $(SHTOOL) echo -e "%BFAILED%b: %B$(PLATFORM)%b | %B$(PTH_MCTX_ID)%b | %B$(PTH_STACK_GROWTH)%b | %B$$VERSION%b"; \ @ 1.111 log @*** empty log message *** @ text @d423 1 a423 1 echo "Rolling RELEASE tarball $$NAME"; $(_TARBALL) d426 1 a426 1 echo "Rolling SNAPSHOT tarball $$NAME"; $(_TARBALL) @ 1.110 log @*** empty log message *** @ text @d374 2 a375 1 @@$(SHTOOL) fixperm -v * d422 2 a423 1 @@V=`$(SHTOOL) version -l c -d short $(_VERSION_FILE)`; NAME="pth-$$V"; $(_TARBALL) d425 2 a426 1 @@V=`$(SHTOOL) version -l c -d short $(_VERSION_FILE)`; NAME="pth-$$V-SNAP"; $(_TARBALL) @ 1.109 log @*** empty log message *** @ text @d79 1 a79 2 TARGET_ALL = $(TARGET_PREQ) $(TARGET_LIBS) $(TARGET_MANS) $(TARGET_TEST) @ 1.108 log @*** empty log message *** @ text @d386 1 a386 1 autoheader configure.in >pth_acdef.h.in d388 1 a388 1 shtoolize -o shtool all @ 1.107 log @*** empty log message *** @ text @d115 1 a115 1 -e 'CVS,\.cvsignore,\.configure,\.[ao]$$' -c 'gzip --best' .; \ @ 1.106 log @*** empty log message *** @ text @d115 1 a115 1 -e 'CVS,\.cvsignore,\.[ao],^\.' -c 'gzip --best' .; \ @ 1.105 log @*** empty log message *** @ text @d331 1 a331 1 echo "the configuration (files pth_conf.h, config.status, and config.log)"; \ @ 1.104 log @*** empty log message *** @ text @d300 4 @ 1.103 log @*** empty log message *** @ text @d463 2 d498 2 a499 2 pthread.o: pthread.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h \ pthread.h d504 1 @ 1.102 log @*** empty log message *** @ text @d54 1 a54 1 SHTOOL = $(S)shtool @ 1.101 log @*** empty log message *** @ text @d50 1 a50 1 CPPFLAGS = @@CPPFLAGS@@ -I$(srcdir) @ 1.100 log @*** empty log message *** @ text @d50 1 a50 1 CPPFLAGS = @@CPPFLAGS@@ -I. @ 1.99 log @*** empty log message *** @ text @d83 1 a83 1 TARGET_MANS = pth-config.1 pth.3 @@PTHREAD_CONFIG_1@@ @@PTHREAD_3@@ d169 1 a169 1 pth-config.1: pth-config.pod $(_VERSION_FILE) d173 1 a173 1 pth.3: pth.pod $(_VERSION_FILE) d177 1 a177 1 pthread-config.1: pthread-config.pod $(_VERSION_FILE) d181 1 a181 1 pthread.3: pthread.pod $(_VERSION_FILE) @ 1.98 log @*** empty log message *** @ text @d34 3 d54 2 a55 2 SHTOOL = $(srcdir)/shtool LIBTOOL = $(srcdir)/libtool d96 4 a99 4 HSRCS = pth_compat.c pth_debug.c pth_syscall.c pth_errno.c pth_ring.c pth_mctx.c \ pth_clean.c pth_time.c pth_tcb.c pth_util.c pth_pqueue.c pth_event.c \ pth_sched.c pth_data.c pth_msg.c pth_cancel.c pth_sync.c pth_attr.c pth_lib.c \ pth_fork.c pth_high.c pth_ext.c d106 1 a106 1 pth_vers.c d124 1 a124 1 --release="$$D" --date="$${NAME} $$V1" $${BASENAME}.pod |\ d157 2 a158 2 pth_p.h: pth_p.h.in $(SHTOOL) scpp -o pth_p.h -t pth_p.h.in -Dcpp -Cintern -M '==#==' $(HSRCS) d220 2 a221 2 $(SHTOOL) install -c -m 644 pth-config.1 $(mandir)/man1/pth-config.1 $(SHTOOL) install -c -m 644 pth.3 $(mandir)/man3/pth.3 d226 1 a226 1 $(SHTOOL) install -c -m 644 pthread-config.1 $(mandir)/man1/pthread-config.1 d228 1 a228 1 $(SHTOOL) install -c -m 644 pthread.3 $(mandir)/man3/pthread.3 d312 1 a312 1 if [ ".`grep $(PLATFORM) PORTING`" = . ]; then \ @ 1.97 log @*** empty log message *** @ text @d10 1 a10 1 ## modify it under the terms of the GNU Library General Public d17 1 a17 1 ## Library General Public License for more details. d19 1 a19 1 ## You should have received a copy of the GNU Library General Public @ 1.96 log @*** empty log message *** @ text @d47 2 a48 1 CFLAGS = @@CFLAGS@@ -I. d141 1 a141 1 $(CC) -c $(CFLAGS) $< d143 1 a143 1 $(LIBTOOL) --mode=compile --quiet $(CC) -c $(CFLAGS) $< d441 2 a442 1 && $(CC) -MM $(CFLAGS) *.c | $(SED) -e 's/^\(pth_.*\)\.o:/\1.lo:/' >> Makefile.new \ @ 1.95 log @*** empty log message *** @ text @d70 4 a73 1 PLATFORM = @@PLATFORM@@ d145 6 a150 1 all: $(TARGET_ALL) d203 1 a203 1 install: all d205 2 d230 2 d261 1 d275 27 d307 2 a308 2 if [ ".`grep $(PLATFORM) PORTING`" = . ]; then \ echo "[Assembling information.... be patient]"; \ d310 1 a310 3 TIME=`$(SHTOOL) echo -e '%D-%m-%Y'`; \ USER=`$(SHTOOL) echo -e '%u@@%h%d'`; \ echo "Please send the following summary via Email to the author"; \ d314 4 a317 7 echo "+-Pth-Library-Test-Suite-Summary-----------------"; \ echo "| Version : GNU Pth $$VERSION"; \ echo "| Test Platform : $(PLATFORM)"; \ echo "| Test Time : $$TIME"; \ echo "| Test User : $$USER"; \ echo "| Test Suite : OK"; \ echo "+------------------------------------------------"; \ d319 1 a320 1 echo "[Assembling information.... be patient]"; \ d322 1 a322 3 TIME=`$(SHTOOL) echo -e '%D-%m-%Y'`; \ USER=`$(SHTOOL) echo -e '%u@@%h%d'`; \ echo "Please send the following summary together with details about"; \ d328 4 a331 9 echo "+-Pth-Library-Test-Suite-Summary-----------------"; \ echo "| Version : GNU Pth $$VERSION"; \ echo "| Test Platform : $(PLATFORM)"; \ echo "| Test Time : $$TIME"; \ echo "| Test User : $$USER"; \ echo "| Test Suite : FAILED"; \ echo "+------------------------------------------------"; \ fi; \ exit 0 @ 1.94 log @*** empty log message *** @ text @d77 1 a77 1 TARGET_TEST = test_std test_mp test_misc test_sig \ d183 2 d310 2 d373 2 @ 1.93 log @*** empty log message *** @ text @d70 2 d265 1 a265 2 PLATFORM=`$(SHTOOL) guessos`; \ if [ ".`grep $$PLATFORM PORTING`" = . ]; then \ d276 1 a276 1 echo "| Test Platform : $$PLATFORM"; \ a283 1 PLATFORM=`$(SHTOOL) guessos`; \ d295 1 a295 1 echo "| Test Platform : $$PLATFORM"; \ @ 1.92 log @*** empty log message *** @ text @d249 1 a249 1 $(RM) pth-config pth_conf.h pth.h @ 1.91 log @*** empty log message *** @ text @d83 1 a83 1 pth_util.lo pth_high.lo pth_syscall.lo pth_ext.lo d87 3 a89 3 HSRCS = pth_debug.c pth_syscall.c pth_errno.c pth_ring.c pth_mctx.c pth_clean.c \ pth_time.c pth_tcb.c pth_util.c pth_pqueue.c pth_event.c pth_sched.c \ pth_data.c pth_msg.c pth_cancel.c pth_sync.c pth_attr.c pth_lib.c \ @ 1.90 log @*** empty log message *** @ text @d415 1 a415 1 $(TARGET_ALL): Makefile @ 1.89 log @*** empty log message *** @ text @d55 1 d70 2 d75 2 a76 1 TARGET_TEST = test_std test_httpd test_mp test_misc test_sig test_select test_sfio @@TEST_PTHREAD@@ d78 6 a83 11 # library object files (obj) OBJS = pth_lib.o pth_attr.o pth_debug.o pth_errno.o pth_ring.o pth_time.o \ pth_mctx.o pth_tcb.o pth_util.o pth_pqueue.o pth_event.o pth_sched.o \ pth_data.o pth_msg.o pth_clean.o pth_fork.o pth_sync.o pth_cancel.o \ pth_high.o pth_syscall.o pth_ext.o # library object files (dso) LOBJS = pth_lib.lo pth_attr.lo pth_debug.lo pth_errno.lo pth_ring.lo pth_time.lo \ pth_mctx.lo pth_tcb.lo pth_util.lo pth_pqueue.lo pth_event.lo pth_sched.lo \ pth_data.lo pth_msg.lo pth_clean.lo pth_fork.lo pth_sync.lo pth_cancel.lo \ pth_high.lo pth_syscall.lo pth_ext.lo d85 2 a86 1 # source files for header generation: order is important d88 3 a90 2 pth_time.c pth_tcb.c pth_util.c pth_pqueue.c pth_event.c pth_sched.c pth_data.c \ pth_msg.c pth_cancel.c pth_sync.c pth_attr.c pth_lib.c pth_fork.c pth_high.c pth_ext.c d140 1 a140 1 all: $(TARGET_PREQ) $(TARGET_LIBS) $(TARGET_MANS) $(TARGET_TEST) d340 1 a340 1 @@$(MAKE) $(MFLAGS) shtool ltmain.sh ltconfig configure pth_conf.h.in d344 3 a346 3 pth_conf.h.in: configure.in acconfig.h $(RM) pth_conf.h.in autoheader configure.in >pth_conf.h.in d357 1 a357 1 $(ECHO) "ltconfig <-- $$F"; $(CP) $$F . d406 1 a406 1 && $(CC) -MM $(CFLAGS) *.c >> Makefile.new \ d415 1 a415 1 $(OBJS) $(LOBJS): Makefile d418 43 a460 24 pth_attr.o: pth_attr.c pth_p.h pth_vers.c pth.h pth_conf.h pth_cancel.o: pth_cancel.c pth_p.h pth_vers.c pth.h pth_conf.h pth_clean.o: pth_clean.c pth_p.h pth_vers.c pth.h pth_conf.h pth_data.o: pth_data.c pth_p.h pth_vers.c pth.h pth_conf.h pth_debug.o: pth_debug.c pth_p.h pth_vers.c pth.h pth_conf.h pth_errno.o: pth_errno.c pth_p.h pth_vers.c pth.h pth_conf.h pth_event.o: pth_event.c pth_p.h pth_vers.c pth.h pth_conf.h pth_fork.o: pth_fork.c pth_p.h pth_vers.c pth.h pth_conf.h pth_high.o: pth_high.c pth_p.h pth_vers.c pth.h pth_conf.h pth_lib.o: pth_lib.c pth_p.h pth_vers.c pth.h pth_conf.h pth_mctx.o: pth_mctx.c pth_p.h pth_vers.c pth.h pth_conf.h pth_msg.o: pth_msg.c pth_p.h pth_vers.c pth.h pth_conf.h pth_pqueue.o: pth_pqueue.c pth_p.h pth_vers.c pth.h pth_conf.h pth_ring.o: pth_ring.c pth_p.h pth_vers.c pth.h pth_conf.h pth_sched.o: pth_sched.c pth_p.h pth_vers.c pth.h pth_conf.h pth_sync.o: pth_sync.c pth_p.h pth_vers.c pth.h pth_conf.h pth_syscall.o: pth_syscall.c pth_p.h pth_vers.c pth.h pth_conf.h pth_tcb.o: pth_tcb.c pth_p.h pth_vers.c pth.h pth_conf.h pth_time.o: pth_time.c pth_p.h pth_vers.c pth.h pth_conf.h pth_util.o: pth_util.c pth_p.h pth_vers.c pth.h pth_conf.h pth_vers.o: pth_vers.c pthread.o: pthread.c pth_p.h pth_vers.c pth.h pth_conf.h pthread.h test_common.o: test_common.c pth.h test_httpd.o: test_httpd.c pth.h d462 1 a462 1 test_mp.o: test_mp.c pth.h d465 1 @ 1.88 log @*** empty log message *** @ text @d72 1 a72 1 TARGET_TEST = test_std test_httpd test_mp test_misc test_sig test_select @@TEST_PTHREAD@@ d78 1 a78 1 pth_high.o pth_syscall.o d84 1 a84 1 pth_high.lo pth_syscall.lo d89 1 a89 1 pth_msg.c pth_cancel.c pth_sync.c pth_attr.c pth_lib.c pth_fork.c pth_high.c d184 2 d311 2 d372 2 @ 1.87 log @*** empty log message *** @ text @d134 1 a134 1 $(LIBTOOL) --mode=compile --quiet $(CC) -c $(CFLAGS) $< @ 1.86 log @*** empty log message *** @ text @d124 1 a124 1 $(LIBTOOL) --mode=debug $(GDB) $$TEST $$core @ 1.85 log @*** empty log message *** @ text @d134 1 a134 1 $(LIBTOOL) --quiet $(CC) -c $(CFLAGS) $< d136 1 a136 1 $(LIBTOOL) --quiet $(CC) -c $(CFLAGS) $< @ 1.84 log @*** empty log message *** @ text @d333 1 a333 1 update: @ 1.83 log @*** empty log message *** @ text @d333 1 a333 2 update: upgrade upgrade: @ 1.82 log @*** empty log message *** @ text @d53 2 d191 1 d210 24 a255 1 check: test d311 11 @ 1.81 log @*** empty log message *** @ text @d146 1 a146 1 -rpath $(libdir) -version-info `$(SHTOOL) version -l c -d libtool pth_vers.c` d149 1 a149 1 -rpath $(libdir) -version-info `$(SHTOOL) version -l c -d libtool pth_vers.c` @ 1.80 log @*** empty log message *** @ text @d94 1 a94 1 $(srcdir)/pth_vers.c d112 1 a112 1 --release="$$D" --date="$${NAME} $$V1" $(srcdir)/$${BASENAME}.pod |\ d141 1 a141 1 $(SHTOOL) scpp -o pth_p.h -t $(srcdir)/pth_p.h.in -Dcpp -Cintern -M '==#==' `echo $(HSRCS) | sed -e 's:pth_:$(srcdir)/pth_:g'` d146 1 a146 1 -rpath $(libdir) -version-info `$(SHTOOL) version -l c -d libtool $(_VERSION_FILE)` d149 1 a149 1 -rpath $(libdir) -version-info `$(SHTOOL) version -l c -d libtool $(_VERSION_FILE)` d235 1 a235 1 if [ ".`grep $$PLATFORM $(srcdir)/PORTING`" = . ]; then \ @ 1.79 log @*** empty log message *** @ text @d94 1 a94 1 pth_vers.c d112 1 a112 1 --release="$$D" --date="$${NAME} $$V1" $${BASENAME}.pod |\ d141 1 a141 1 $(SHTOOL) scpp -o pth_p.h -t pth_p.h.in -Dcpp -Cintern -M '==#==' $(HSRCS) d146 1 a146 1 -rpath $(libdir) -version-info `$(SHTOOL) version -l c -d libtool pth_vers.c` d149 1 a149 1 -rpath $(libdir) -version-info `$(SHTOOL) version -l c -d libtool pth_vers.c` d235 1 a235 1 if [ ".`grep $$PLATFORM PORTING`" = . ]; then \ d312 1 a312 1 $(SED) -e 's:/bin/sh; then:/bin/sh || test "$$nonopt" = ./shtool;then:' \ @ 1.78 log @*** empty log message *** @ text @d50 2 a51 2 SHTOOL = @@SHTOOL@@ LIBTOOL = @@LIBTOOL@@ @ 1.77 log @*** empty log message *** @ text @d30 4 a33 1 TOP = . @ 1.76 log @*** empty log message *** @ text @d293 1 @ 1.75 log @*** empty log message *** @ text @d84 1 a84 1 pth_msg.c pth_cancel.c pth_sync.c pth_attr.c pth_lib.c pth_fork.c @ 1.74 log @*** empty log message *** @ text @d226 1 @ 1.73 log @*** empty log message *** @ text @d99 2 a100 7 $(GTAR) --no-recursion -cvf - \ `find * -depth -print | sort | grep -v CVS | grep -v .cvsignore ` |\ $(TARDY) --user_number=0 --user_name=gnu \ --group_number=0 --group_name=pth \ --prefix=$${NAME} - |\ $(GZIP) --best >/tmp/$${NAME}.tar.gz && \ $(CP) /tmp/$${NAME}.tar.gz .; $(RM) /tmp/$${NAME}.tar.gz; \ @ 1.72 log @*** empty log message *** @ text @d99 6 a104 5 $(GTAR) --no-recursion -cvf - `find * -depth -print | sort | grep -v CVS | grep -v .cvsignore ` |\ $(TARDY) --user_number=0 --user_name=gnu \ --group_number=0 --group_name=pth \ --prefix=$${NAME} - |\ $(GZIP) --best >/tmp/$${NAME}.tar.gz && \ d111 2 a112 1 D=`$(SHTOOL) version -l c -d long $(_VERSION_FILE) | $(SED) -e 's;.*(;;' -e 's;).*;;'`; \ d164 1 a164 1 NAME="GNU Pth"; ONELINE="POSIX Thread API of GNU Pth"; \ d168 1 a168 1 NAME="GNU Pth"; ONELINE="POSIX Thread API of GNU Pth"; \ d171 1 a171 1 # standard test program a173 1 # build the other test programs a229 31 ## ## ____ DEVELOPER TARGETS ___________________________________________ ## (THIS IS NOT INTENDED TO BE RUN BE END USERS) ## # fixup the permissions in the source tree fixperm: @@$(SHTOOL) fixperm -v * # upgrade the build tools in the source tree upgrade: @@$(RM) shtool ltmain.sh ltconfig @@$(MAKE) $(MFLAGS) shtool ltmain.sh ltconfig configure pth_conf.h.in configure: configure.in $(RM) configure autoconf pth_conf.h.in: configure.in acconfig.h $(RM) pth_conf.h.in autoheader configure.in >pth_conf.h.in shtool: shtoolize -o shtool all ltmain.sh: @@F=`libtoolize -n -c -f | grep 'cp.*ltmain.sh' |\ $(SED) -e 's;[^/]*;;' -e 's; .*;;'`; \ $(ECHO) "ltmain.sh <-- $$F"; cat $$F |\ $(SED) -e 's:/bin/sh; then:/bin/sh || test "$$nonopt" = ./shtool;then:' \ -e 's:exec \$$SHELL \$$0 --finish:exit 0 #:' >ltmain.sh ltconfig: @@F=`libtoolize -n -c -f | grep 'cp.*ltconfig' | $(SED) -e 's;[^/]*;;' -e 's; .*;;'`; \ $(ECHO) "ltconfig <-- $$F"; $(CP) $$F . a231 1 debug: debug-std d286 34 d335 1 a335 1 # roll the tarballs d397 1 @ 1.71 log @*** empty log message *** @ text @d45 1 a45 1 LDFLAGS = @@LDFLAGS@@ @ 1.70 log @*** empty log message *** @ text @d2 1 a2 1 ## Makefile.in -- Pth Makefile skeleton d69 16 a84 10 OBJS = pth_lib.o pth_attr.o pth_debug.o pth_errno.o pth_ring.o pth_time.o pth_mctx.o pth_tcb.o pth_util.o \ pth_pqueue.o pth_event.o pth_sched.o pth_data.o pth_msg.o pth_clean.o pth_fork.o \ pth_sync.o pth_cancel.o pth_high.o pth_syscall.o LOBJS = pth_lib.lo pth_attr.lo pth_debug.lo pth_errno.lo pth_ring.lo pth_time.lo pth_mctx.lo pth_tcb.lo pth_util.lo \ pth_pqueue.lo pth_event.lo pth_sched.lo pth_data.lo pth_msg.lo pth_clean.lo pth_fork.lo \ pth_sync.lo pth_cancel.lo pth_high.lo pth_syscall.lo HSRCS = pth_debug.c pth_syscall.c pth_errno.c pth_ring.c pth_mctx.c pth_clean.c pth_time.c pth_tcb.c \ pth_util.c pth_pqueue.c pth_event.c pth_sched.c pth_data.c pth_msg.c pth_cancel.c \ pth_sync.c pth_attr.c pth_lib.c pth_fork.c d118 1 a118 1 core=$$TEST.core; \ d120 1 a120 1 core=core; \ d132 1 a132 1 $(LIBTOOL) --mode=compile --quiet $(CC) -c $(CFLAGS) $< d134 1 a134 1 $(LIBTOOL) --mode=compile --quiet $(CC) -c $(CFLAGS) $< d170 2 a171 2 test_std: test_std.o libpth.la $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o test_std test_std.lo libpth.la $(LIBS) d173 12 a184 15 test_httpd: test_httpd.o libpth.la $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o test_httpd test_httpd.lo libpth.la $(LIBS) test_misc: test_misc.o libpth.la $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o test_misc test_misc.lo libpth.la $(LIBS) test_mp: test_mp.o libpth.la $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o test_mp test_mp.lo libpth.la $(LIBS) test_sig: test_sig.o libpth.la $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o test_sig test_sig.lo libpth.la $(LIBS) test_select: test_select.o libpth.la $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o test_select test_select.lo libpth.la $(LIBS) test_pthread: test_pthread.o libpthread.la $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o test_pthread test_pthread.lo libpthread.la $(LIBS) # special development target test_dev: test_dev.o libpth.la $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o test_dev test_dev.lo libpth.la $(LIBS) a316 2 test-dev: test_dev ./test_dev a330 2 debug-dev: test_dev TEST=test_sig && $(_DEBUG) @ 1.69 log @*** empty log message *** @ text @d211 2 a212 1 $(RM) -r *.o *.lo .libs @ 1.68 log @*** empty log message *** @ text @d116 1 a116 1 $(LIBTOOL) $(GDB) $$TEST $$core d126 1 a126 1 $(LIBTOOL) --quiet $(CC) -c $(CFLAGS) $< d128 1 a128 1 $(LIBTOOL) --quiet $(CC) -c $(CFLAGS) $< d139 1 a139 1 $(LIBTOOL) --quiet $(CC) -o libpth.la $(LOBJS) \ d142 1 a142 1 $(LIBTOOL) --quiet $(CC) -o libpthread.la pthread.lo $(LOBJS) \ d165 1 a165 1 $(LIBTOOL) --quiet $(CC) $(LDFLAGS) -o test_std test_std.lo libpth.la $(LIBS) d168 1 a168 1 $(LIBTOOL) --quiet $(CC) $(LDFLAGS) -o test_httpd test_httpd.lo libpth.la $(LIBS) d170 1 a170 1 $(LIBTOOL) --quiet $(CC) $(LDFLAGS) -o test_misc test_misc.lo libpth.la $(LIBS) d172 1 a172 1 $(LIBTOOL) --quiet $(CC) $(LDFLAGS) -o test_mp test_mp.lo libpth.la $(LIBS) d174 1 a174 1 $(LIBTOOL) --quiet $(CC) $(LDFLAGS) -o test_sig test_sig.lo libpth.la $(LIBS) d176 1 a176 1 $(LIBTOOL) --quiet $(CC) $(LDFLAGS) -o test_select test_select.lo libpth.la $(LIBS) d178 1 a178 1 $(LIBTOOL) --quiet $(CC) $(LDFLAGS) -o test_pthread test_pthread.lo libpthread.la $(LIBS) d181 1 a181 1 $(LIBTOOL) --quiet $(CC) $(LDFLAGS) -o test_dev test_dev.lo libpth.la $(LIBS) @ 1.67 log @*** empty log message *** @ text @d379 1 d388 1 d393 1 d397 2 d400 1 @ 1.66 log @*** empty log message *** @ text @d67 1 a67 1 TARGET_TEST = test_std test_httpd test_mp test_misc test_sig @@TEST_PTHREAD@@ d175 2 d309 2 d325 2 @ 1.65 log @*** empty log message *** @ text @d71 1 a71 1 pth_sync.o pth_cancel.o pth_high.o d74 1 a74 1 pth_sync.lo pth_cancel.lo pth_high.lo d76 1 a76 1 HSRCS = pth_debug.c pth_errno.c pth_ring.c pth_mctx.c pth_clean.c pth_time.c pth_tcb.c \ @ 1.64 log @*** empty log message *** @ text @d88 1 a88 1 $(SHTOOL) version -l c -n 'GNU Pth' -p pth $$OPT $(_VERSION_FILE);\ @ 1.63 log @*** empty log message *** @ text @d2 1 a2 1 ## Makefile.in -- PTH Makefile skeleton d88 1 a88 1 $(SHTOOL) version -l c -n PTH -p PTH $$OPT $(_VERSION_FILE);\ d148 1 a148 1 NAME="PTH"; ONELINE="GNU Portable Threads"; \ d152 1 a152 1 NAME="PTH"; ONELINE="GNU Portable Threads"; \ d156 1 a156 1 NAME="PTH pthread"; ONELINE="POSIX Thread API of PTH"; \ d160 1 a160 1 NAME="PTH pthread"; ONELINE="POSIX Thread API of PTH"; \ d270 2 a271 2 echo "+-PTH-Library-Test-Suite-Summary-----------------"; \ echo "| Version : PTH $$VERSION"; \ d290 2 a291 2 echo "+-PTH-Library-Test-Suite-Summary-----------------"; \ echo "| Version : PTH $$VERSION"; \ @ 1.62 log @*** empty log message *** @ text @d6 2 a7 2 ## This file is part of PTH, a non-preemptive thread scheduling library ## which can be found at http://www.gnu.org/software/pth/. @ 1.61 log @*** empty log message *** @ text @d70 1 a70 1 pth_pqueue.o pth_event.o pth_sched.o pth_data.o pth_msg.o pth_clean.o \ d73 1 a73 1 pth_pqueue.lo pth_event.lo pth_sched.lo pth_data.lo pth_msg.lo pth_clean.lo \ d78 1 a78 1 pth_sync.c pth_attr.c pth_lib.c @ 1.60 log @*** empty log message *** @ text @d243 1 a243 1 shtoolize -v -o shtool all @ 1.59 log @*** empty log message *** @ text @d234 2 a235 2 @@$(RM) ltmain.sh ltconfig @@$(MAKE) $(MFLAGS) ltmain.sh ltconfig configure pth_conf.h.in d242 2 @ 1.58 log @*** empty log message *** @ text @d260 1 d277 1 @ 1.57 log @*** empty log message *** @ text @d94 1 a94 1 $(TARDY) --user_number=0 --user_name=pth \ @ 1.56 log @*** empty log message *** @ text @d65 3 a67 3 TARGET_LIBS = libpth.la TARGET_MANS = pth-config.1 pth.3 TARGET_TEST = test_std test_httpd test_mp test_misc test_sig d141 3 d154 8 d175 2 d183 1 a183 1 @@$(MAKE) $(MFLAGS) install-dirs install-pth d196 6 d215 1 d303 2 d317 2 @ 1.55 log @*** empty log message *** @ text @d7 1 a7 1 ## which can be found at http://www.engelschall.com/sw/pth/. @ 1.54 log @*** empty log message *** @ text @d145 1 a145 1 NAME="PTH"; ONELINE="Non-Preemtive Thread Scheduling Library"; \ d149 1 a149 1 NAME="PTH"; ONELINE="Non-Preemtive Thread Scheduling Library"; \ @ 1.53 log @*** empty log message *** @ text @d335 1 a335 1 $(OBJS): Makefile @ 1.52 log @*** empty log message *** @ text @a242 1 echo ""; \ a259 1 echo ""; \ @ 1.51 log @*** empty log message *** @ text @d67 1 a67 1 TARGET_TEST = test_httpd test_mp test_misc test_sig d152 4 a155 1 # build the test programs a163 1 d233 44 a276 2 test: test-mp debug: debug-mp d285 4 d296 2 @ 1.50 log @*** empty log message *** @ text @d69 1 a69 1 OBJS = pth.o pth_attr.o pth_debug.o pth_errno.o pth_ring.o pth_time.o pth_mctx.o pth_tcb.o pth_util.o \ d72 1 a72 1 LOBJS = pth.lo pth_attr.lo pth_debug.lo pth_errno.lo pth_ring.lo pth_time.lo pth_mctx.lo pth_tcb.lo pth_util.lo \ @ 1.49 log @*** empty log message *** @ text @d78 1 a78 1 pth_sync.c pth_attr.c pth.c d290 3 a292 1 pth.o: pth.c pth_p.h pth_vers.c pth.h pth_conf.h d295 1 d298 1 d304 1 @ 1.48 log @*** empty log message *** @ text @d69 1 a69 1 OBJS = pth.o pth_debug.o pth_errno.o pth_ring.o pth_time.o pth_mctx.o pth_tcb.o pth_util.o \ d72 1 a72 1 LOBJS = pth.lo pth_debug.lo pth_errno.lo pth_ring.lo pth_time.lo pth_mctx.lo pth_tcb.lo pth_util.lo \ d78 1 a78 1 pth_sync.c pth.c @ 1.47 log @*** empty log message *** @ text @d251 1 a251 1 dist: fixperm distclean d253 1 a253 1 snap: fixperm distclean @ 1.46 log @*** empty log message *** @ text @d162 4 @ 1.45 log @*** empty log message *** @ text @d78 1 a78 1 pth_sync.c @ 1.44 log @*** empty log message *** @ text @d69 1 a69 1 OBJS = pth.o pth_debug.o pth_ring.o pth_time.o pth_mctx.o pth_tcb.o pth_util.o \ d72 1 a72 1 LOBJS = pth.lo pth_debug.lo pth_ring.lo pth_time.lo pth_mctx.lo pth_tcb.lo pth_util.lo \ d76 2 a77 2 HSRCS = pth_debug.c pth_ring.c pth_mctx.c pth_clean.c pth_time.c pth_tcb.c pth_util.c \ pth_pqueue.c pth_event.c pth_sched.c pth_data.c pth_msg.c pth_cancel.c \ @ 1.43 log @*** empty log message *** @ text @d70 2 a71 1 pth_pqueue.o pth_event.o pth_sched.o pth_data.o pth_msg.o pth_clean.o pth_cancel.o pth_high.o d73 2 a74 1 pth_pqueue.lo pth_event.lo pth_sched.lo pth_data.lo pth_msg.lo pth_clean.lo pth_cancel.lo pth_high.lo d77 2 a78 1 pth_pqueue.c pth_event.c pth_sched.c pth_data.c pth_msg.c pth_cancel.c @ 1.42 log @*** empty log message *** @ text @d65 2 a66 2 TARGET_LIBS = libpth.la @@LIBPTHREAD_LA@@ TARGET_MANS = pth-config.1 pth.3 @@PTHREAD_CONFIG_1@@ @@PTHREAD_3@@ d161 1 a161 1 @@$(MAKE) $(MFLAGS) install-dirs install-pth @@INSTALL_PTHREAD@@ @ 1.41 log @*** empty log message *** @ text @a137 3 libpthread.la: pthread.lo $(LOBJS) $(LIBTOOL) --quiet $(CC) -o libpthread.la pthread.lo $(LOBJS) \ -rpath $(libdir) -version-info `$(SHTOOL) version -l c -d libtool pth_vers.c` a147 8 pthread-config.1: pthread-config.pod $(_VERSION_FILE) BASENAME="pthread-config"; SEC=1; \ NAME="PTH pthread"; ONELINE="POSIX Thread API of PTH"; \ $(_MANPAGE) pthread.3: pthread.pod $(_VERSION_FILE) BASENAME="pthread"; SEC=3; \ NAME="PTH pthread"; ONELINE="POSIX Thread API of PTH"; \ $(_MANPAGE) a173 6 install-pthread: $(SHTOOL) install -c -m 755 pthread-config $(bindir)/pthread-config $(SHTOOL) install -c -m 644 pthread-config.1 $(mandir)/man1/pthread-config.1 $(SHTOOL) install -c -m 644 pthread.h $(includedir)/pthread.h $(SHTOOL) install -c -m 644 pthread.3 $(mandir)/man3/pthread.3 @@$(LIBTOOL) --mode=install $(SHTOOL) install -c -m 644 libpthread.la $(libdir)/libpthread.la a186 1 $(RM) pthread-config pthread.h @ 1.40 log @*** empty log message *** @ text @d70 1 a70 1 pth_pqueue.o pth_event.o pth_sched.o pth_data.o pth_msg.o pth_clean.o pth_high.o d72 1 a72 1 pth_pqueue.lo pth_event.lo pth_sched.lo pth_data.lo pth_msg.lo pth_clean.lo pth_high.lo d75 1 a75 1 pth_pqueue.c pth_event.c pth_sched.c pth_data.c pth_msg.c @ 1.39 log @*** empty log message *** @ text @d70 1 a70 1 pth_pqueue.o pth_event.o pth_sched.o pth_data.o pth_msg.o pth_high.o d72 1 a72 1 pth_pqueue.lo pth_event.lo pth_sched.lo pth_data.lo pth_msg.lo pth_high.lo d74 1 a74 1 HSRCS = pth_debug.c pth_ring.c pth_mctx.c pth_time.c pth_tcb.c pth_util.c \ @ 1.38 log @*** empty log message *** @ text @d219 1 a219 1 @@$(SHTOOL) fixperm -s * @ 1.37 log @*** empty log message *** @ text @d203 2 a204 1 $(RM) pth-config pthread-config pth_conf.h pth.h @ 1.36 log @*** empty log message *** @ text @d132 1 a132 1 $(SHTOOL) scpp -o pth_p.h -t pth_p.h.in -M '==#==' -D 'cpp' -C 'intern' $(HSRCS) d268 1 a268 1 OPT='-i v' && $(_VERSION) d270 1 a270 1 OPT='-i r' && $(_VERSION) d272 1 a272 1 OPT='-i P' && $(_VERSION) d274 1 a274 1 OPT='-i b' && $(_VERSION) d276 1 a276 1 OPT='-i a' && $(_VERSION) d278 1 a278 1 OPT='-i s' && $(_VERSION) d280 1 a280 1 OPT='-s $(R)' && $(_VERSION) d282 1 a282 1 OPT="-s `$(SHTOOL) version -l c -d short $(_VERSION_FILE)`" && $(_VERSION) d312 1 d317 1 @ 1.35 log @*** empty log message *** @ text @d69 1 a69 1 OBJS = pth.o pth_debug.o pth_ring.o pth_time.o pth_mctx.o pth_tcb.o \ d71 1 a71 1 LOBJS = pth.lo pth_debug.lo pth_ring.lo pth_time.lo pth_mctx.lo pth_tcb.lo \ d74 1 a74 1 HSRCS = pth_debug.c pth_ring.c pth_mctx.c pth_time.c pth_tcb.c \ @ 1.34 log @*** empty log message *** @ text @d132 1 a132 1 $(SHTOOL) scpp -o pth_p.h -t pth_p.h.in -M '==#==' -D cpp -C intern $(HSRCS) @ 1.33 log @*** empty log message *** @ text @d243 2 a244 1 d247 2 d251 2 d255 2 @ 1.32 log @*** empty log message *** @ text @d67 1 a67 1 TARGET_TEST = test_httpd test_mp test_misc d106 9 d167 2 d241 4 a244 1 test: test_mp d246 6 a251 8 debug: test_mp @@core=""; \ if [ -f test_mp.core ]; then \ core=test_mp.core; \ elif [ -f core ]; then \ core=core; \ fi; \ $(LIBTOOL) $(GDB) test_mp $$core @ 1.31 log @*** empty log message *** @ text @d20 1 a20 1 ## License along with this library; if not, write to the Free @ 1.30 log @*** empty log message *** @ text @d111 2 a112 1 .SUFFIXES: .o .lo @ 1.29 log @*** empty log message *** @ text @d160 1 a160 1 $(MAKE) $(MFLAGS) install-dirs install-pth @@INSTALL_PTHREAD@@ @ 1.28 log @*** empty log message *** @ text @d24 1 d26 3 a28 1 @@SET_MAKE@@ a29 1 # paths d38 4 a41 1 # build tools d60 11 a70 3 # target objects OBJS = pth.o pth_debug.o pth_ring.o pth_time.o pth_mctx.o pth_tcb.o \ pth_pqueue.o pth_event.o pth_sched.o pth_data.o pth_msg.o pth_high.o d73 1 a75 2 MANS = pth-config.1 pth.3 TEST = test_httpd test_misc test_mp d77 4 a80 1 # common stuff for version maintainance d83 1 d89 17 d107 1 a107 1 ## END USER TARGET AREA d118 1 a118 1 all: pth_p.h libpth.la $(MANS) $(TEST) d124 2 a125 2 # build the static and possibly shared library libpth.la: $(OBJS) $(LOBJS) d127 4 a130 2 -rpath $(libdir) -version-info \ `$(SHTOOL) version -l c -d libtool pth_vers.c` d134 3 a136 5 V1=`$(SHTOOL) version -l c -d short $(_VERSION_FILE)`; \ V2=`$(SHTOOL) version -l c -d long $(_VERSION_FILE)`; \ D=`$(SHTOOL) version -l c -d long $(_VERSION_FILE) | $(SED) -e 's;.*(;;' -e 's;).*;;'`; \ pod2man --section=3 --center="Non-Preemptive Thread Scheduling Library" --release="$$D" --date="PTH $$V1" pth-config.pod |\ $(SED) -e "s;PTH_VERSION_STR;$$V2;" >pth-config.1 d138 11 a148 5 V1=`$(SHTOOL) version -l c -d short $(_VERSION_FILE)`; \ V2=`$(SHTOOL) version -l c -d long $(_VERSION_FILE)`; \ D=`$(SHTOOL) version -l c -d long $(_VERSION_FILE) | $(SED) -e 's;.*(;;' -e 's;).*;;'`; \ pod2man --section=3 --center="Non-Preemptive Thread Scheduling Library" --release="$$D" --date="PTH $$V1" pth.pod |\ $(SED) -e "s;PTH_VERSION_STR;$$V2;" >pth.3 d160 2 d167 1 d173 6 d182 3 a184 1 $(RM) pth_p.h d186 1 a186 3 $(RM) $(TEST) test_mp.o test_misc.o test_httpd.o test_mp.lo test_misc.lo test_httpd.lo $(RM) libpth.la $(OBJS) $(LOBJS) $(RM) -r .libs d191 1 a191 1 $(RM) pth-config pth_conf.h pth.h d197 1 a197 1 $(RM) pth-config.1 pth.3 d200 1 a200 1 ## DEVELOPER TARGET AREA d204 4 d240 5 a244 21 # roll a release or snapshot tarball dist: distclean @@$(SHTOOL) fixperm -s *; \ V=`$(SHTOOL) version -l c -d short $(_VERSION_FILE)`; \ $(GTAR) --no-recursion -cvf - `find * -depth -print | sort | grep -v CVS | grep -v .cvsignore ` |\ $(TARDY) --user_number=0 --user_name=rse \ --group_number=0 --group_name=en \ --prefix=pth-$$V - |\ $(GZIP) --best >/tmp/pth-$$V.tar.gz && \ $(CP) /tmp/pth-$$V.tar.gz .; $(RM) /tmp/pth-$$V.tar.gz; \ $(LS) -l pth-$$V.tar.gz snap: distclean @@$(SHTOOL) fixperm -s *; \ V=`$(SHTOOL) version -l c -d short $(_VERSION_FILE)`; \ $(GTAR) --no-recursion -cvf - `find * -depth -print | sort | grep -v CVS | grep -v .cvsignore ` |\ $(TARDY) --user_number=0 --user_name=rse \ --group_number=0 --group_name=en \ --prefix=pth-$$V-SNAP - |\ $(GZIP) --best >/tmp/pth-$$V-SNAP.tar.gz && \ $(CP) /tmp/pth-$$V-SNAP.tar.gz .; $(RM) /tmp/pth-$$V-SNAP.tar.gz; \ $(LS) -l pth-$$V-SNAP.tar.gz d273 2 a274 2 ## DEPENDENCY AREA ## (AUTOMATICALLY UPDATED BY depend TARGET ABOVE) @ 1.27 log @*** empty log message *** @ text @d88 1 a88 1 pth_p.h: pth_p.h.in $(HSRCS) @ 1.26 log @*** empty log message *** @ text @d244 16 @ 1.25 log @*** empty log message *** @ text @d134 1 d136 2 a137 5 $(RM) test_mp.o test_misc.o test_httpd.o $(RM) test_mp.lo test_misc.lo test_httpd.lo $(RM) test_mp test_misc test_httpd $(RM) $(OBJS) $(RM) $(LOBJS) a138 2 $(RM) libpth.la $(RM) pth_p.h @ 1.24 log @*** empty log message *** @ text @d89 1 a89 1 $(SHTOOL) scpp -o pth_p.h -t pth_p.h.in -M '%%MARK%%' -D cpp -C intern $(HSRCS) @ 1.23 log @*** empty log message *** @ text @a41 1 SHPP = $(TOP)/shpp d89 1 a89 3 $(SHPP) --output-file=pth_p.h --output-template=pth_p.h.in \ --input-define=cpp --input-class=intern \ $(HSRCS) @ 1.22 log @*** empty log message *** @ text @d42 1 d61 2 d86 7 a92 1 all: libpth.la $(MANS) $(TEST) d143 1 d145 1 a145 1 $(RM) -r .libs a250 40 pth.o: pth.c pth_p.h pth_vers.c pth.h pth_conf.h pth_debug.h \ pth_ring.h pth_mctx.h pth_time.h pth_tcb.h pth_pqueue.h pth_event.h \ pth_sched.h pth_data.h pth_msg.h pth_data.o: pth_data.c pth_p.h pth_vers.c pth.h pth_conf.h pth_debug.h \ pth_ring.h pth_mctx.h pth_time.h pth_tcb.h pth_pqueue.h pth_event.h \ pth_sched.h pth_data.h pth_msg.h pth_debug.o: pth_debug.c pth_p.h pth_vers.c pth.h pth_conf.h \ pth_debug.h pth_ring.h pth_mctx.h pth_time.h pth_tcb.h pth_pqueue.h \ pth_event.h pth_sched.h pth_data.h pth_msg.h pth_event.o: pth_event.c pth_p.h pth_vers.c pth.h pth_conf.h \ pth_debug.h pth_ring.h pth_mctx.h pth_time.h pth_tcb.h pth_pqueue.h \ pth_event.h pth_sched.h pth_data.h pth_msg.h pth_high.o: pth_high.c pth_p.h pth_vers.c pth.h pth_conf.h pth_debug.h \ pth_ring.h pth_mctx.h pth_time.h pth_tcb.h pth_pqueue.h pth_event.h \ pth_sched.h pth_data.h pth_msg.h pth_mctx.o: pth_mctx.c pth_p.h pth_vers.c pth.h pth_conf.h pth_debug.h \ pth_ring.h pth_mctx.h pth_time.h pth_tcb.h pth_pqueue.h pth_event.h \ pth_sched.h pth_data.h pth_msg.h pth_msg.o: pth_msg.c pth_p.h pth_vers.c pth.h pth_conf.h pth_debug.h \ pth_ring.h pth_mctx.h pth_time.h pth_tcb.h pth_pqueue.h pth_event.h \ pth_sched.h pth_data.h pth_msg.h pth_pqueue.o: pth_pqueue.c pth_p.h pth_vers.c pth.h pth_conf.h \ pth_debug.h pth_ring.h pth_mctx.h pth_time.h pth_tcb.h pth_pqueue.h \ pth_event.h pth_sched.h pth_data.h pth_msg.h pth_ring.o: pth_ring.c pth_p.h pth_vers.c pth.h pth_conf.h pth_debug.h \ pth_ring.h pth_mctx.h pth_time.h pth_tcb.h pth_pqueue.h pth_event.h \ pth_sched.h pth_data.h pth_msg.h pth_sched.o: pth_sched.c pth_p.h pth_vers.c pth.h pth_conf.h \ pth_debug.h pth_ring.h pth_mctx.h pth_time.h pth_tcb.h pth_pqueue.h \ pth_event.h pth_sched.h pth_data.h pth_msg.h pth_tcb.o: pth_tcb.c pth_p.h pth_vers.c pth.h pth_conf.h pth_debug.h \ pth_ring.h pth_mctx.h pth_time.h pth_tcb.h pth_pqueue.h pth_event.h \ pth_sched.h pth_data.h pth_msg.h pth_time.o: pth_time.c pth_p.h pth_vers.c pth.h pth_conf.h pth_debug.h \ pth_ring.h pth_mctx.h pth_time.h pth_tcb.h pth_pqueue.h pth_event.h \ pth_sched.h pth_data.h pth_msg.h pth_vers.o: pth_vers.c test_httpd.o: test_httpd.c pth.h test_misc.o: test_misc.c pth.h test_mp.o: test_mp.c pth.h @ 1.21 log @*** empty log message *** @ text @d92 1 a92 1 pth-config.1: pth-config.pod d98 1 a98 1 pth.3: pth.pod @ 1.20 log @*** empty log message *** @ text @d27 1 d36 1 d53 1 d55 1 d61 1 d63 1 a63 5 TEST =\ test_httpd\ test_misc\ test_mp d72 1 a72 1 ## TARGET AREA d75 1 a76 1 d82 1 d85 1 d91 1 a91 7 test_httpd: test_httpd.o libpth.la $(LIBTOOL) --quiet $(CC) $(LDFLAGS) -o test_httpd test_httpd.lo libpth.la $(LIBS) test_misc: test_misc.o libpth.la $(LIBTOOL) --quiet $(CC) $(LDFLAGS) -o test_misc test_misc.lo libpth.la $(LIBS) test_mp: test_mp.o libpth.la $(LIBTOOL) --quiet $(CC) $(LDFLAGS) -o test_mp test_mp.lo libpth.la $(LIBS) d105 7 a111 29 upgrade: @@$(RM) ltmain.sh ltconfig @@$(MAKE) $(MFLAGS) ltmain.sh ltconfig configure pth_conf.h.in configure: configure.in $(RM) configure autoconf pth_conf.h.in: configure.in acconfig.h $(RM) pth_conf.h.in autoheader configure.in >pth_conf.h.in ltmain.sh: @@F=`libtoolize -n -c -f | grep 'cp.*ltmain.sh' |\ $(SED) -e 's;[^/]*;;' -e 's; .*;;'`; \ $(ECHO) "ltmain.sh <-- $$F"; cat $$F |\ $(SED) -e 's:/bin/sh; then:/bin/sh || test "$$nonopt" = ./shtool;then:' \ -e 's:exec \$$SHELL \$$0 --finish:exit 0 #:' >ltmain.sh ltconfig: @@F=`libtoolize -n -c -f | grep 'cp.*ltconfig' | $(SED) -e 's;[^/]*;;' -e 's; .*;;'`; \ $(ECHO) "ltconfig <-- $$F"; $(CP) $$F . test: test_mp ./test_mp debug: test_mp @@core=""; \ if [ -f test_mp.core ]; then \ core=test_mp.core; \ elif [ -f core ]; then \ core=core; \ fi; \ $(LIBTOOL) gdb test_mp $$core d113 1 d126 1 d137 1 d144 1 d148 38 a195 1 d207 1 d225 1 d235 1 @ 1.19 log @*** empty log message *** @ text @d88 1 a88 1 test_httpd: test_httpd.o libpth.a d90 1 a90 1 test_misc: test_misc.o libpth.a d92 1 a92 1 test_mp: test_mp.o libpth.a @ 1.18 log @*** empty log message *** @ text @d222 40 @ 1.17 log @*** empty log message *** @ text @d40 2 a41 2 AR = ar RANLIB = @@RANLIB@@ d43 14 a56 19 SHTOOL = @@SHTOOL@@ OBJS =\ pth.o\ pth_debug.o\ pth_ring.o\ pth_time.o\ pth_mctx.o\ pth_tcb.o\ pth_pqueue.o\ pth_event.o\ pth_sched.o\ pth_data.o\ pth_msg.o\ pth_high.o MANS =\ pth-config.1\ pth.3 d68 1 a68 1 sed -e "s/Version .*(.*)/Version $$V/g" README.n && mv README.n README d77 10 a86 7 $(CC) $(CFLAGS) -c $< all: libpth.a $(MANS) $(TEST) libpth.a: $(OBJS) $(AR) rc libpth.a $(OBJS) $(RANLIB) libpth.a d89 1 a89 1 $(CC) $(LDFLAGS) -o test_httpd test_httpd.o -L. -lpth $(LIBS) d91 1 a91 1 $(CC) $(LDFLAGS) -o test_misc test_misc.o -L. -lpth $(LIBS) d93 1 a93 1 $(CC) $(LDFLAGS) -o test_mp test_mp.o -L. -lpth $(LIBS) d98 1 a98 1 D=`$(SHTOOL) version -l c -d long $(_VERSION_FILE) | sed -e 's;.*(;;' -e 's;).*;;'`; \ d100 1 a100 1 sed -e "s;PTH_VERSION_STR;$$V2;" >pth-config.1 d104 1 a104 1 D=`$(SHTOOL) version -l c -d long $(_VERSION_FILE) | sed -e 's;.*(;;' -e 's;).*;;'`; \ d106 1 a106 1 sed -e "s;PTH_VERSION_STR;$$V2;" >pth.3 d108 3 a110 1 config: configure pth_conf.h.in d117 9 d130 2 a131 1 @@if [ -f test_mp.core ]; then \ d133 2 a134 6 else \ if [ -f core ]; then \ core=core; \ else \ core=""; \ fi; \ d136 1 a136 1 gdb ./test_mp $$core d148 1 a148 1 $(SHTOOL) install -c -m 644 libpth.a $(libdir)/libpth.a d153 1 d156 3 a158 1 $(RM) libpth.a d164 1 d172 7 a178 7 gtar --no-recursion -cvf - `find * -depth -print | sort | grep -v CVS | grep -v .cvsignore ` |\ tardy --user_number=0 --user_name=rse \ --group_number=0 --group_name=en \ --prefix=pth-$$V - |\ gzip --best >/tmp/pth-$$V.tar.gz && \ cp /tmp/pth-$$V.tar.gz .; rm -f /tmp/pth-$$V.tar.gz; \ ls -l pth-$$V.tar.gz d183 7 a189 7 gtar --no-recursion -cvf - `find * -depth -print | sort | grep -v CVS | grep -v .cvsignore ` |\ tardy --user_number=0 --user_name=rse \ --group_number=0 --group_name=en \ --prefix=pth-$$V-SNAP - |\ gzip --best >/tmp/pth-$$V-SNAP.tar.gz && \ cp /tmp/pth-$$V-SNAP.tar.gz .; rm -f /tmp/pth-$$V-SNAP.tar.gz; \ ls -l pth-$$V-SNAP.tar.gz d209 5 a213 5 cp Makefile.in Makefile.in.bak \ && sed -ne '1,/^# DO NOT REMOVE/p' Makefile.in > Makefile.new \ && $(CC) -MM $(CFLAGS) *.c >> Makefile.new \ && cp Makefile.new Makefile.in && rm Makefile.new a221 40 pth.o: pth.c pth_p.h pth_vers.c pth.h pth_conf.h pth_debug.h \ pth_ring.h pth_mctx.h pth_time.h pth_tcb.h pth_pqueue.h pth_event.h \ pth_sched.h pth_data.h pth_msg.h pth_data.o: pth_data.c pth_p.h pth_vers.c pth.h pth_conf.h pth_debug.h \ pth_ring.h pth_mctx.h pth_time.h pth_tcb.h pth_pqueue.h pth_event.h \ pth_sched.h pth_data.h pth_msg.h pth_debug.o: pth_debug.c pth_p.h pth_vers.c pth.h pth_conf.h \ pth_debug.h pth_ring.h pth_mctx.h pth_time.h pth_tcb.h pth_pqueue.h \ pth_event.h pth_sched.h pth_data.h pth_msg.h pth_event.o: pth_event.c pth_p.h pth_vers.c pth.h pth_conf.h \ pth_debug.h pth_ring.h pth_mctx.h pth_time.h pth_tcb.h pth_pqueue.h \ pth_event.h pth_sched.h pth_data.h pth_msg.h pth_high.o: pth_high.c pth_p.h pth_vers.c pth.h pth_conf.h pth_debug.h \ pth_ring.h pth_mctx.h pth_time.h pth_tcb.h pth_pqueue.h pth_event.h \ pth_sched.h pth_data.h pth_msg.h pth_mctx.o: pth_mctx.c pth_p.h pth_vers.c pth.h pth_conf.h pth_debug.h \ pth_ring.h pth_mctx.h pth_time.h pth_tcb.h pth_pqueue.h pth_event.h \ pth_sched.h pth_data.h pth_msg.h pth_msg.o: pth_msg.c pth_p.h pth_vers.c pth.h pth_conf.h pth_debug.h \ pth_ring.h pth_mctx.h pth_time.h pth_tcb.h pth_pqueue.h pth_event.h \ pth_sched.h pth_data.h pth_msg.h pth_pqueue.o: pth_pqueue.c pth_p.h pth_vers.c pth.h pth_conf.h \ pth_debug.h pth_ring.h pth_mctx.h pth_time.h pth_tcb.h pth_pqueue.h \ pth_event.h pth_sched.h pth_data.h pth_msg.h pth_ring.o: pth_ring.c pth_p.h pth_vers.c pth.h pth_conf.h pth_debug.h \ pth_ring.h pth_mctx.h pth_time.h pth_tcb.h pth_pqueue.h pth_event.h \ pth_sched.h pth_data.h pth_msg.h pth_sched.o: pth_sched.c pth_p.h pth_vers.c pth.h pth_conf.h \ pth_debug.h pth_ring.h pth_mctx.h pth_time.h pth_tcb.h pth_pqueue.h \ pth_event.h pth_sched.h pth_data.h pth_msg.h pth_tcb.o: pth_tcb.c pth_p.h pth_vers.c pth.h pth_conf.h pth_debug.h \ pth_ring.h pth_mctx.h pth_time.h pth_tcb.h pth_pqueue.h pth_event.h \ pth_sched.h pth_data.h pth_msg.h pth_time.o: pth_time.c pth_p.h pth_vers.c pth.h pth_conf.h pth_debug.h \ pth_ring.h pth_mctx.h pth_time.h pth_tcb.h pth_pqueue.h pth_event.h \ pth_sched.h pth_data.h pth_msg.h pth_vers.o: pth_vers.c test_httpd.o: test_httpd.c pth.h test_misc.o: test_misc.c pth.h test_mp.o: test_mp.c pth.h @ 1.16 log @*** empty log message *** @ text @d91 1 a91 1 $(CC) $(LDFLAGS) -o test_httpd test_httpd.o libpth.a $(LIBS) d93 1 a93 1 $(CC) $(LDFLAGS) -o test_misc test_misc.o libpth.a $(LIBS) d95 1 a95 1 $(CC) $(LDFLAGS) -o test_mp test_mp.o libpth.a $(LIBS) @ 1.15 log @*** empty log message *** @ text @d37 1 a37 1 CFLAGS = @@CFLAGS@@ @ 1.14 log @*** empty log message *** @ text @a54 1 pth_errno.o\ d214 1 a214 1 pth_sched.h pth_data.h pth_msg.h pth_errno.h d217 1 a217 1 pth_sched.h pth_data.h pth_msg.h pth_errno.h d220 1 a220 4 pth_event.h pth_sched.h pth_data.h pth_msg.h pth_errno.h pth_errno.o: pth_errno.c pth_p.h pth_vers.c pth.h pth_conf.h \ pth_debug.h pth_ring.h pth_mctx.h pth_time.h pth_tcb.h pth_pqueue.h \ pth_event.h pth_sched.h pth_data.h pth_msg.h pth_errno.h d223 1 a223 1 pth_event.h pth_sched.h pth_data.h pth_msg.h pth_errno.h d226 1 a226 1 pth_sched.h pth_data.h pth_msg.h pth_errno.h d229 1 a229 1 pth_sched.h pth_data.h pth_msg.h pth_errno.h d232 1 a232 1 pth_sched.h pth_data.h pth_msg.h pth_errno.h d235 1 a235 1 pth_event.h pth_sched.h pth_data.h pth_msg.h pth_errno.h d238 1 a238 1 pth_sched.h pth_data.h pth_msg.h pth_errno.h d241 1 a241 1 pth_event.h pth_sched.h pth_data.h pth_msg.h pth_errno.h d244 1 a244 1 pth_sched.h pth_data.h pth_msg.h pth_errno.h d247 1 a247 1 pth_sched.h pth_data.h pth_msg.h pth_errno.h @ 1.13 log @*** empty log message *** @ text @d6 1 a6 1 ## This file is part of PTH, a non-preemtive thread scheduling library d76 4 d102 1 a102 1 pod2man --section=3 --center="Non-Preemtive Thread Scheduling Library" --release="$$D" --date="PTH $$V1" pth-config.pod |\ d108 1 a108 1 pod2man --section=3 --center="Non-Preemtive Thread Scheduling Library" --release="$$D" --date="PTH $$V1" pth.pod |\ @ 1.12 log @*** empty log message *** @ text @d195 57 @ 1.11 log @*** empty log message *** @ text @d87 2 a90 2 test_httpd: test_httpd.o libpth.a $(CC) $(LDFLAGS) -o test_httpd test_httpd.o libpth.a $(LIBS) d115 5 a119 5 test: test_misc ./test_misc debug: test_misc @@if [ -f test_misc.core ]; then \ core=test_misc.core; \ d127 1 a127 1 gdb ./test_misc $$core @ 1.10 log @*** empty log message *** @ text @d55 1 @ 1.9 log @*** empty log message *** @ text @a0 2 ## ==================================================================== ## Copyright (c) 1999 Ralf S. Engelschall. All rights reserved. d2 6 a7 36 ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions ## are met: ## ## 1. Redistributions of source code must retain the above copyright ## notice, this list of conditions and the following disclaimer. ## ## 2. Redistributions in binary form must reproduce the above copyright ## notice, this list of conditions and the following disclaimer in ## the documentation and/or other materials provided with the ## distribution. ## ## 3. All advertising materials mentioning features or use of this ## software must display the following acknowledgment: ## "This product includes software developed by ## Ralf S. Engelschall ." ## ## 4. Redistributions of any form whatsoever must retain the following ## acknowledgment: ## "This product includes software developed by ## Ralf S. Engelschall ." ## ## THIS SOFTWARE IS PROVIDED BY RALF S. ENGELSCHALL ``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 RALF S. ENGELSCHALL OR ## ITS 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. ## ==================================================================== d9 14 a22 1 ## Makefile d97 1 a97 1 pod2man --section=3 --center="Non-Preemtive Scheduler" --release="$$D" --date="PTH $$V1" pth-config.pod |\ d103 1 a103 1 pod2man --section=3 --center="Non-Preemtive Scheduler" --release="$$D" --date="PTH $$V1" pth.pod |\ @ 1.8 log @*** empty log message *** @ text @d161 2 a162 2 $(RM) test_misc.o test_httpd.o $(RM) test_misc test_httpd @ 1.7 log @*** empty log message *** @ text @d67 1 d75 1 d83 1 d85 1 a85 1 test_httpd d109 2 @ 1.6 log @*** empty log message *** @ text @d73 1 @ 1.5 log @*** empty log message *** @ text @d72 2 a73 1 pth_sched.o @ 1.4 log @*** empty log message *** @ text @d64 9 a72 9 OBJS = \ pth.o \ pth_debug.o \ pth_time.o \ pth_mctx.o \ pth_tcb.o \ pth_pqueue.o \ pth_event.o \ pth_sched.o d74 3 a76 3 MANS = \ pth-config.1 \ pth.3 d78 3 a80 3 TEST = \ test_misc \ test_httpd d83 1 a83 1 pth_vers.c @ 1.3 log @*** empty log message *** @ text @d184 1 a184 1 --prefix=pth-$$V - |\ @ 1.2 log @*** empty log message *** @ text @d161 1 a161 1 $(RM) pth-config pth_conf.h @ 1.1 log @Initial revision @ text @d168 1 a168 1 @@$(SHTOOL) fixperm *; \ d179 1 a179 1 @@$(SHTOOL) fixperm *; \ @ 1.1.1.1 log @Import of PTH into CVS @ text @@