403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.168
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/sysutils/mcelog/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/sysutils/mcelog/files/patch-Makefile
--- Makefile.orig	2019-11-12 19:05:12 UTC
+++ Makefile
@@ -29,14 +29,21 @@ all: mcelog
 
 .PHONY: install clean depend FORCE
 
+LIBS :=
 OBJ := p4.o k8.o mcelog.o dmi.o tsc.o core2.o bitfield.o intel.o \
        nehalem.o dunnington.o tulsa.o config.o memutil.o msg.o   \
-       eventloop.o leaky-bucket.o memdb.o server.o trigger.o 	 \
-       client.o cache.o sysfs.o yellow.o page.o rbtree.o 	 \
+       eventloop.o leaky-bucket.o memdb.o server.o		 \
+       client.o cache.o rbtree.o				 \
        sandy-bridge.o ivy-bridge.o haswell.o		 	 \
        broadwell_de.o broadwell_epex.o skylake_xeon.o		 \
        denverton.o i10nm.o					 \
-       msr.o bus.o unknown.o
+       msr.o
+ifndef FREEBSD
+OBJ += page.o trigger.o sysfs.o yellow.o bus.o unknown.o
+endif
+ifdef FREEBSD
+OBJ += memstream.o
+endif
 CLEAN := mcelog dmi tsc dbquery .depend .depend.X dbquery.o \
 	version.o version.c version.tmp
 DOC := mce.pdf
@@ -45,7 +52,7 @@ ADD_DEFINES :=
 
 SRC := $(OBJ:.o=.c)
 
-mcelog: ${OBJ} version.o
+mcelog: ${OBJ} ${LIBS} version.o
 
 # dbquery intentionally not installed by default
 install: mcelog mcelog.conf mcelog.conf.5 mcelog.triggers.5
@@ -103,8 +110,6 @@ version.c: version.tmp
 
 .depend: ${SRC}
 	${CC} -MM -I. ${SRC} > .depend.X && mv .depend.X .depend
-
-include .depend
 
 Makefile: .depend
 

Youez - 2016 - github.com/yon3zu
LinuXploit