# Fix for local needs
FC = g77
CC = gcc
CXX = g++
FFLAGS = -Wall -Wimplicit
#CFLAGS = -O3 -Wall
#CXXFLAGS = -O3 -Wall
CFLAGS = -gstabs -Wall
CXXFLAGS = -gstabs -Wall
# Uncomment to build all when make file changes
#SPECDEP=makefile
TARGETS = getoptP IOerrors arguments dirDepth dirDepthC dirRec dirFastC dirThread env environ fileData fileIO forkbunny forknwait fqdns getgrXXX getgroups getpwXXX gidegid group hosts inetSocC inetSocS kill passwd paths param sysconf popenDemo ptCond ptJoin ptMutex readdir regex_example rssu select_poll sigaction signal sleep sparse suid0tmp uideuid unixSocC unixSocS fileStuff shmMakeAndUseRT shmRemoveRT shmMake semMakeRT shmUse shmRemove mmap curDraw curHello curHelloMV curHelloMVW curHelloW curInput curColor termSizeWatch uname posixLimits isocLimits rlimit xdrFilter isocTokEx pcre_example rlEX rlEXC rlEXH
SOLARISS = passwdshadow solaris_ps
all : ${TARGETS}
@echo Make Complete
alls : ${SOLARISS}
@echo Make Complete
clean :
rm -f ${TARGETS} ${SOLARISS} *~ *.bak* a.out ndbmTest.db
@echo Make Complete
uname : uname.c $(SPECDEP)
rlimit : rlimit.c $(SPECDEP)
posixLimits : posixLimits.c $(SPECDEP)
xdrFilter : xdrFilter.c $(SPECDEP)
isocLimits : isocLimits.c $(SPECDEP)
getoptP : getoptP.c $(SPECDEP)
dirDepth : dirDepth.c $(SPECDEP)
dirDepthC : dirDepthC.cc
dirFastC : dirFastC.cc
dirRec : dirRec.c $(SPECDEP)
dirThread : dirThread.cc mtUtils/mtUtils.c $(SPECDEP)
$(CXX) $(CXXFLAGS) -I./mtUtils dirThread.cc mtUtils/mtUtils.c -o dirThread
IOerrors : IOerrors.c $(SPECDEP)
arguments : arguments.c $(SPECDEP)
env : env.c $(SPECDEP)
environ : environ.c $(SPECDEP)
fileData : fileData.c $(SPECDEP)
fileIO : fileIO.c $(SPECDEP)
forkbunny : forkbunny.c $(SPECDEP)
forknwait : forknwait.c $(SPECDEP)
fqdns : fqdns.c $(SPECDEP)
getgrXXX : getgrXXX.c $(SPECDEP)
getgroups : getgroups.c $(SPECDEP)
getpwXXX : getpwXXX.c $(SPECDEP)
gidegid : gidegid.c $(SPECDEP)
group : group.c $(SPECDEP)
hosts : hosts.c $(SPECDEP)
inetSocC : inetSocC.c $(SPECDEP)
inetSocS : inetSocS.c $(SPECDEP)
kill : kill.c $(SPECDEP)
passwd : passwd.c $(SPECDEP)
passwdshadow : passwdshadow.c $(SPECDEP)
paths : paths.c $(SPECDEP)
param : param.c $(SPECDEP)
sysconf : sysconf.c $(SPECDEP)
popenDemo : popenDemo.c $(SPECDEP)
ptCond : ptCond.c mtUtils/mtUtils.c $(SPECDEP)
$(CC) $(CFLAGS) -I./mtUtils ptCond.c mtUtils/mtUtils.c -o ptCond
ptJoin : ptJoin.c mtUtils/mtUtils.c $(SPECDEP)
$(CC) $(CFLAGS) -I./mtUtils ptJoin.c mtUtils/mtUtils.c -o ptJoin
ptMutex : ptMutex.c mtUtils/mtUtils.c $(SPECDEP)
$(CC) $(CFLAGS) -I./mtUtils ptMutex.c mtUtils/mtUtils.c -o ptMutex
readdir : readdir.c $(SPECDEP)
regex_example : regex_example.c $(SPECDEP)
isocTokEx : isocTokEx.c $(SPECDEP)
rssu : rssu.c $(SPECDEP)
select_poll : select_poll.c $(SPECDEP)
sigaction : sigaction.c $(SPECDEP)
signal : signal.c $(SPECDEP)
sleep : sleep.c $(SPECDEP)
solaris_ps : solaris_ps.c $(SPECDEP)
sparse : sparse.c $(SPECDEP)
suid0tmp : suid0tmp.c $(SPECDEP)
uideuid : uideuid.c $(SPECDEP)
unixSocC : unixSocC.c $(SPECDEP)
unixSocS : unixSocS.c $(SPECDEP)
unixSocS : unixSocS.c $(SPECDEP)
fileStuff : fileStuff.c $(SPECDEP)
semMakeRT : semMakeRT.c $(SPECDEP)
shmMake : shmMake.c $(SPECDEP)
shmMakeAndUseRT : shmMakeAndUseRT.c $(SPECDEP)
shmRemoveRT : shmRemoveRT.c $(SPECDEP)
shmUse : shmUse.c $(SPECDEP)
shmRemove : shmRemove.c $(SPECDEP)
utime : utime.c $(SPECDEP)
mmap : mmap.c $(SPECDEP)
termSizeWatch : termSizeWatch.c $(SPECDEP)
CURHOME = /usr/local
#CURHOME = /apps/free/ncurses/5.4/include
#CURINCP = -I$(CURHOME)/include
#CURLIBP = -L$(CURHOME)/lib
CURLIB = -lncurses
curHelloW : curHelloW.c $(SPECDEP)
$(CC) $(CFLAGS) $(CURINCP) $(CURLIBP) curHelloW.c $(CURLIB) -o curHelloW
curHelloMV : curHelloMV.c $(SPECDEP)
$(CC) $(CFLAGS) $(CURINCP) $(CURLIBP) curHelloMV.c $(CURLIB) -o curHelloMV
curHelloMVW : curHelloMVW.c $(SPECDEP)
$(CC) $(CFLAGS) $(CURINCP) $(CURLIBP) curHelloMVW.c $(CURLIB) -o curHelloMVW
curHello : curHello.c $(SPECDEP)
$(CC) $(CFLAGS) $(CURINCP) $(CURLIBP) curHello.c $(CURLIB) -o curHello
curInput : curInput.c $(SPECDEP)
$(CC) $(CFLAGS) $(CURINCP) $(CURLIBP) curInput.c $(CURLIB) -o curInput
curDraw : curDraw.c $(SPECDEP)
$(CC) $(CFLAGS) $(CURINCP) $(CURLIBP) curDraw.c $(CURLIB) -o curDraw
curColor : curColor.c $(SPECDEP)
$(CC) $(CFLAGS) $(CURINCP) $(CURLIB) curColor.c $(CURLIB) -o curColor
## MacOS X readline
#RLLIB = -lreadline
#RLLIBP = -L/usr/lib
#RLINCP = -I/usr/include
## Typical GNU readline installed via DarwinPorts
RLLIB = -lreadline
RLLIBP = -L/opt/local/lib
RLINCP = -I/opt/local/include
rlEX : rlEX.c $(SPECDEP)
$(CC) $(CFLAGS) $(RLINCP) rlEX.c $(RLLIBP) $(RLLIB) -o rlEX
rlEXH : rlEXH.c $(SPECDEP)
$(CC) $(CFLAGS) $(RLINCP) rlEXH.c $(RLLIBP) $(RLLIB) -o rlEXH
rlEXC : rlEXC.c $(SPECDEP)
$(CC) $(CFLAGS) $(RLINCP) rlEXC.c $(RLLIBP) $(RLLIB) -o rlEXC
# Typical GNU readline installed via DarwinPorts
PCRELIB = -lpcre
PCRELIBP = -L/opt/local/lib
PCREINCP = -I/opt/local/include
pcre_example : pcre_example.c $(SPECDEP)
$(CC) $(CFLAGS) $(PCREINCP) pcre_example.c $(PCRELIBP) $(PCRELIB) -o pcre_example
Generated by GNU Enscript 1.6.5.2.