Skip to content

Commit

Permalink
makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
bilam committed Oct 31, 2024
1 parent 335733f commit f05a926
Show file tree
Hide file tree
Showing 10 changed files with 48 additions and 14 deletions.
5 changes: 4 additions & 1 deletion hostdefs/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ $(TARGET) : $(OBJS)

all: $(TARGET)

noclean:
#

clean:
rm -f *.res *.ilk *.pdb $(OBJS)

.PHONY: all clean
.PHONY: all clean noclean
8 changes: 6 additions & 2 deletions makemsvc/jamalgam/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ FAVX2= /DC_AVX2=1 -DHAVE_AVX2=1 -DBASE64_AVX2_USE_ASM=1 -march=haswell -mno-vzer
endif
ifeq (1,$(USE_OPENMP))
FOPENMP= -Xclang -fopenmp
LOPENMP= libomp.lib
endif
USE_SLEEF=1
ifeq (ARM64,$(TARGET_CPU))
Expand Down Expand Up @@ -337,14 +338,17 @@ SYNCLIB= synchronization.lib
endif

$(TARGET) : $(OBJS) $(OBJSLN) $(SRC_ASM) $(OBJS_ASM) $(OBJS_SLEEF) $(ASM) $(PTHREADLIB) jconsole.res
$(LD) /NOLOGO /DEF:$(DEF) $(FLAGS) /out:$@ $(OBJS) $(OBJSLN) $(SRC_ASM) $(OBJS_ASM) $(OBJS_SLEEF) $(ASM) $(PTHREADLIB) $(MPIRLIB) jconsole.res ole32.lib advapi32.lib oleaut32.lib onecore.lib $(SYNCLIB)
$(LD) /NOLOGO /DEF:$(DEF) $(FLAGS) /out:$@ $(OBJS) $(OBJSLN) $(SRC_ASM) $(OBJS_ASM) $(OBJS_SLEEF) $(ASM) $(PTHREADLIB) $(MPIRLIB) jconsole.res ole32.lib advapi32.lib oleaut32.lib onecore.lib $(SYNCLIB) $(LOPENMP)

jconsole.res : $(RCS)
$(RC) /L 0x409 /D _USING_V110_SDK71_ -R -FO$@ $(RCS)

all: $(TARGET)

noclean:
#

clean:
rm -f *.lib *.exp *.res *.ilk *.pdb $(OBJS) $(OBJSLN) $(OBJS_SLEEF) $(SRC_ASM)

.PHONY: all clean
.PHONY: all clean nonclean
8 changes: 6 additions & 2 deletions makemsvc/jamalgam/makefile.win
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ FAVX2= /DC_AVX2=1 -DHAVE_AVX2=1 -DBASE64_AVX2_USE_ASM=1 -march=haswell -mno-vzer
!endif
!if "1"=="$(USE_OPENMP)"
FOPENMP= -Xclang -fopenmp
LOPENMP= libomp.lib
!endif
USE_SLEEF=1
!if "ARM64"=="$(TARGET_CPU)"
Expand Down Expand Up @@ -338,14 +339,17 @@ SYNCLIB= synchronization.lib
!endif

$(TARGET) : $(OBJS) $(OBJSLN) $(SRC_ASM) $(OBJS_ASM) $(OBJS_SLEEF) $(ASM) $(PTHREADLIB) jconsole.res
$(LD) /NOLOGO /DEF:$(DEF) $(FLAGS) /out:$@ $(OBJS) $(OBJSLN) $(SRC_ASM) $(OBJS_ASM) $(OBJS_SLEEF) $(ASM) $(PTHREADLIB) $(MPIRLIB) jconsole.res ole32.lib advapi32.lib oleaut32.lib onecore.lib $(SYNCLIB)
$(LD) /NOLOGO /DEF:$(DEF) $(FLAGS) /out:$@ $(OBJS) $(OBJSLN) $(SRC_ASM) $(OBJS_ASM) $(OBJS_SLEEF) $(ASM) $(PTHREADLIB) $(MPIRLIB) jconsole.res ole32.lib advapi32.lib oleaut32.lib onecore.lib $(SYNCLIB) $(LOPENMP)

jconsole.res : $(RCS)
$(RC) /L 0x409 /D _USING_V110_SDK71_ -R -FO$@ $(RCS)

all: $(TARGET)

noclean:
#

clean:
erase /q *.lib *.exp *.res *.ilk *.pdb ..\..\jsrc\*.o ..\..\jsrc\blis\*.o ..\..\jsrc\openssl\sha\*.o ..\..\dllsrc\*.o ..\..\sleef\src\common\*.o ..\..\sleef\src\libm\*.o ..\..\base64\lib\*.o ..\..\base64\lib\tables\*.o ..\..\base64\lib\arch\avx\*.o ..\..\base64\lib\arch\avx2\*.o ..\..\base64\lib\arch\avx512\*.o ..\..\base64\lib\arch\generic\*.o ..\..\base64\lib\arch\generic\32\*.o ..\..\base64\lib\arch\generic\64\*.o ..\..\base64\lib\arch\neon64\*.o ..\..\base64\lib\arch\ssse3\*.o ..\..\base64\lib\arch\sse41\*.o ..\..\base64\lib\arch\sse42\*.o

.PHONY: all clean
.PHONY: all clean noclean
5 changes: 4 additions & 1 deletion makemsvc/jconsole/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ jconsole.res : $(RCS)

all: $(TARGET)

noclean:
#

clean:
rm -f *.res *.ilk *.pdb $(OBJS) $(OBJSLN)

.PHONY: all clean
.PHONY: all clean noclean
5 changes: 4 additions & 1 deletion makemsvc/jconsole/makefile.win
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ jconsole.res : $(RCS)

all: $(TARGET)

noclean:
#

clean:
erase /q *.res *.ilk *.pdb ..\..\jsrc\jconsole.o ..\..\jsrc\jeload.o ..\..\jsrc\linenoise.o

.PHONY: all clean
.PHONY: all clean noclean
8 changes: 6 additions & 2 deletions makemsvc/jdll/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ FAVX2= /DC_AVX2=1 -DHAVE_AVX2=1 -DBASE64_AVX2_USE_ASM=1 -march=haswell -mno-vzer
endif
ifeq (1,$(USE_OPENMP))
FOPENMP= -Xclang -fopenmp
LOPENMP= libomp.lib
endif
USE_SLEEF=1
ifeq (ARM64,$(TARGET_CPU))
Expand Down Expand Up @@ -335,14 +336,17 @@ SYNCLIB= synchronization.lib
endif

$(TARGET) : $(OBJS) $(SRC_ASM) $(OBJS_ASM) $(OBJS_SLEEF) $(OBJS_SIMDUTF8) $(ASM) $(PTHREADLIB) jdll.res
$(LD) /NOLOGO /DEF:$(DEF) $(FLAGS) /out:$@ $(OBJS) $(SRC_ASM) $(OBJS_ASM) $(OBJS_SLEEF) $(OBJS_SIMDUTF8) $(ASM) $(PTHREADLIB) $(MPIRLIB) jdll.res ole32.lib advapi32.lib oleaut32.lib onecore.lib $(SYNCLIB)
$(LD) /NOLOGO /DEF:$(DEF) $(FLAGS) /out:$@ $(OBJS) $(SRC_ASM) $(OBJS_ASM) $(OBJS_SLEEF) $(OBJS_SIMDUTF8) $(ASM) $(PTHREADLIB) $(MPIRLIB) jdll.res ole32.lib advapi32.lib oleaut32.lib onecore.lib $(SYNCLIB) $(LOPENMP)

jdll.res : $(RCS)
$(RC) /L 0x409 /D_USING_V110_SDK71_ -R -FO$@ $(RCS)

all: $(TARGET)

noclean:
#

clean:
rm -f *.lib *.exp *.res *.ilk *.pdb $(OBJS) $(OBJS_SLEEF) $(OBJS_SIMDUTF8) $(SRC_ASM)

.PHONY: all clean
.PHONY: all clean noclean
8 changes: 6 additions & 2 deletions makemsvc/jdll/makefile.win
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ FAVX2= /DC_AVX2=1 -DHAVE_AVX2=1 -DBASE64_AVX2_USE_ASM=1 -march=haswell -mno-vzer
!endif
!if "1"=="$(USE_OPENMP)"
FOPENMP= -Xclang -fopenmp
LOPENMP= libomp.lib
!endif
USE_SLEEF=1
!if "ARM64"=="$(TARGET_CPU)"
Expand Down Expand Up @@ -335,14 +336,17 @@ SYNCLIB= synchronization.lib
!endif

$(TARGET) : $(OBJS) $(SRC_ASM) $(OBJS_ASM) $(OBJS_SLEEF) $(OBJS_SIMDUTF8) $(ASM) $(PTHREADLIB) jdll.res
$(LD) /NOLOGO /DEF:$(DEF) $(FLAGS) /out:$@ $(OBJS) $(SRC_ASM) $(OBJS_ASM) $(OBJS_SLEEF) $(OBJS_SIMDUTF8) $(ASM) $(PTHREADLIB) $(MPIRLIB) jdll.res ole32.lib advapi32.lib oleaut32.lib onecore.lib $(SYNCLIB)
$(LD) /NOLOGO /DEF:$(DEF) $(FLAGS) /out:$@ $(OBJS) $(SRC_ASM) $(OBJS_ASM) $(OBJS_SLEEF) $(OBJS_SIMDUTF8) $(ASM) $(PTHREADLIB) $(MPIRLIB) jdll.res ole32.lib advapi32.lib oleaut32.lib onecore.lib $(SYNCLIB) $(LOPENMP)

jdll.res : $(RCS)
$(RC) /L 0x409 /D_USING_V110_SDK71_ -R -FO$@ $(RCS)

all: $(TARGET)

noclean:
#

clean:
erase /q *.lib *.exp *.res *.ilk *.pdb ..\..\jsrc\*.o ..\..\jsrc\blis\*.o ..\..\jsrc\openssl\sha\*.o ..\..\dllsrc\*.o ..\..\sleef\src\common\*.o ..\..\sleef\src\libm\*.o ..\..\sleef\src\quad\*.o ..\..\jsrc\utf\*.o ..\..\base64\lib\*.o ..\..\base64\lib\tables\*.o ..\..\base64\lib\arch\avx\*.o ..\..\base64\lib\arch\avx2\*.o ..\..\base64\lib\arch\avx512\*.o ..\..\base64\lib\arch\generic\*.o ..\..\base64\lib\arch\generic\32\*.o ..\..\base64\lib\arch\generic\64\*.o ..\..\base64\lib\arch\neon64\*.o ..\..\base64\lib\arch\ssse3\*.o ..\..\base64\lib\arch\sse41\*.o ..\..\base64\lib\arch\sse42\*.o

.PHONY: all clean
.PHONY: all clean noclean
5 changes: 4 additions & 1 deletion makemsvc/tsdll/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@ jddll.res : $(RCS)

all: $(TARGET)

noclean:
#

clean:
rm -f *.lib *.exp *.res $(OBJS)

.PHONY: all clean
.PHONY: all clean noclean
5 changes: 4 additions & 1 deletion makemsvc/tsdll/makefile.win
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@ jddll.res : $(RCS)

all: $(TARGET)

noclean:
#

clean:
erase /q *.lib *.exp *.res ..\..\jsrc\tsdll.o

.PHONY: all clean
.PHONY: all clean noclean
5 changes: 4 additions & 1 deletion netdefs/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ $(TARGET) : $(OBJS)

all: $(TARGET)

noclean:
#

clean:
rm -f *.res *.ilk *.pdb $(OBJS)

.PHONY: all clean
.PHONY: all clean noclean

0 comments on commit f05a926

Please sign in to comment.