ports

morpheus ports
git clone git://git.2f30.org/ports
Log | Files | Refs | LICENSE

Makefile (3016B)


      1 
      2 include standard_definitions.mk
      3 
      4 DEFS= -DNOERROR
      5 
      6 CFLAGS= -I.. -I../.. -I../../.. -I./include -I./common -I./render -I./Xext -I./lbx -I./fb -I./mi -I./miext/shadow -I./hw/kdrive -I./miext/layer -I./os $(COMMONDEFS) $(DEFS)
      7 
      8 OBJS=
      9 all:
     10 	cd render; make
     11 	cd dix; make
     12 	cd os; make
     13 	cd mi; make
     14 	cd Xext; make
     15 	cd Xext/extmod; make
     16 	cd XTrap; make
     17 	cd hw/kdrive; make
     18 	cd hw/kdrive/linux; make
     19 	cd fb; make
     20 	#cd hw/kdrive/vesa; make
     21 	cd miext/shadow; make
     22 	cd miext/layer; make
     23 	cd randr; make
     24 	cd hw/kdrive/fbdev; make
     25 	cd record; make
     26 	cd init; make
     27 	cd fonts; make
     28 	#$(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(DEFS) $(LDFLAGS) -o Xvesa dix/libdix.a os/libos.a hw/kdrive/vesa/libvesa.a miext/layer/liblayer.a hw/kdrive/libkdrive.a hw/kdrive/linux/liblinux.a miext/shadow/libshadow.a fb/libfb.a mi/libmi.a Xext/libext.a Xext/extmod/libextmod.a XTrap/libxtrap.a randr/librandr.a render/librender.a record/librecord.a $(LINKDIR) -lXfont -lXinerama -lX11 -lXdmcp -lz -lm
     29 	$(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(DEFS) $(LDFLAGS) -o Xfbdev dix/libdix.a os/libos.a hw/kdrive/fbdev/libfbdev.a miext/layer/liblayer.a hw/kdrive/libkdrive.a hw/kdrive/linux/liblinux.a miext/shadow/libshadow.a fb/libfb.a mi/libmi.a Xext/libext.a Xext/extmod/libextmod.a XTrap/libxtrap.a randr/librandr.a render/librender.a record/librecord.a $(LINKDIR) -lXfont -lXinerama -lX11 -lXdmcp -lz -lm
     30 	$(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(DEFS) $(LDFLAGS) -o xinit init/xinit.o -lX11
     31 
     32 clean:
     33 	cd render; make clean
     34 	cd dix; make clean
     35 	cd os; make clean
     36 	cd mi; make clean
     37 	cd Xext; make clean
     38 	cd Xext/extmod; make clean
     39 	cd XTrap; make clean
     40 	cd hw/kdrive; make clean
     41 	cd hw/kdrive/linux; make clean
     42 	cd fb; make clean; cd ..
     43 	#cd hw/kdrive/vesa; make clean
     44 	cd miext/shadow; make clean
     45 	cd miext/layer; make clean
     46 	cd randr; make clean
     47 	cd hw/kdrive/fbdev; make clean
     48 	cd record; make clean
     49 	cd init; make clean
     50 	cd fonts; make clean
     51 	#rm -f Xvesa
     52 	rm -f Xfbdev
     53 	rm -f xinit
     54 install:
     55 	install -D -m 755 Xfbdev $(DESTDIR)/$(BINDIR)/Xfbdev
     56 	install -m 755 xinit $(DESTDIR)/$(BINDIR)/xinit
     57 	ln -s Xfbdev $(DESTDIR)/$(BINDIR)/X
     58 	cd fonts; for i in *.pcf fonts.alias; do install -D -m 644 $$i $(DESTDIR)/$(FONTDIR)/misc/$$i; done; cd ..
     59 	install -D -m 644 init/xinit.1 $(DESTDIR)/$(MANDIR)/man1/xinit.1
     60 	install -D -m 644 README $(DESTDIR)/$(DOCDIR)/tinyxserver/README
     61 	install -m 644 changelog $(DESTDIR)/$(DOCDIR)/tinyxserver/changelog
     62 	install -D -m 644 init/README.upstream $(DESTDIR)/$(DOCDIR)/xinit/README
     63 	install -m 644 init/ChangeLog $(DESTDIR)/$(DOCDIR)/xinit/ChangeLog
     64 	install -m 644 init/AUTHORS $(DESTDIR)/$(DOCDIR)/xinit/AUTHORS
     65 	install -m 644 init/COPYING $(DESTDIR)/$(DOCDIR)/xinit/COPYING
     66 	install -D -m 644 fonts/AUTHORS.misc $(DESTDIR)/$(DOCDIR)/font-misc-misc/AUTHORS
     67 	install -m 644 fonts/COPYING.misc $(DESTDIR)/$(DOCDIR)/font-misc-misc/COPYING
     68 	install -D -m 644 fonts/COPYING.cursor $(DESTDIR)/$(DOCDIR)/font-cursor-misc/COPYING
     69 	install -D -m 644 fonts/COPYING.alias $(DESTDIR)/$(DOCDIR)/font-alias/COPYING
     70 
     71 tarball:	clean
     72 	./make-tarball.sh
     73