mirror of
https://github.com/anrieff/libcpuid
synced 2024-11-20 23:01:51 +00:00
Add missing source files in build systems
This commit is contained in:
parent
a483748856
commit
656ea52909
7 changed files with 60 additions and 2 deletions
|
@ -15,6 +15,7 @@ libcpuid_la_SOURCES = \
|
||||||
rdtsc.c \
|
rdtsc.c \
|
||||||
asm-bits.c \
|
asm-bits.c \
|
||||||
libcpuid_util.c \
|
libcpuid_util.c \
|
||||||
|
rdcpuid.c \
|
||||||
rdmsr.c
|
rdmsr.c
|
||||||
|
|
||||||
if WINDOWS
|
if WINDOWS
|
||||||
|
@ -35,6 +36,7 @@ noinst_HEADERS = \
|
||||||
asm-bits.h \
|
asm-bits.h \
|
||||||
centaur_code_t.h \
|
centaur_code_t.h \
|
||||||
intel_code_t.h \
|
intel_code_t.h \
|
||||||
|
libcpuid_arm_driver.h \
|
||||||
libcpuid_ctype.h \
|
libcpuid_ctype.h \
|
||||||
libcpuid_internal.h \
|
libcpuid_internal.h \
|
||||||
libcpuid_util.h \
|
libcpuid_util.h \
|
||||||
|
@ -42,6 +44,7 @@ noinst_HEADERS = \
|
||||||
recog_arm.h \
|
recog_arm.h \
|
||||||
recog_centaur.h \
|
recog_centaur.h \
|
||||||
recog_intel.h \
|
recog_intel.h \
|
||||||
|
rdcpuid.h \
|
||||||
rdtsc.h
|
rdtsc.h
|
||||||
|
|
||||||
EXTRA_DIST += libcpuid.sym libcpuid_vc71.vcproj libcpuid_vc10.vcxproj libcpuid_vc10.vcxproj.filters
|
EXTRA_DIST += libcpuid.sym libcpuid_vc71.vcproj libcpuid_vc10.vcxproj libcpuid_vc10.vcxproj.filters
|
||||||
|
|
|
@ -6,7 +6,7 @@ ASM = ml64 /nologo
|
||||||
CC = cl.exe /nologo /TC
|
CC = cl.exe /nologo /TC
|
||||||
OPTFLAGS = /MT
|
OPTFLAGS = /MT
|
||||||
DEFINES = /D "VERSION=\"0.6.5\""
|
DEFINES = /D "VERSION=\"0.6.5\""
|
||||||
OBJECTS = masm-x64.obj asm-bits.obj cpuid_main.obj libcpuid_util.obj recog_amd.obj recog_arm.obj recog_centaur.obj recog_intel.obj rdtsc.obj
|
OBJECTS = masm-x64.obj asm-bits.obj cpuid_main.obj libcpuid_util.obj recog_amd.obj recog_arm.obj recog_centaur.obj recog_intel.obj rdcpuid.obj rdtsc.obj
|
||||||
|
|
||||||
libcpuid.lib: $(OBJECTS)
|
libcpuid.lib: $(OBJECTS)
|
||||||
lib /nologo /MACHINE:AMD64 /out:libcpuid.lib $(OBJECTS) bufferoverflowU.lib
|
lib /nologo /MACHINE:AMD64 /out:libcpuid.lib $(OBJECTS) bufferoverflowU.lib
|
||||||
|
@ -35,6 +35,9 @@ recog_centaur.obj: recog_centaur.c
|
||||||
recog_intel.obj: recog_intel.c
|
recog_intel.obj: recog_intel.c
|
||||||
$(CC) $(OPTFLAGS) $(DEFINES) /c recog_intel.c
|
$(CC) $(OPTFLAGS) $(DEFINES) /c recog_intel.c
|
||||||
|
|
||||||
|
rdcpuid.obj: rdcpuid.c
|
||||||
|
$(CC) $(OPTFLAGS) $(DEFINES) /c rdcpuid.c
|
||||||
|
|
||||||
rdtsc.obj: rdtsc.c
|
rdtsc.obj: rdtsc.c
|
||||||
$(CC) $(OPTFLAGS) $(DEFINES) /c rdtsc.c
|
$(CC) $(OPTFLAGS) $(DEFINES) /c rdtsc.c
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ all: libcpuid.lib
|
||||||
CC = cl.exe /nologo /TC
|
CC = cl.exe /nologo /TC
|
||||||
OPTFLAGS = /MT
|
OPTFLAGS = /MT
|
||||||
DEFINES = /D "VERSION=\"0.6.5\""
|
DEFINES = /D "VERSION=\"0.6.5\""
|
||||||
OBJECTS = asm-bits.obj cpuid_main.obj libcpuid_util.obj recog_amd.obj recog_arm.obj recog_centaur.obj recog_intel.obj rdtsc.obj
|
OBJECTS = asm-bits.obj cpuid_main.obj libcpuid_util.obj recog_amd.obj recog_arm.obj recog_centaur.obj recog_intel.obj rdcpuid.obj rdtsc.obj
|
||||||
|
|
||||||
libcpuid.lib: $(OBJECTS)
|
libcpuid.lib: $(OBJECTS)
|
||||||
lib /nologo /out:libcpuid.lib $(OBJECTS)
|
lib /nologo /out:libcpuid.lib $(OBJECTS)
|
||||||
|
@ -39,6 +39,9 @@ recog_centaur.obj: recog_centaur.c
|
||||||
recog_intel.obj: recog_intel.c
|
recog_intel.obj: recog_intel.c
|
||||||
$(CC) $(OPTFLAGS) $(DEFINES) /c recog_intel.c
|
$(CC) $(OPTFLAGS) $(DEFINES) /c recog_intel.c
|
||||||
|
|
||||||
|
rdcpuid.obj: rdcpuid.c
|
||||||
|
$(CC) $(OPTFLAGS) $(DEFINES) /c rdcpuid.c
|
||||||
|
|
||||||
rdtsc.obj: rdtsc.c
|
rdtsc.obj: rdtsc.c
|
||||||
$(CC) $(OPTFLAGS) $(DEFINES) /c rdtsc.c
|
$(CC) $(OPTFLAGS) $(DEFINES) /c rdtsc.c
|
||||||
|
|
||||||
|
|
|
@ -101,6 +101,10 @@ SOURCE=.\msrdriver.c
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\rdcpuid.c
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\rdmsr.c
|
SOURCE=.\rdmsr.c
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
@ -137,10 +141,22 @@ SOURCE=.\libcpuid.h
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\libcpuid_arm_driver.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\libcpuid_constants.h
|
SOURCE=.\libcpuid_constants.h
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\libcpuid_ctype.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\libcpuid_internal.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\libcpuid_types.h
|
SOURCE=.\libcpuid_types.h
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
@ -149,6 +165,10 @@ SOURCE=.\libcpuid_util.h
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\rdcpuid.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\rdtsc.h
|
SOURCE=.\rdtsc.h
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
|
@ -187,6 +187,7 @@
|
||||||
<ClCompile Include="cpuid_main.c" />
|
<ClCompile Include="cpuid_main.c" />
|
||||||
<ClCompile Include="libcpuid_util.c" />
|
<ClCompile Include="libcpuid_util.c" />
|
||||||
<ClCompile Include="msrdriver.c" />
|
<ClCompile Include="msrdriver.c" />
|
||||||
|
<ClCompile Include="rdcpuid.c" />
|
||||||
<ClCompile Include="rdmsr.c" />
|
<ClCompile Include="rdmsr.c" />
|
||||||
<ClCompile Include="rdtsc.c" />
|
<ClCompile Include="rdtsc.c" />
|
||||||
<ClCompile Include="recog_amd.c" />
|
<ClCompile Include="recog_amd.c" />
|
||||||
|
@ -197,13 +198,17 @@
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClInclude Include="asm-bits.h" />
|
<ClInclude Include="asm-bits.h" />
|
||||||
<ClInclude Include="libcpuid.h" />
|
<ClInclude Include="libcpuid.h" />
|
||||||
|
<ClInclude Include="libcpuid_arm_driver.h" />
|
||||||
<ClInclude Include="libcpuid_constants.h" />
|
<ClInclude Include="libcpuid_constants.h" />
|
||||||
|
<ClInclude Include="libcpuid_ctype.h" />
|
||||||
|
<ClInclude Include="libcpuid_internal.h" />
|
||||||
<ClInclude Include="libcpuid_types.h" />
|
<ClInclude Include="libcpuid_types.h" />
|
||||||
<ClInclude Include="libcpuid_util.h" />
|
<ClInclude Include="libcpuid_util.h" />
|
||||||
<ClInclude Include="recog_amd.h" />
|
<ClInclude Include="recog_amd.h" />
|
||||||
<ClInclude Include="recog_arm.h" />
|
<ClInclude Include="recog_arm.h" />
|
||||||
<ClInclude Include="recog_centaur.h" />
|
<ClInclude Include="recog_centaur.h" />
|
||||||
<ClInclude Include="recog_intel.h" />
|
<ClInclude Include="recog_intel.h" />
|
||||||
|
<ClInclude Include="rdcpuid.h" />
|
||||||
<ClInclude Include="rdtsc.h" />
|
<ClInclude Include="rdtsc.h" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
|
@ -42,6 +42,9 @@
|
||||||
<ClCompile Include="msrdriver.c">
|
<ClCompile Include="msrdriver.c">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="rdcpuid.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
<ClCompile Include="rdmsr.c">
|
<ClCompile Include="rdmsr.c">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
@ -53,9 +56,18 @@
|
||||||
<ClInclude Include="libcpuid.h">
|
<ClInclude Include="libcpuid.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="libcpuid_arm_driver.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
<ClInclude Include="libcpuid_constants.h">
|
<ClInclude Include="libcpuid_constants.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="libcpuid_ctype.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="libcpuid_internal.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
<ClInclude Include="libcpuid_types.h">
|
<ClInclude Include="libcpuid_types.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
@ -74,6 +86,9 @@
|
||||||
<ClInclude Include="recog_intel.h">
|
<ClInclude Include="recog_intel.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="rdcpuid.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
<ClInclude Include="rdtsc.h">
|
<ClInclude Include="rdtsc.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
|
|
@ -161,6 +161,9 @@
|
||||||
<File
|
<File
|
||||||
RelativePath=".\msrdriver.c">
|
RelativePath=".\msrdriver.c">
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\rdcpuid.c">
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\rdmsr.c">
|
RelativePath=".\rdmsr.c">
|
||||||
</File>
|
</File>
|
||||||
|
@ -199,6 +202,9 @@
|
||||||
<File
|
<File
|
||||||
RelativePath=".\libcpuid.h">
|
RelativePath=".\libcpuid.h">
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\libcpuid_arm_driver.h">
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\libcpuid_constants.h">
|
RelativePath=".\libcpuid_constants.h">
|
||||||
</File>
|
</File>
|
||||||
|
@ -214,6 +220,9 @@
|
||||||
<File
|
<File
|
||||||
RelativePath=".\libcpuid_util.h">
|
RelativePath=".\libcpuid_util.h">
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\rdcpuid.h">
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\rdtsc.h">
|
RelativePath=".\rdtsc.h">
|
||||||
</File>
|
</File>
|
||||||
|
|
Loading…
Reference in a new issue