|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: M T
Length: 2971 (0xb9b) Types: TextFile Names: »Makefile«
└─⟦4f9d7c866⟧ Bits:30007245 EUUGD6: Sikkerheds distributionen └─⟦123909933⟧ »./npasswd/npasswd.tar.Z« └─⟦22a202e7d⟧ └─⟦this⟧ »npass-new/npasswd_jpl/old.checkpasswd/Makefile«
# -------------------------------------------------------------------- # # # # Author: Clyde Hoover # # Computation Center # # The University of Texas at Austin # # Austin, Texas 78712 # # clyde@emx.utexas.edu # # uunet!cs.utexas.edu!ut-emx!clyde # # # #This code may be distributed freely, provided this notice is retained. # # # # -------------------------------------------------------------------- # # # Makefile for checkpasswd (application & library) # # @(#)Makefile 1.2 10/30/89 (cc.utexas.edu) # BINDIR = /usr/local ADMDIR = /usr/adm DIR = . APPNAME = checkpasswd LIBNAME = checkpasswd.a DEBUG = -g -DDEBUG # Set the following two lines to $(DEBUG) for debugging CFLAGS = -O LDFLAGS = SUBDIRS = dict # If building with NDBM, use these lines ZLIB = DBM = -DNDBM SOURCES = checkpasswd.h checkpasswd.c main.c pwck_dict.c pwck_passwd.c \ pwck_lexical.c pwck_local.c util.c checkpasswd.h OBJECTS = checkpasswd.o pwck_dict.o pwck_passwd.o pwck_lexical.o \ pwck_local.o util.o APPMAIN = main.o LIBMAIN = libmain.o all: $(APPNAME) $(LIBNAME) dict $(APPNAME): $(APPMAIN) $(OBJECTS) cc -o $(APPNAME) $(LDFLAGS) main.o $(OBJECTS) $(LIBNAME): $(LIBMAIN) $(OBJECTS) -rm -f $(LIBNAME) ar cr $(LIBNAME) $(LIBMAIN) $(OBJECTS) ranlib $(LIBNAME) # # If not using NDBM from libc, link in $(ZLIB) here # pwck_dict.o: pwck_dict.c checkpasswd.h $(ZLIB) $(CC) $(CFLAGS) $(DBM) -c pwck_dict.c -@if [ -n "$(ZLIB)" ]; then\ set -x;\ $(LD) -r $*.o -o $*.x $(ZLIB);\ mv $*.x $*.o;\ fi @echo Build programs in subdir \'dict\' with \"$(DBM)\" # # Local library linked to this module to simplify rest of make procedure # (UTEXAS CC only). # UILIB = /usr/local/lib/libuserinfo.a pwck_passwd.o: pwck_passwd.c checkpasswd.h -@if [ -f $(UILIB) ]; then \ set -ex;\ $(CC) $(CFLAGS) -DUTEXAS_CC -c $<;\ $(LD) -r $*.o -o $*.x $(UILIB);\ mv $*.x $*.o;\ else \ set -x; $(CC) $(CFLAGS) -c $<;\ fi clean:: rm -f *.o a.out checkpasswd core $(LIBNAME) -@for f in $(SUBDIRS); do \ (cd $$f; make clean); done dict:: (cd dict; make $(MFLAGS)) install: checkpasswd install -s checkpasswd $(BINDIR) install -c -m 0644 checkpasswd.cf $(ADMDIR) # ------------------------------------------------------------------ # # Source dependancies # checkpasswd.o: checkpasswd.c checkpasswd.h main.o: main.c checkpasswd.h version.h libmain.o: libmain.c checkpasswd.h pwck_lexical.o: pwck_lexical.c checkpasswd.h pwck_local.o: pwck_local.c checkpasswd.h util.o: util.c checkpasswd.h