"Fossies" - the Fresh Open Source Software Archive

Member "schily-2021-09-18/sunpro/Make/bin/make/common/Makefile" (6 Sep 2021, 2313 Bytes) of package /linux/privat/schily-2021-09-18.tar.bz2:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 #ident @(#)Makefile	1.26 21/09/06 
    2 ###########################################################################
    3 # Sample makefile for general application programs
    4 ###########################################################################
    5 SRCROOT=	../../../../..
    6 RULESDIR=	RULES
    7 include		$(SRCROOT)/$(RULESDIR)/rules.top
    8 ###########################################################################
    9 
   10 INSDIR=		bin
   11 TARGET=		make
   12 HARDLINKS=	dmake svr4.make ../lib/svr4.make ../xpg4/bin/make
   13 CPPOPTS +=	-I../../../../include
   14 CPPOPTS +=	-I../../../include
   15 #CPPOPTS +=	-compat=4
   16 CPPOPTS +=	-DSCHILY_INCLUDES
   17 CPPOPTS +=	-DUSE_LARGEFILES
   18 CPPOPTS +=	-DSUN5_0
   19 CPPOPTS +=	-DSUNOS4_AND_AFTER
   20 CPPOPTS +=	-DPMAKE
   21 CPPOPTS +=	-DREDIRECT_ERR
   22 CPPOPTS +=	-DDMAKE_STATISTICS
   23 CPPOPTS +=	-DDO_MAKE_NAME	# Set up "MAKE_NAME=sunpro"
   24 CPPOPTS +=	-DDO_ARCHCONF	# Set up "MAKE_OS", ...
   25 CPPOPTS +=	-DDO_NOTPARALLEL # Check for ".NOTPARALLEL"
   26 CPPOPTS +=	-DDO_INCLUDE_FAILED # Support ".INCLUDE_FAILED"
   27 CPPOPTS +=	-DINS_BASE=\"${INS_BASE}\"
   28 CPPOPTS +=	-DTEXT_DOMAIN=\"SCHILY_UTILS\"
   29 #CPPOPTS +=	-DTEXT_DOMAIN=\"SUNW_SPRO_MAKE\"
   30 
   31 #CFILES=		socket.c
   32 C++FILES=	ar.cc depvar.cc dist.cc dmake.cc doname.cc dosys.cc \
   33 		files.cc globals.cc implicit.cc macro.cc main.cc \
   34 		make.cc misc.cc nse.cc nse_printdep.cc parallel.cc \
   35 		pmake.cc read.cc read2.cc rep.cc state.cc archconf.cc \
   36 		version.cc
   37 
   38 #
   39 # -lmksdmsi18n	needed for catgets()
   40 # -lnsl		needed for e.g. gethostname() on older Svr4 platforms
   41 # -lsocket	needed for TEAMWARE_MAKE_CMN with older Svr4 platforms
   42 # -lw		needed for older Svr4 platforms to support wide chars
   43 #
   44 # $(LIB_INTL)	needed for gettext()
   45 # $(LIB_NSL)	needed for gethostbyname()/netname2host()/host2netname()
   46 # -lschily	needed if wcsdup(), ... are missing
   47 # $(LIB_RT)	needed for PMAKE to support sem_post()
   48 # $(LIB_PTHREAD) WARNING: in Linux, sem_post() is in libpthread
   49 #
   50 #LIBS=		-lmksh  -lmksdmsi18n  -lbsd  -lvroot -lintl -lnsl  -lsocket  -lw
   51 LIBS=		-lmksh  -lbsd  -lvroot $(LIB_NSL) -lgetopt -lschily $(LIB_RT) $(LIB_PTHREAD) $(LIB_INTL)
   52 
   53 XMK_FILE=	Makefile.man svmakeman.mk dmakeman.mk Makefile.def svmakedef.mk
   54 
   55 LDCC=		$(LDCC++)
   56 ###########################################################################
   57 include		$(SRCROOT)/$(RULESDIR)/rules.cmd
   58 ###########################################################################