ports

morpheus ports
git clone git://git.2f30.org/ports
Log | Files | Refs | LICENSE

shadow.mk (760B)


      1 BIN = useradd userdel groupadd groupdel
      2 LIB = libcommon.a libmisc.a
      3 libcommon_a_OBJ = `{ls lib/*.c | sed 's/.$/o/' | grep -v 'tcbfuncs.o$'}
      4 libmisc_a_OBJ = `{ls libmisc/*.c | sed 's/.$/o/' | grep -v 'xgetXXbyYY.o$'}
      5 useradd_OBJ = src/useradd.o
      6 userdel_OBJ = src/userdel.o
      7 groupadd_OBJ = src/groupadd.o
      8 groupdel_OBJ = src/groupdel.o
      9 LOCAL_BIN_LDFLAGS = -L. -lcommon -lmisc
     10 
     11 LOCAL_CFLAGS = -I. -Ilib -Ilibmisc -DHAVE_CONFIG_H
     12 
     13 INSTALL_BIN = useradd userdel groupadd groupdel
     14 INSTALL_MAN8 = man/man8/useradd.8 \
     15 	man/man8/userdel.8 \
     16 	man/man8/groupadd.8 \
     17 	man/man8/groupdel.8
     18 
     19 INSTALL_OTHER1 = etc/login.defs
     20 INSTALL_OTHER1_DIR = /etc
     21 
     22 <$mkbuild/mk.default
     23 
     24 NPROC = $nprocs
     25 
     26 CFLAGS =
     27 CPPFLAGS =
     28 
     29 $BIN: $LIB
     30 
     31 %.o: config.h
     32 
     33 config.h:QV:
     34 	cp ../config.h config.h