source: trunk/System/Sources/libc/include/kernel/linux/sys/Makefile @ 375

Last change on this file since 375 was 375, checked in by khorben, 9 years ago

Adding Linux-specific files (for Xynth's framebuffer driver)

File size: 2.5 KB
Line 
1PREFIX  = /usr/local
2DESTDIR =
3RM      = rm -f
4MKDIR   = mkdir -p
5INSTALL = install
6INCLUDEDIR= $(PREFIX)/include
7
8
9all:
10
11clean:
12
13distclean: clean
14
15install: all
16        $(MKDIR) $(DESTDIR)$(INCLUDEDIR)/sys
17        $(INSTALL) -m 0644 kd.h $(DESTDIR)$(INCLUDEDIR)/sys/kd.h
18        $(MKDIR) $(DESTDIR)$(INCLUDEDIR)/kernel/linux/sys
19        $(INSTALL) -m 0644 ioctl.h $(DESTDIR)$(INCLUDEDIR)/kernel/linux/sys/ioctl.h
20        $(MKDIR) $(DESTDIR)$(INCLUDEDIR)/kernel/linux/sys
21        $(INSTALL) -m 0644 mman.h $(DESTDIR)$(INCLUDEDIR)/kernel/linux/sys/mman.h
22        $(MKDIR) $(DESTDIR)$(INCLUDEDIR)/kernel/linux/sys
23        $(INSTALL) -m 0644 mount.h $(DESTDIR)$(INCLUDEDIR)/kernel/linux/sys/mount.h
24        $(MKDIR) $(DESTDIR)$(INCLUDEDIR)/kernel/linux/sys
25        $(INSTALL) -m 0644 reboot.h $(DESTDIR)$(INCLUDEDIR)/kernel/linux/sys/reboot.h
26        $(MKDIR) $(DESTDIR)$(INCLUDEDIR)/kernel/linux/sys
27        $(INSTALL) -m 0644 resource.h $(DESTDIR)$(INCLUDEDIR)/kernel/linux/sys/resource.h
28        $(MKDIR) $(DESTDIR)$(INCLUDEDIR)/kernel/linux/sys
29        $(INSTALL) -m 0644 select.h $(DESTDIR)$(INCLUDEDIR)/kernel/linux/sys/select.h
30        $(MKDIR) $(DESTDIR)$(INCLUDEDIR)/kernel/linux/sys
31        $(INSTALL) -m 0644 shm.h $(DESTDIR)$(INCLUDEDIR)/kernel/linux/sys/shm.h
32        $(MKDIR) $(DESTDIR)$(INCLUDEDIR)/kernel/linux/sys
33        $(INSTALL) -m 0644 stat.h $(DESTDIR)$(INCLUDEDIR)/kernel/linux/sys/stat.h
34        $(MKDIR) $(DESTDIR)$(INCLUDEDIR)/kernel/linux/sys
35        $(INSTALL) -m 0644 time.h $(DESTDIR)$(INCLUDEDIR)/kernel/linux/sys/time.h
36        $(MKDIR) $(DESTDIR)$(INCLUDEDIR)/kernel/linux/sys
37        $(INSTALL) -m 0644 times.h $(DESTDIR)$(INCLUDEDIR)/kernel/linux/sys/times.h
38        $(MKDIR) $(DESTDIR)$(INCLUDEDIR)/kernel/linux/sys
39        $(INSTALL) -m 0644 types.h $(DESTDIR)$(INCLUDEDIR)/kernel/linux/sys/types.h
40        $(MKDIR) $(DESTDIR)$(INCLUDEDIR)/kernel/linux/sys
41        $(INSTALL) -m 0644 utsname.h $(DESTDIR)$(INCLUDEDIR)/kernel/linux/sys/utsname.h
42
43uninstall:
44        $(RM) $(DESTDIR)$(INCLUDEDIR)/sys/kd.h
45        $(RM) $(DESTDIR)$(INCLUDEDIR)/kernel/linux/sys/ioctl.h
46        $(RM) $(DESTDIR)$(INCLUDEDIR)/kernel/linux/sys/mman.h
47        $(RM) $(DESTDIR)$(INCLUDEDIR)/kernel/linux/sys/mount.h
48        $(RM) $(DESTDIR)$(INCLUDEDIR)/kernel/linux/sys/reboot.h
49        $(RM) $(DESTDIR)$(INCLUDEDIR)/kernel/linux/sys/resource.h
50        $(RM) $(DESTDIR)$(INCLUDEDIR)/kernel/linux/sys/select.h
51        $(RM) $(DESTDIR)$(INCLUDEDIR)/kernel/linux/sys/shm.h
52        $(RM) $(DESTDIR)$(INCLUDEDIR)/kernel/linux/sys/stat.h
53        $(RM) $(DESTDIR)$(INCLUDEDIR)/kernel/linux/sys/time.h
54        $(RM) $(DESTDIR)$(INCLUDEDIR)/kernel/linux/sys/times.h
55        $(RM) $(DESTDIR)$(INCLUDEDIR)/kernel/linux/sys/types.h
56        $(RM) $(DESTDIR)$(INCLUDEDIR)/kernel/linux/sys/utsname.h
57
58.PHONY: all clean distclean install uninstall
Note: See TracBrowser for help on using the repository browser.