mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 16:51:29 +00:00
* Update zlibng * Set cmake path more directly in zlibng to hopefully fix an issue with the build on drone * I'm dumb, missing / in path * Mackal helps with a dumb gitignore issue * Adding all the files, not sure what's ignoring them and im tired of looking * Some tweaks to zlibng build to hopefully get it to build properly. works on msvc now
50 lines
1.0 KiB
Makefile
50 lines
1.0 KiB
Makefile
# Makefile for POWER-specific files
|
|
# Copyright (C) 2020 Matheus Castanho <msc@linux.ibm.com>, IBM
|
|
# For conditions of distribution and use, see copyright notice in zlib.h
|
|
|
|
CC=
|
|
CFLAGS=
|
|
SFLAGS=
|
|
INCLUDES=
|
|
SUFFIX=
|
|
|
|
SRCDIR=.
|
|
SRCTOP=../..
|
|
TOPDIR=$(SRCTOP)
|
|
|
|
P8FLAGS=-mcpu=power8
|
|
|
|
all: power.o \
|
|
power.lo \
|
|
adler32_power8.o \
|
|
adler32_power8.lo \
|
|
slide_hash_power8.o \
|
|
slide_hash_power8.lo
|
|
|
|
power.o:
|
|
$(CC) $(CFLAGS) $(INCLUDES) -c -o $@ $(SRCDIR)/power.c
|
|
|
|
power.lo:
|
|
$(CC) $(SFLAGS) $(INCLUDES) -c -o $@ $(SRCDIR)/power.c
|
|
|
|
adler32_power8.o:
|
|
$(CC) $(CFLAGS) $(P8FLAGS) $(INCLUDES) -c -o $@ $(SRCDIR)/adler32_power8.c
|
|
|
|
adler32_power8.lo:
|
|
$(CC) $(SFLAGS) $(P8FLAGS) $(INCLUDES) -c -o $@ $(SRCDIR)/adler32_power8.c
|
|
|
|
slide_hash_power8.o:
|
|
$(CC) $(CFLAGS) $(P8FLAGS) $(INCLUDES) -c -o $@ $(SRCDIR)/slide_hash_power8.c
|
|
|
|
slide_hash_power8.lo:
|
|
$(CC) $(SFLAGS) $(P8FLAGS) $(INCLUDES) -c -o $@ $(SRCDIR)/slide_hash_power8.c
|
|
|
|
mostlyclean: clean
|
|
clean:
|
|
rm -f *.o *.lo *~
|
|
rm -rf objs
|
|
rm -f *.gcda *.gcno *.gcov
|
|
|
|
distclean:
|
|
rm -f Makefile
|