"Fossies" - the Fresh Open Source Software Archive

Member "scponly-20110526/Makefile.in" (8 Dec 2010, 1862 Bytes) of package /linux/privat/old/scponly-20110526.tgz:


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. See also the latest Fossies "Diffs" side-by-side code changes report for "Makefile.in": 4.8_vs_20110526.

    1 # Autoconfed stuff
    2 srcdir		 = @srcdir@
    3 prefix		 = @prefix@
    4 exec_prefix	 = @exec_prefix@
    5 bindir		 = @bindir@
    6 sbindir		 = @sbindir@
    7 mandir		 = @mandir@
    8 CFLAGS		 = @CFLAGS@ -I$(srcdir) -I.
    9 INSTALL		 = @INSTALL@
   10 CC		 = @CC@
   11 CHROOTED_NAME   = @CHROOTED_NAME@
   12 CONFDIR         = @sysconfdir@/scponly
   13 DEBUGFILE       = ${CONFDIR}/debuglevel
   14 DEFS		 = @DEFS@ -DDEBUGFILE='"${DEBUGFILE}"'
   15 LN_S		 = @LN_S@
   16 VPATH		 = @srcdir@
   17 
   18 all: scponly groups
   19 
   20 clean:
   21 	rm -f *.o scponly *~ debuglevel ${CHROOTED_NAME} groups
   22 
   23 love: clean all
   24 
   25 scponly: scponly.o helper.o netbsd_getopt_long.o
   26 	${CC} ${CFLAGS} ${DEFS} -o $@ scponly.o helper.o netbsd_getopt_long.o
   27 
   28 groups: groups.c
   29 	${CC} ${CFLAGS} ${DEFS} -o $@ groups.c
   30 
   31 scponly.o: scponly.c config.h scponly.h
   32 	${CC} ${CFLAGS} ${DEFS} -o $@ -c scponly.c
   33 
   34 helper.o: helper.c config.h scponly.h
   35 	${CC} ${CFLAGS} ${DEFS} -o $@ -c helper.c
   36 
   37 netbsd_getopt_long.o: netbsd_getopt_long.c config.h scponly.h
   38 	${CC} ${CFLAGS} ${DEFS} -o $@ -c netbsd_getopt_long.c
   39 
   40 install: scponly debuglevel scponly.8
   41 	${INSTALL} -d ${DESTDIR}${bindir}
   42 	${INSTALL} -d ${DESTDIR}${mandir}/man8
   43 	${INSTALL} -d ${DESTDIR}${CONFDIR}
   44 	${INSTALL} -o 0 -g 0 scponly ${DESTDIR}${bindir}/scponly
   45 	${INSTALL} -o 0 -g 0 -m 0644 scponly.8 ${DESTDIR}${mandir}/man8/scponly.8
   46 	${INSTALL} -o 0 -g 0 -m 0644 debuglevel ${DESTDIR}${DEBUGFILE}
   47 	if test "x${CHROOTED_NAME}" != "x"; then			\
   48 		${INSTALL} -d ${DESTDIR}${sbindir};				\
   49 		rm -f ${DESTDIR}${sbindir}/${CHROOTED_NAME};			\
   50 		cp scponly ${CHROOTED_NAME};				\
   51 		${INSTALL} -o 0 -g 0 -m 4755 ${CHROOTED_NAME} ${DESTDIR}${sbindir}/${CHROOTED_NAME};	\
   52 	fi
   53 
   54 debuglevel:
   55 	echo "0" > $@
   56 
   57 jail:	install
   58 	chmod u+x ./setup_chroot.sh
   59 	./setup_chroot.sh
   60 
   61 distclean: clean
   62 	rm -fr autom4te.cache
   63 	rm -f config.h config.log config.status Makefile setup_chroot.sh
   64 
   65 maintainer-clean: distclean
   66 	rm -f configure 
   67 
   68 ctags:
   69 	ctags -R .
   70