xserver

xserver with xephyr scale patch
git clone https://git.neptards.moe/u3shit/xserver.git
Log | Files | Refs | README | LICENSE

Makefile.am (1928B)


      1 AM_CPPFLAGS = \
      2 	-I$(srcdir)/.. \
      3 	-I$(top_builddir) \
      4 	-DXSERVER_VERSION=\"$(VERSION)\" \
      5 	-DX11BINDIR=\"$(bindir)\"
      6 
      7 AM_CFLAGS = $(DIX_CFLAGS)
      8 
      9 x11appdir = $(APPLE_APPLICATIONS_DIR)/$(APPLE_APPLICATION_NAME).app/Contents/MacOS
     10 x11app_PROGRAMS = X11.bin X11
     11 
     12 dist_X11_bin_SOURCES = \
     13 	bundle-main.c
     14 
     15 dist_X11_SOURCES = \
     16 	bundle_trampoline.c
     17 
     18 nodist_X11_bin_SOURCES = \
     19 	mach_startupServer.c \
     20 	mach_startupUser.c
     21 
     22 X11_bin_DEPENDENCIES = \
     23 	$(top_builddir)/hw/xquartz/libXquartz.la \
     24 	$(top_builddir)/hw/xquartz/xpr/libXquartzXpr.la \
     25 	$(top_builddir)/dix/dixfonts.lo \
     26 	$(top_builddir)/miext/rootless/librootless.la \
     27 	$(top_builddir)/hw/xquartz/pbproxy/libxpbproxy.la \
     28 	$(XQUARTZ_LIBS) $(XSERVER_LIBS)
     29 
     30 # $(XSERVER_SYS_LIBS) is placed here in order to set command line ordering
     31 # to work around build issues on Tiger.
     32 X11_bin_LDADD = $(X11_bin_DEPENDENCIES) $(XSERVER_SYS_LIBS)
     33 
     34 X11_bin_LDFLAGS =  \
     35 	-lXplugin \
     36 	-XCClinker -Objc \
     37 	-Wl,-u,_miDCInitialize \
     38 	-Wl,-framework,Carbon \
     39 	-Wl,-framework,Cocoa \
     40 	-Wl,-framework,CoreAudio \
     41 	-Wl,-framework,IOKit
     42 
     43 if GLX
     44 X11_bin_DEPENDENCIES += \
     45 	$(top_builddir)/hw/xquartz/GL/libCGLCore.la \
     46 	$(top_builddir)/glx/libglxvnd.la \
     47 	$(top_builddir)/glx/libglx.la
     48 
     49 X11_bin_LDFLAGS += \
     50 	-Wl,-framework,OpenGL
     51 endif
     52 
     53 if XQUARTZ_SPARKLE
     54 X11_bin_LDFLAGS += \
     55 	-Wl,-framework,Sparkle
     56 endif
     57 
     58 if RECORD
     59 X11_bin_DEPENDENCIES += \
     60 	$(top_builddir)/record/librecord.la
     61 endif
     62 
     63 bin_PROGRAMS = Xquartz
     64 
     65 dist_Xquartz_SOURCES = \
     66 	stub.c \
     67 	launchd_fd.c
     68 
     69 nodist_Xquartz_SOURCES = \
     70 	mach_startupUser.c
     71 
     72 Xquartz_LDFLAGS =  \
     73 	-Wl,-framework,CoreServices
     74 
     75 if XQUARTZ
     76 
     77 BUILT_SOURCES = \
     78 	mach_startupServer.c \
     79 	mach_startupUser.c \
     80 	mach_startupServer.h \
     81 	mach_startup.h
     82 
     83 CLEANFILES = \
     84 	$(BUILT_SOURCES)
     85 
     86 $(BUILT_SOURCES): $(srcdir)/mach_startup.defs
     87 	mig -sheader mach_startupServer.h $(srcdir)/mach_startup.defs
     88 
     89 endif
     90 
     91 EXTRA_DIST = \
     92 	launchd_fd.h \
     93 	mach_startup.defs \
     94 	mach_startup_types.h