"Fossies" - the Fresh Open Source Software Archive

Member "linux_logo-6.0/libsysinfo-0.3.0/Makefile" (8 May 2020, 911 Bytes) of package /linux/misc/linux_logo-6.0.tar.gz:


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 include Makefile.default
    2 
    3 all:   libsysinfo.a
    4 
    5 clean:
    6 	rm -f *.o *~
    7 	rm -f libsysinfo.a libsysinfo.so config.h
    8 	cd AIX && $(MAKE) clean
    9 	cd Linux && $(MAKE) clean
   10 	cd FreeBSD && $(MAKE) clean
   11 	cd Irix && $(MAKE) clean
   12 	cd SunOS && $(MAKE) clean
   13 	cd w32 && $(MAKE) clean
   14 	cd all && $(MAKE) clean
   15 
   16 distclean: clean
   17 	rm -f Makefile.default
   18 
   19 
   20 install:
   21 
   22 
   23 libsysinfo.a:	Linux/cpuinfo_alpha.c \
   24 		Linux/cpuinfo_ia64.c \
   25 		Linux/cpuinfo_ppc.c \
   26 		Linux/cpuinfo_vax.c \
   27 		Linux/cpuinfo_arm.c \
   28 		Linux/cpuinfo_m68k.c \
   29 		Linux/cpuinfo_s390.c \
   30 		Linux/cpuinfo_avr32.c \
   31 		Linux/cpuinfo_mips.c \
   32 		Linux/cpuinfo_sh3.c \
   33 		Linux/cpuinfo_x86.c \
   34 		Linux/cpuinfo_cris.c \
   35 		Linux/cpuinfo_parisc.c \
   36 	       	Linux/cpuinfo_sparc.c \
   37 		Linux/sysinfo_linux.c
   38 	cd all && $(MAKE)
   39 	cd $(OS) && $(MAKE)
   40 	$(CROSS)$(AR) crus libsysinfo.a ./$(OS)/*.o ./all/*.o
   41 
   42 shared:	libsysinfo.a
   43 	ld -shared -o libsysinfo.so ./$(OS)/*.o ./all/*.o