mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-29 17:16:15 +02:00
852391765d
In the Nix commit, platform-specific sources will go here.
22 lines
478 B
Makefile
22 lines
478 B
Makefile
libraries += libmain
|
|
|
|
libmain_NAME = libnixmain
|
|
|
|
libmain_DIR := $(d)
|
|
|
|
libmain_SOURCES := $(wildcard $(d)/*.cc)
|
|
ifdef HOST_UNIX
|
|
libmain_SOURCES += $(wildcard $(d)/unix/*.cc)
|
|
endif
|
|
|
|
INCLUDE_libmain := -I $(d)
|
|
|
|
libmain_CXXFLAGS += $(INCLUDE_libutil) $(INCLUDE_libstore) $(INCLUDE_libmain)
|
|
|
|
libmain_LDFLAGS += $(OPENSSL_LIBS)
|
|
|
|
libmain_LIBS = libstore libutil
|
|
|
|
libmain_ALLOW_UNDEFINED = 1
|
|
|
|
$(eval $(call install-file-in, $(buildprefix)$(d)/nix-main.pc, $(libdir)/pkgconfig, 0644))
|