#
# Copyright (c) 1991 University College London
# All rights reserved.
#
# Redistribution and use in source and binary forms are permitted
# provided that the above copyright notice and this paragraph are
# duplicated in all such forms and that any documentation,
# advertising materials, and other materials related to such
# distribution and use acknowledge that the software was developed
# by the Department of Computer Science, University College London.
# The name of the University may not be used to
# endorse or promote products derived from this software without
# specific prior written permission.
# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
#

# Makefile for OSI Management Information Services
#
# By George Pavlou, June 1991

LIBDIR	 =	smi gms $(MONMET_MIB) $(MONSUP_MIB) \
                isode_mib ux_mib $(OIM_MIB)
GLIBDIR  =	$(LIBDIR)
PROGDIR  =	sma $(OIM_SMA)


all:		lib prog

lib:;		@for i in $(LIBDIR); \
		    do (echo "cd $$i; ./make lib"; \
			      cd $$i; ./make lib); \
		    done

glib:;		@for i in $(GLIBDIR); \
		    do (echo "cd $$i; ./make glib"; \
			      cd $$i; ./make glib); \
		    done

prog:;		@for i in $(PROGDIR); \
		    do (echo "cd $$i; ./make prog"; \
			      cd $$i; ./make prog); \
		    done

gprog:

install:	install-h install-lib install-prog

clean:;		@for i in $(LIBDIR) $(PROGDIR); \
		    do (echo "cd $$i; ./make clean"; \
			      cd $$i; ./make clean); \
		    done

install-h:;	@for i in $(LIBDIR); \
		    do (echo "cd $$i; ./make install-h"; \
			      cd $$i; ./make install-h); \
		    done

install-gh:;	@for i in gms monmet_mib; \
		    do (echo "cd $$i; ./make install-h"; \
			      cd $$i; ./make install-h); \
		    done

install-lib:;	@for i in $(LIBDIR); \
		    do (echo "cd $$i; ./make install-lib"; \
			      cd $$i; ./make install-lib); \
		    done

install-glib:;	@for i in $(GLIBDIR); \
		    do (echo "cd $$i; ./make install-glib"; \
			      cd $$i; ./make install-glib); \
		    done

install-prog:;	@for i in $(PROGDIR); \
		    do (echo "cd $$i; ./make install-prog"; \
			      cd $$i; ./make install-prog); \
		    done

install-gprog:

install-man:;	@for i in $(PROGDIR); \
		    do (echo "cd $$i; ./make install-man"; \
			      cd $$i; ./make install-man); \
		    done

install-gman:

