1cf200d32Sopenharmony_ciCXX=x86_64-w64-mingw32-g++ 2cf200d32Sopenharmony_ciSTRIP=x86_64-w64-mingw32-strip 3cf200d32Sopenharmony_ciCXXFLAGS=-O2 -Wall -D_FILE_OFFSET_BITS=64 -g 4cf200d32Sopenharmony_ci#CXXFLAGS=-O2 -Wall -D_FILE_OFFSET_BITS=64 -I /usr/local/include -I/opt/local/include -g 5cf200d32Sopenharmony_ciLDFLAGS+=-static -static-libgcc -static-libstdc++ 6cf200d32Sopenharmony_ciLDLIBS+=-lrpcrt4 7cf200d32Sopenharmony_ciLIB_NAMES=guid gptpart bsd parttypes attributes crc32 mbrpart basicmbr mbr gpt support diskio diskio-windows 8cf200d32Sopenharmony_ciMBR_LIBS=support diskio diskio-windows basicmbr mbrpart 9cf200d32Sopenharmony_ciLIB_SRCS=$(NAMES:=.cc) 10cf200d32Sopenharmony_ciLIB_OBJS=$(LIB_NAMES:=.o) 11cf200d32Sopenharmony_ciMBR_LIB_OBJS=$(MBR_LIBS:=.o) 12cf200d32Sopenharmony_ciLIB_HEADERS=$(LIB_NAMES:=.h) 13cf200d32Sopenharmony_ciDEPEND= makedepend $(CFLAGS) 14cf200d32Sopenharmony_ci 15cf200d32Sopenharmony_ci# Note: cgdisk is buildable in Windows, but not in Ubuntu 20.04 or 22.04 16cf200d32Sopenharmony_ciall: gdisk sgdisk fixparts 17cf200d32Sopenharmony_ci 18cf200d32Sopenharmony_cigdisk: $(LIB_OBJS) gdisk.o gpttext.o 19cf200d32Sopenharmony_ci $(CXX) $(LIB_OBJS) gdisk.o gpttext.o $(LDFLAGS) $(LDLIBS) -o gdisk64.exe 20cf200d32Sopenharmony_ci 21cf200d32Sopenharmony_cicgdisk: $(LIB_OBJS) cgdisk.o gptcurses.o 22cf200d32Sopenharmony_ci $(CXX) $(LIB_OBJS) cgdisk.o gptcurses.o $(LDFLAGS) $(LDLIBS) -lncursesw -o cgdisk64.exe 23cf200d32Sopenharmony_ci 24cf200d32Sopenharmony_cisgdisk: $(LIB_OBJS) sgdisk.o gptcl.o 25cf200d32Sopenharmony_ci $(CXX) $(LIB_OBJS) sgdisk.o gptcl.o $(LDFLAGS) $(LDLIBS) -lpopt -lintl -liconv -o sgdisk64.exe 26cf200d32Sopenharmony_ci 27cf200d32Sopenharmony_cifixparts: $(MBR_LIB_OBJS) fixparts.o 28cf200d32Sopenharmony_ci $(CXX) $(MBR_LIB_OBJS) fixparts.o $(LDFLAGS) -o fixparts64.exe 29cf200d32Sopenharmony_ci 30cf200d32Sopenharmony_cilint: #no pre-reqs 31cf200d32Sopenharmony_ci lint $(SRCS) 32cf200d32Sopenharmony_ci 33cf200d32Sopenharmony_ciclean: #no pre-reqs 34cf200d32Sopenharmony_ci rm -f core *.o *~ gdisk64.exe cgdisk64.exe sgdisk64.exe fixparts64.exe 35cf200d32Sopenharmony_ci 36cf200d32Sopenharmony_cistrip: #no pre-reqs 37cf200d32Sopenharmony_ci $(STRIP) gdisk64.exe cgdisk64.exe sgdisk64.exe fixparts64.exe 38cf200d32Sopenharmony_ci 39cf200d32Sopenharmony_ci# what are the source dependencies 40cf200d32Sopenharmony_cidepend: $(SRCS) 41cf200d32Sopenharmony_ci $(DEPEND) $(SRCS) 42cf200d32Sopenharmony_ci 43cf200d32Sopenharmony_ci$(OBJS): 44cf200d32Sopenharmony_ci 45cf200d32Sopenharmony_ci# DO NOT DELETE 46