Makefile revision 23a1ccea6aac035f084a7a4cdc968687d1b02daf
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
9512fe850e98fdd448c638ca63fdd92a8a510255ahlFTPD_OBJS= $(COMMON_OBJS) ftpd.o ftpcmd.o glob.o logwtmp.o popen.o \
9512fe850e98fdd448c638ca63fdd92a8a510255ahl authenticate.o conversions.o rdservers.o paths.o hostacc.o \
9512fe850e98fdd448c638ca63fdd92a8a510255ahl routevector.o restrict.o domain.o wu_fnmatch.o timeout.o \
9512fe850e98fdd448c638ca63fdd92a8a510255ahlFTPCOUNT_OBJS= $(COMMON_OBJS) ftpcount.o rdservers.o inet.o
9512fe850e98fdd448c638ca63fdd92a8a510255ahlFTPSHUT_OBJS= $(COMMON_OBJS) ftpshut.o rdservers.o inet.o
9512fe850e98fdd448c638ca63fdd92a8a510255ahlFTPREST_OBJS= $(COMMON_OBJS) ftprestart.o rdservers.o inet.o
9512fe850e98fdd448c638ca63fdd92a8a510255ahlCKCONFIG_OBJS= $(COMMON_OBJS) ckconfig.o rdservers.o inet.o
9512fe850e98fdd448c638ca63fdd92a8a510255ahlOBJS= $(FTPD_OBJS) ftpcount.o ftpshut.o ftprestart.o ckconfig.o \
9512fe850e98fdd448c638ca63fdd92a8a510255ahlCONFIGFILES= ftpaccess ftpconversions ftpgroups ftphosts ftpservers ftpusers
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# When building for Solaris 8 add to CPPFLAGS:
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# -Ddn_skipname=__dn_skipname -DSOLARIS_NO_AUDIT_FTPD_LOGOUT
9512fe850e98fdd448c638ca63fdd92a8a510255ahlCPPFLAGS += -DBSD_COMP -D_FILE_OFFSET_BITS=64 -DINET6 -DSOLARIS_BSM_AUDIT \
9512fe850e98fdd448c638ca63fdd92a8a510255ahl -DSOLARIS_ETC_FTPUSERS -DSENDFILE -DCLOSEFROM -DUSE_GSS \
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# tcov output relies on atexit(3C) registered functions being called, so stop
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# _exit() from being used. Passing -l to yacc stops it generating #line
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# directives which don't work with tcov.
9512fe850e98fdd448c638ca63fdd92a8a510255ahlall tcov: $(PROG) ckconfig ftpwho $(CONFIGFILES) $(SCRIPTS)
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# This causes y.tab.c to be renamed to ftpcmd.c, needed by tcov.