1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-15 15:57:13 +00:00

Clean up CMakeLists.txt for Solaris (SunOS5) builds with ethernet enabled (#210)

dlpidefs.h was missing from the list of headers.
Solaris compiles should have USE_DLPI set.
ldeether depends on the dlpi object in the maiko library.
This commit is contained in:
Nick Briggs 2021-01-11 20:30:56 -08:00 committed by GitHub
parent ec04803b53
commit fac400f918
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,6 +77,7 @@ ELSEIF(CMAKE_SYSTEM_NAME STREQUAL "SunOS")
LIST(APPEND MAIKO_DEFINITIONS
"-DAIX" # This is temporary
"-DOS5"
"-DUSE_DLPI"
)
ENDIF()
@ -278,6 +279,7 @@ SET(MAIKO_HDRS
inc/dirdefs.h
inc/display.h
inc/dld.h
inc/dlpidefs.h
inc/drawdefs.h
inc/dskdefs.h
inc/dspdata.h
@ -456,6 +458,7 @@ TARGET_LINK_LIBRARIES(lde X11::X11)
ADD_EXECUTABLE(ldeether src/ldeether.c)
TARGET_COMPILE_DEFINITIONS(ldeether PUBLIC ${MAIKO_DEFINITIONS})
TARGET_INCLUDE_DIRECTORIES(ldeether PUBLIC inc)
TARGET_LINK_LIBRARIES(ldeether maiko)
ADD_EXECUTABLE(ldex src/main.c vdate.c)
TARGET_LINK_LIBRARIES(ldex maiko)